| | |
| | | * `technic.is_tier_cable(nodename, tier)` |
| | | * Tells whether the node `nodename` is the cable of the tier `tier`. |
| | | * Short version of `technic.get_cable_tier(nodename) == tier` |
| | | * `technic.register_cable_tier(nodename, tier)` |
| | | * Register user defined cable to list of known tier cables. |
| | | * `nodename`: string, name of the node |
| | | * `tier`: string, tier name |
| | | |
| | | |
| | | ## Machines |
| | |
| | | * If `technic.power_tools[itemstack:get_name()]` is `nil` (or `false`), this |
| | | function does nothing, else that value is the maximum charge. |
| | | * The itemstack metadata is changed to contain the charge. |
| | | * `technic.get_charge(itemstack)` |
| | | * Returns the charge and max charge of the given itemstack. |
| | | * If the itemstack is not an RE chargeable item, both return values will be zero. |
| | | * `technic.set_charge(itemstack, charge)` |
| | | * Modifies the charge of the given itemstack. |
| | | |
| | | ### Node-specific |
| | | * `technic.get_or_load_node(pos)` |