Skip to content

Commit

Permalink
Replace "Etc." with "E.g." in api.md (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissalpS authored Aug 4, 2024
1 parent 0595196 commit f8ae905
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 f8ae905

Please sign in to comment.