diff options
Diffstat (limited to 'extranodes')
-rw-r--r-- | extranodes/init.lua | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/extranodes/init.lua b/extranodes/init.lua index 3526f48..3d4f80d 100644 --- a/extranodes/init.lua +++ b/extranodes/init.lua @@ -198,6 +198,92 @@ minetest.register_craft({ recipe = "technic:graphite" }) + +-- bouncy-bouncy + +minetest.register_craftitem(":technic:latex_foam", { + description = "Latex Foam", + inventory_image = "technic_latex_foam.png", +}) + +minetest.register_node(":technic:fall_dampener_50", { + description = S("Fall Dampener 50%"), + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = {-0.5,-0.5,-0.5,0.5,0,0.5} + }, + collision_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} + }, + tiles = { "technic_fall_dampener_top.png", + "technic_fall_dampener_bottom.png", + "technic_fall_dampener_side.png", + "technic_fall_dampener_side.png", + "technic_fall_dampener_side.png", + "technic_fall_dampener_side.png"}, + groups = {crumbly = 3, fall_damage_add_percent = -50}, + sounds = default.node_sound_dirt_defaults(), +}) + +minetest.register_node(":technic:fall_dampener_100", { + description = S("Fall Dampener 100%"), + drawtype = "normal", + tiles = {"technic_fall_dampener_top.png", + "technic_fall_dampener_bottom.png", + "technic_fall_dampener_side.png", + "technic_fall_dampener_side.png", + "technic_fall_dampener_side.png", + "technic_fall_dampener_side.png"}, + groups = {crumbly = 3, fall_damage_add_percent = -100}, + sounds = default.node_sound_dirt_defaults(), +}) + +minetest.register_node(":technic:trampoline", { + drawtype = "normal", + tiles = {"technic_trampoline_top.png", + "technic_fall_dampener_bottom.png", -- cost cuts + "technic_trampoline_side.png", + "technic_trampoline_side.png", + "technic_trampoline_side.png", + "technic_trampoline_side.png"}, + description = S("Trampoline"), + groups = {crumbly = 3, bouncy = 100, fall_damage_add_percent = -100}, + sounds = {footstep = {name = "trampoline_boing", gain = 1.0}} +}) + +minetest.register_craft({ + output = "technic:fall_dampener_50", + recipe = { + { "", "", ""}, + { "technic:raw_latex", "technic:raw_latex", "technic:raw_latex"}, + { "technic:latex_foam", "technic:latex_foam", "technic:latex_foam"}, + } +}) + +minetest.register_craft({ + output = "technic:fall_dampener_100", + recipe = { + { "technic:raw_latex", "technic:raw_latex", "technic:raw_latex"}, + { "technic:latex_foam", "technic:latex_foam", "technic:latex_foam"}, + { "technic:latex_foam", "technic:latex_foam", "technic:latex_foam"}, + } +}) + +minetest.register_craft({ + output = "technic:trampoline", + recipe = { + { "dye:green", "dye:green", "dye:green"}, + { "technic:rubber", "technic:rubber", "technic:rubber"}, + { "technic:rubber", "technic:rubber", "technic:rubber"}, + } +}) + -- aspirin -- makes any sence only when there is hunger as a separate status of the player |