Fix trivial get_armor_groups documentation issue (#12760)

This commit is contained in:
wsor4035 2022-09-12 13:25:25 -04:00 committed by GitHub
parent bc3dccca5c
commit 482cc99b2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1783,8 +1783,8 @@ For entities, groups are, as of now, used only for calculating damage.
The rating is the percentage of damage caused by items with this damage group.
See [Entity damage mechanism].
object.get_armor_groups() --> a group-rating table (e.g. {fleshy=100})
object.set_armor_groups({fleshy=30, cracky=80})
object:get_armor_groups() --> a group-rating table (e.g. {fleshy=100})
object:set_armor_groups({fleshy=30, cracky=80})
Groups of tool capabilities
---------------------------