From 8f6f3d24f28ec6f129da7a5ef18b58a3973a8aa5 Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Thu, 5 Jul 2018 01:57:29 +0300 Subject: orientable trampolines --- extranodes/trampoline.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'extranodes/trampoline.lua') 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", }) -- cgit v1.2.3