Document field technic_disabled_machine_name.

This commit is contained in:
SFENCE 2021-09-06 20:41:52 +02:00
parent 0cab6b3f41
commit 85841d94cb
1 changed files with 2 additions and 0 deletions

View File

@ -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.
* `<itemdef>.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.
* `<itemdef>.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.