mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-16 23:40:41 +01:00
Document tehcnic_on_disable callback.
This commit is contained in:
parent
343b47b880
commit
0cab6b3f41
|
@ -140,6 +140,9 @@ 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_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.
|
||||
|
||||
## Node Metadata fields
|
||||
Nodes connected to the network will have one or more of these parameters as meta
|
||||
|
|
Loading…
Reference in New Issue
Block a user