diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-07-05 01:57:29 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-07-05 01:57:29 +0300 |
commit | 8f6f3d24f28ec6f129da7a5ef18b58a3973a8aa5 (patch) | |
tree | b05e2ecd6f46d85eaeb298164b36dcd961988bc4 /extranodes/trampoline.lua | |
parent | 783385120c5c7e41be8ab95cfa1c4ea10cc8aa21 (diff) |
orientable trampolines
Diffstat (limited to 'extranodes/trampoline.lua')
-rw-r--r-- | extranodes/trampoline.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extranodes/trampoline.lua b/extranodes/trampoline.lua index d36e356..5616a73 100644 --- a/extranodes/trampoline.lua +++ b/extranodes/trampoline.lua @@ -35,6 +35,7 @@ minetest.register_node(":technic:fall_dampener_50", { "technic_fall_dampener_side.png"}, groups = {crumbly = 3, fall_damage_add_percent = -50}, sounds = default.node_sound_dirt_defaults(), + paramtype2 = "facedir", }) minetest.register_node(":technic:fall_dampener_100", { @@ -48,6 +49,7 @@ minetest.register_node(":technic:fall_dampener_100", { "technic_fall_dampener_side.png"}, groups = {crumbly = 3, fall_damage_add_percent = -100}, sounds = default.node_sound_dirt_defaults(), + paramtype2 = "facedir", }) minetest.register_node(":technic:trampoline", { @@ -60,7 +62,8 @@ minetest.register_node(":technic:trampoline", { "technic_trampoline_side.png", "technic_trampoline_side.png"}, groups = {crumbly = 3, bouncy = 100, fall_damage_add_percent = -100}, - sounds = {footstep = {name = "trampoline_boing", gain = 1.0}} + sounds = {footstep = {name = "trampoline_boing", gain = 1.0}}, + paramtype2 = "facedir", }) |