From 85841d94cbde36f484af42ad1f79b3216159d805 Mon Sep 17 00:00:00 2001 From: SFENCE Date: Mon, 6 Sep 2021 20:41:52 +0200 Subject: [PATCH] Document field technic_disabled_machine_name. --- technic/doc/api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/technic/doc/api.md b/technic/doc/api.md index 450958b..371890d 100644 --- a/technic/doc/api.md +++ b/technic/doc/api.md @@ -140,6 +140,8 @@ Additional definition fields: * This function is currently used to update the node. Modders have to manually change the information about supply etc. in the node metadata. +* `.technic_disabled_machine_name = "string"` + * If this field is defined and machine is not connected to network, node will be swaped to node with name defined in this field. * `.technic_on_disable(pos, node)` * This function is currently used to update the node when node is not connected to technic power network. Modders can use this to do some machine specific operations when no network is aviable.