From d931f190077196f02e997aa86d4559e7648a7a0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Mon, 6 Jun 2016 20:12:58 +0200 Subject: [PATCH] Added saveConfiguration to manual. --- .../assets/opencomputers/doc/en_US/item/nanomachines.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/assets/opencomputers/doc/en_US/item/nanomachines.md b/src/main/resources/assets/opencomputers/doc/en_US/item/nanomachines.md index eff8bfbe8..ac87a14e9 100644 --- a/src/main/resources/assets/opencomputers/doc/en_US/item/nanomachines.md +++ b/src/main/resources/assets/opencomputers/doc/en_US/item/nanomachines.md @@ -27,6 +27,7 @@ Nanomachines react to a simple, proprietary protocol: each packet must consist o - `getInput(index:number)` - Request the current state of the input with the specified index. - `setInput(index:number, value:boolean)` - Set the state of the input with the specified index to the specified value. - `getActiveEffects()` - Request a list of active effects. Note that some effects may not show up in this list. +- `saveConfiguration()` - Requires a set of nanomachines in the players inventory, will store the current configuration to it. For example, in OpenOS: - `component.modem.broadcast(1, "nanomachines", "setInput", 1, true)` will enable the first input.