We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
api.md
1 parent 0595196 commit f8ae905Copy full SHA for f8ae905
technic/doc/api.md
@@ -63,7 +63,7 @@ Power tool API
63
* `technic_get_charge = function(itemstack) ...`:
64
* Callback will be used to get itemstack charge and max\_charge.
65
* Have to return values `charge, max_charge`.
66
- * Etc. `local charge, maxcharge = itemdef.technic_get_charge(itemstack)`.
+ * E.g. `local charge, maxcharge = itemdef.technic_get_charge(itemstack)`.
67
* Defaults to `technic.get_RE_charge` which handles tool wear and charge values.
68
* `technic_set_charge = function(itemstack, charge) ...`:
69
* Callback will be used to set itemstack charge.
0 commit comments