summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extranodes/init.lua86
-rw-r--r--technic/machines/LV/cnc_nodes.lua7
-rw-r--r--technic/machines/LV/geothermal.lua10
-rw-r--r--technic/machines/MV/init.lua4
-rw-r--r--technic/machines/register/alloy_recipes.lua1
-rw-r--r--technic/machines/register/compressor_recipes.lua16
-rw-r--r--technic/sounds/trampoline_boing.oggbin0 -> 7565 bytes
-rw-r--r--technic/textures/technic_fall_dampener_bottom.pngbin0 -> 263 bytes
-rw-r--r--technic/textures/technic_fall_dampener_side.pngbin0 -> 571 bytes
-rw-r--r--technic/textures/technic_fall_dampener_top.pngbin0 -> 629 bytes
-rw-r--r--technic/textures/technic_latex_foam.pngbin0 -> 3841 bytes
-rw-r--r--technic/textures/technic_trampoline_side.pngbin0 -> 628 bytes
-rw-r--r--technic/textures/technic_trampoline_top.pngbin0 -> 625 bytes
13 files changed, 117 insertions, 7 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/LV/cnc_nodes.lua b/technic/machines/LV/cnc_nodes.lua
index 2440702..6463c62 100644
--- a/technic/machines/LV/cnc_nodes.lua
+++ b/technic/machines/LV/cnc_nodes.lua
@@ -316,6 +316,13 @@ if minetest.get_modpath("ethereal") then
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
{"redwood_wood.png"},
S("Redwood"))
+
+ -- Glorious bamboo
+ -------------------
+ technic.cnc.register_all("ethereal:bamboo_floor",
+ {snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
+ {"bamboo_floor.png"},
+ S("Bamboo"))
end
diff --git a/technic/machines/LV/geothermal.lua b/technic/machines/LV/geothermal.lua
index 27f4abc..3282fb8 100644
--- a/technic/machines/LV/geothermal.lua
+++ b/technic/machines/LV/geothermal.lua
@@ -1,7 +1,7 @@
-- A geothermal EU generator
-- Using hot lava and water this device can create energy from steam
-- The machine is only producing LV EUs and can thus not drive more advanced equipment
--- The output is a little more than the coal burning generator (max 300EUs)
+-- The output is 4 times that of the coal burning generator (max 800EUs)
minetest.register_alias("geothermal", "technic:geothermal")
@@ -56,10 +56,10 @@ local run = function(pos, node)
if check == 2 then lava_nodes = lava_nodes + 1 end
end
- if water_nodes == 1 and lava_nodes == 1 then production_level = 25; eu_supply = 50 end
- if water_nodes == 2 and lava_nodes == 1 then production_level = 50; eu_supply = 100 end
- if water_nodes == 1 and lava_nodes == 2 then production_level = 75; eu_supply = 200 end
- if water_nodes == 2 and lava_nodes == 2 then production_level = 100; eu_supply = 300 end
+ if water_nodes == 1 and lava_nodes == 1 then production_level = 25; eu_supply = 200 end
+ if water_nodes == 2 and lava_nodes == 1 then production_level = 50; eu_supply = 400 end
+ if water_nodes == 1 and lava_nodes == 2 then production_level = 75; eu_supply = 600 end
+ if water_nodes == 2 and lava_nodes == 2 then production_level = 100; eu_supply = 800 end
if production_level > 0 then
meta:set_int("LV_EU_supply", eu_supply)
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/machines/register/compressor_recipes.lua b/technic/machines/register/compressor_recipes.lua
index c0f6c49..c40530f 100644
--- a/technic/machines/register/compressor_recipes.lua
+++ b/technic/machines/register/compressor_recipes.lua
@@ -21,9 +21,25 @@ local recipes = {
{"technic:diamond_seed 25", "default:diamond"}
}
+
+-- compressing most copious leaves into more compact fuel
+-- this conversion is based on the burn time (1 vs. 10) + some overhead
+table.insert(recipes, {"default:acacia_leaves 15", "ethereal:charcoal_lump 1"})
+table.insert(recipes, {"default:aspen_leaves 15", "ethereal:charcoal_lump 1"})
+table.insert(recipes, {"default:leaves 15", "ethereal:charcoal_lump 1"})
+table.insert(recipes, {"default:jungleleaves 15", "ethereal:charcoal_lump 1"})
+
if minetest.get_modpath("ethereal") then
-- the density of charcoal is ~1/10 of coal, otherwise it's pure carbon
table.insert(recipes, {"ethereal:charcoal_lump 10", "default:coal_lump 1"})
+ -- + some leaves which are most often left over in large amounts
+ table.insert(recipes, {"ethereal:willow_twig 15", "ethereal:charcoal_lump 1"})
+ table.insert(recipes, {"ethereal:redwood_leaves 15", "ethereal:charcoal_lump 1"})
+ table.insert(recipes, {"ethereal:frost_leaves 15", "ethereal:charcoal_lump 1"})
+ table.insert(recipes, {"ethereal:yellowleaves 15", "ethereal:charcoal_lump 1"})
+ table.insert(recipes, {"ethereal:birch_leaves 15", "ethereal:charcoal_lump 1"})
+ table.insert(recipes, {"ethereal:bamboo_leaves 15", "ethereal:charcoal_lump 1"})
+ table.insert(recipes, {"ethereal:orange_leaves 15", "ethereal:charcoal_lump 1"})
end
diff --git a/technic/sounds/trampoline_boing.ogg b/technic/sounds/trampoline_boing.ogg
new file mode 100644
index 0000000..fb541d4
--- /dev/null
+++ b/technic/sounds/trampoline_boing.ogg
Binary files differ
diff --git a/technic/textures/technic_fall_dampener_bottom.png b/technic/textures/technic_fall_dampener_bottom.png
new file mode 100644
index 0000000..993aed1
--- /dev/null
+++ b/technic/textures/technic_fall_dampener_bottom.png
Binary files differ
diff --git a/technic/textures/technic_fall_dampener_side.png b/technic/textures/technic_fall_dampener_side.png
new file mode 100644
index 0000000..3a7a67c
--- /dev/null
+++ b/technic/textures/technic_fall_dampener_side.png
Binary files differ
diff --git a/technic/textures/technic_fall_dampener_top.png b/technic/textures/technic_fall_dampener_top.png
new file mode 100644
index 0000000..59b1b2b
--- /dev/null
+++ b/technic/textures/technic_fall_dampener_top.png
Binary files differ
diff --git a/technic/textures/technic_latex_foam.png b/technic/textures/technic_latex_foam.png
new file mode 100644
index 0000000..aebabb4
--- /dev/null
+++ b/technic/textures/technic_latex_foam.png
Binary files differ
diff --git a/technic/textures/technic_trampoline_side.png b/technic/textures/technic_trampoline_side.png
new file mode 100644
index 0000000..441f81b
--- /dev/null
+++ b/technic/textures/technic_trampoline_side.png
Binary files differ
diff --git a/technic/textures/technic_trampoline_top.png b/technic/textures/technic_trampoline_top.png
new file mode 100644
index 0000000..6a609cc
--- /dev/null
+++ b/technic/textures/technic_trampoline_top.png
Binary files differ