mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
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