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.
|
* This function is currently used to update the node.
|
||||||
Modders have to manually change the information about supply etc. in the
|
Modders have to manually change the information about supply etc. in the
|
||||||
node metadata.
|
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
|
## Node Metadata fields
|
||||||
Nodes connected to the network will have one or more of these parameters as meta
|
Nodes connected to the network will have one or more of these parameters as meta
|
||||||
|
|
Loading…
Reference in New Issue