aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/testentities
diff options
context:
space:
mode:
authorHybridDog <3192173+HybridDog@users.noreply.github.com>2020-09-01 08:08:18 +0200
committerGitHub <noreply@github.com>2020-09-01 08:08:18 +0200
commitf5df70764d560addf747c707c8f9db7f5b0aea4e (patch)
treee6986d0cbea46d91513d12d57f22e4634abeead0 /games/devtest/mods/testentities
parentd3d218940bfbe7b0ac8edb280c7487b0a65c736e (diff)
downloadminetest-f5df70764d560addf747c707c8f9db7f5b0aea4e.tar.gz
minetest-f5df70764d560addf747c707c8f9db7f5b0aea4e.tar.bz2
minetest-f5df70764d560addf747c707c8f9db7f5b0aea4e.zip
[2] Code cleanup in serverpackethandler (#9349)
* Code cleanup in serverpackethandler * do not define p_under unless a node is pointed * use switch-case and reduce indentation
Diffstat (limited to 'games/devtest/mods/testentities')
0 files changed, 0 insertions, 0 deletions
-0.5, 0.5, 0, 0.5}, {-0.5, 0, 0, 0.5, 0.5, 0.5}, }, }, }) end -- Node will be called stairs:slab_<subname> function stairs.register_slab(subname, recipeitem, groups, images, description) minetest.register_node(":stairs:slab_" .. subname, { description = description, drawtype = "nodebox", tiles = images, paramtype = "light", is_ground_content = true, groups = groups, node_box = { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, }, selection_box = { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, },