Skip to content

Commit

Permalink
Etc. -> E.g.
Browse files Browse the repository at this point in the history
The way I see this, it's an example not etcetera.
  • Loading branch information
SwissalpS authored Aug 3, 2024
1 parent 0595196 commit ac6ab5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion technic/doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Power tool API
* `technic_get_charge = function(itemstack) ...`:
* Callback will be used to get itemstack charge and max\_charge.
* Have to return values `charge, max_charge`.
* Etc. `local charge, maxcharge = itemdef.technic_get_charge(itemstack)`.
* E.g. `local charge, maxcharge = itemdef.technic_get_charge(itemstack)`.
* Defaults to `technic.get_RE_charge` which handles tool wear and charge values.
* `technic_set_charge = function(itemstack, charge) ...`:
* Callback will be used to set itemstack charge.
Expand Down

0 comments on commit ac6ab5e

Please sign in to comment.