summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic/machines/LV/geothermal.lua10
-rw-r--r--technic/machines/register/compressor_recipes.lua16
2 files changed, 21 insertions, 5 deletions
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/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