forked from Mirrorlandia_minetest/minetest
Fix trivial get_armor_groups documentation issue (#12760)
This commit is contained in:
parent
bc3dccca5c
commit
482cc99b2c
@ -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…
Reference in New Issue
Block a user