1
0
Fork 0
Commit Graph

5 Commits (132529d8f41575f6280a033f03ffc4cd480cdfd9)

Author SHA1 Message Date
kabou a9a3f01a0e Tiny comment fix. 2022-03-19 03:16:15 +01:00
kabou 8518ce2c19 Add support for `group:supported_node`
* Add support for `group:supported_node` to CORE/mcl_attached.
  Supported nodes are nodes that can be placed on any node that does not
  have the `drawtype = "airlike"` attribute.
* Copy the `drop_attached_node()` function from minetest/builtin, so
  that the override function provides the same behavior when nodes drop.
* Add comments to CORE/mcl_attached and to the functions defined in it.
* Add more local aliases for global minetest.* functions.
* If the original function returns true, it is not necessary anymore
  to perform more tests and the override function can simply return true
  immediately.
2022-03-19 02:32:13 +01:00
AFCMS 9e074af07f unify code style [1] 2021-05-25 12:52:25 +02:00
Wuzzy 98e87fd5db mcl_attached: Check if dir is nil 2020-02-23 20:37:42 +01:00
Wuzzy 1505290e24 New way to attach node: attached_node_facedir 2018-01-08 20:10:44 +01:00