Update api.md

Documented technic.register_group_resistance function
This commit is contained in:
DustyDave961 2024-10-19 02:46:10 -05:00 committed by GitHub
parent 9eb7d0e784
commit 8ad1f58cd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -149,6 +149,10 @@ Unsorted functions:
* Sets the radiation resistance of the given node. * Sets the radiation resistance of the given node.
* `node_name`: name of the node * `node_name`: name of the node
* `resistance`: number, radiation resistance of the node * `resistance`: number, radiation resistance of the node
* `technic.register_group_resistance(group_name, resistance)`
* Sets the radiation resistance of the given group of nodes.
* `group_name`: name of the group
* `resistance`: number, radiation resistance of the group
### Energy modifiers ### Energy modifiers
* `technic.set_RE_wear(itemstack, item_load, max_charge)` * `technic.set_RE_wear(itemstack, item_load, max_charge)`