diff options
| -rw-r--r-- | extranodes/init.lua | 86 | ||||
| -rw-r--r-- | technic/machines/MV/init.lua | 4 | ||||
| -rw-r--r-- | technic/machines/register/alloy_recipes.lua | 1 | ||||
| -rw-r--r-- | technic/sounds/trampoline_boing.ogg | bin | 0 -> 7565 bytes | |||
| -rw-r--r-- | technic/textures/technic_fall_dampener_bottom.png | bin | 0 -> 263 bytes | |||
| -rw-r--r-- | technic/textures/technic_fall_dampener_side.png | bin | 0 -> 571 bytes | |||
| -rw-r--r-- | technic/textures/technic_fall_dampener_top.png | bin | 0 -> 629 bytes | |||
| -rw-r--r-- | technic/textures/technic_latex_foam.png | bin | 0 -> 3841 bytes | |||
| -rw-r--r-- | technic/textures/technic_trampoline_side.png | bin | 0 -> 628 bytes | |||
| -rw-r--r-- | technic/textures/technic_trampoline_top.png | bin | 0 -> 625 bytes | 
10 files changed, 89 insertions, 2 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 diff --git a/technic/machines/MV/init.lua b/technic/machines/MV/init.lua index 72a98b6..66e2d45 100644 --- a/technic/machines/MV/init.lua +++ b/technic/machines/MV/init.lua @@ -27,6 +27,6 @@ dofile(path.."/tool_workshop.lua")  -- The power radiator supplies appliances with inductive coupled power:  -- Lighting and associated textures is taken directly from VanessaE's homedecor and made electric.  -- This is currently useless, slow, and mostly copied ---dofile(path.."/power_radiator.lua") ---dofile(path.."/lighting.lua") +-- dofile(path.."/power_radiator.lua") +-- dofile(path.."/lighting.lua") diff --git a/technic/machines/register/alloy_recipes.lua b/technic/machines/register/alloy_recipes.lua index 4b26a5a..e38c930 100644 --- a/technic/machines/register/alloy_recipes.lua +++ b/technic/machines/register/alloy_recipes.lua @@ -28,6 +28,7 @@ local recipes = {  	-- The highest volume use of carbon black is as a reinforcing filler in rubber products, especially tires.  	-- "[Compounding a] pure gum vulcanizate … with 50% of its weight of carbon black improves its tensile strength and wear resistance …"   	{"technic:raw_latex 4",           "technic:coal_dust 2",        "technic:rubber 6", 2}, +	{"technic:raw_latex 3",           "technic:sulfur_dust 1",      "technic:latex_foam", 2},  }  if minetest.get_modpath("ethereal") then diff --git a/technic/sounds/trampoline_boing.ogg b/technic/sounds/trampoline_boing.ogg Binary files differnew file mode 100644 index 0000000..fb541d4 --- /dev/null +++ b/technic/sounds/trampoline_boing.ogg diff --git a/technic/textures/technic_fall_dampener_bottom.png b/technic/textures/technic_fall_dampener_bottom.png Binary files differnew file mode 100644 index 0000000..993aed1 --- /dev/null +++ b/technic/textures/technic_fall_dampener_bottom.png diff --git a/technic/textures/technic_fall_dampener_side.png b/technic/textures/technic_fall_dampener_side.png Binary files differnew file mode 100644 index 0000000..3a7a67c --- /dev/null +++ b/technic/textures/technic_fall_dampener_side.png diff --git a/technic/textures/technic_fall_dampener_top.png b/technic/textures/technic_fall_dampener_top.png Binary files differnew file mode 100644 index 0000000..59b1b2b --- /dev/null +++ b/technic/textures/technic_fall_dampener_top.png diff --git a/technic/textures/technic_latex_foam.png b/technic/textures/technic_latex_foam.png Binary files differnew file mode 100644 index 0000000..aebabb4 --- /dev/null +++ b/technic/textures/technic_latex_foam.png diff --git a/technic/textures/technic_trampoline_side.png b/technic/textures/technic_trampoline_side.png Binary files differnew file mode 100644 index 0000000..441f81b --- /dev/null +++ b/technic/textures/technic_trampoline_side.png diff --git a/technic/textures/technic_trampoline_top.png b/technic/textures/technic_trampoline_top.png Binary files differnew file mode 100644 index 0000000..6a609cc --- /dev/null +++ b/technic/textures/technic_trampoline_top.png  | 
