toolcap_monoids/README.md

24 lines
898 B
Markdown
Raw Permalink Normal View History

2023-03-11 20:37:28 -08:00
# toolcap_monoids
2023-04-07 17:17:10 -07:00
an API to allow multiple sources to apply changes to a tools's capabilities.
2023-03-11 20:37:28 -08:00
2023-04-07 17:17:10 -07:00
### `toolcap_monoids.full_punch`
2023-03-11 20:37:28 -08:00
modifies the "full punch" interval. multiplicative. values > 1 will increase time between full punches,
< 1 will decrease the same.
2023-04-07 17:17:10 -07:00
### `toolcap_monoids.dig_speed`
2023-03-11 20:37:28 -08:00
modifies dig times. multiplicative. values > 1 will increase dig time, < 1 will decrease dig time.
values can also be tables mapping specific groupcaps to specific multipliers.
2023-04-07 17:17:10 -07:00
### `toolcap_monoids.durability`
2023-03-11 20:37:28 -08:00
modifies tool uses. multiplicative. values > 1 will increase durability, < 1 will decrease durability.
values can also be tables mapping specific groupcaps to specific multipliers.
2023-04-07 17:17:10 -07:00
### `toolcap_monoids.damage`
2023-03-11 20:37:28 -08:00
modifies tool damage groups. *additive*, not multiplicative.
values must be tables mapping damage groups to the increase (or decrease) in damage for that group.