mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix trivial get_armor_groups documentation issue (#12760)
This commit is contained in:
parent
bc3dccca5c
commit
482cc99b2c
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
The rating is the percentage of damage caused by items with this damage group.
|
||||||
See [Entity damage mechanism].
|
See [Entity damage mechanism].
|
||||||
|
|
||||||
object.get_armor_groups() --> a group-rating table (e.g. {fleshy=100})
|
object:get_armor_groups() --> a group-rating table (e.g. {fleshy=100})
|
||||||
object.set_armor_groups({fleshy=30, cracky=80})
|
object:set_armor_groups({fleshy=30, cracky=80})
|
||||||
|
|
||||||
Groups of tool capabilities
|
Groups of tool capabilities
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue