mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 14:01:07 +01:00
add some extra function to doc
This commit is contained in:
parent
8ef8cdb03a
commit
c383d300e1
1 changed files with 4 additions and 0 deletions
|
@ -10,3 +10,7 @@ Register damage modifier.
|
||||||
* priority: int, define call order of registered functions
|
* priority: int, define call order of registered functions
|
||||||
|
|
||||||
You should make use higher values for important or most used functions.
|
You should make use higher values for important or most used functions.
|
||||||
|
|
||||||
|
## mcl_damage.from_mt(mt_reason)
|
||||||
|
Convert mt damage reason (nil, fall, drown, punch, node_damage) to mc like reason.
|
||||||
|
* mt_reason: table, mt damage reason
|
Loading…
Reference in a new issue