1
0
Fork 0
Commit Graph

7 Commits (hollow_logs)

Author SHA1 Message Date
AFCMS 9f16bfe6c5 mcl_attached fixes
- deprecated usage of vector.new()
- use new vectors everywhere
- use `minetest` instead of `core`
- make some more functions local
2022-10-23 18:39:08 +02:00
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
Elias Fleckenstein d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01: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