mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-16 23:40:41 +01:00
Document field technic_disabled_machine_name.
This commit is contained in:
parent
0cab6b3f41
commit
85841d94cb
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user