summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@linuxworks.belug.de>2018-03-04 10:50:00 +0100
committerroot <root@linuxworks.belug.de>2018-03-04 10:50:00 +0100
commitc19005abd5534ab0e3ba2a29f413a36d15cd883e (patch)
tree15250d6d0a8518dd67de0fef4350d28525c41d98
parentbec61e67ac4375763f9a8be96f8ad3f869ed83a3 (diff)
parent5fce723f2a469de7fafa3be31f9ca00f9d3c3e5c (diff)
Merge https://github.com/h-v-smacker/technic
-rw-r--r--extranodes/init.lua1
-rw-r--r--technic/machines/MV/centrifuge.lua2
-rw-r--r--technic/machines/register/centrifuge_recipes.lua8
-rw-r--r--technic/machines/register/grinder_recipes.lua2
4 files changed, 12 insertions, 1 deletions
diff --git a/extranodes/init.lua b/extranodes/init.lua
index 5ed5f5f..3526f48 100644
--- a/extranodes/init.lua
+++ b/extranodes/init.lua
@@ -107,6 +107,7 @@ local iclip_def = {
drawtype = "mesh",
mesh = "technic_insulator_clip.obj",
tiles = {"technic_insulator_clip.png"},
+ paramtype2 = "facedir",
is_ground_content = false,
groups = {choppy=1, snappy=1, oddly_breakable_by_hand=1 },
sounds = default.node_sound_stone_defaults(),
diff --git a/technic/machines/MV/centrifuge.lua b/technic/machines/MV/centrifuge.lua
index a0aad64..d386265 100644
--- a/technic/machines/MV/centrifuge.lua
+++ b/technic/machines/MV/centrifuge.lua
@@ -9,7 +9,7 @@ minetest.register_craft({
technic.register_centrifuge({
tier = "MV",
- demand = { 8000, 7000, 6000 },
+ demand = { 8000, 6500, 5000 },
speed = 2,
upgrade = 1,
tube = 1,
diff --git a/technic/machines/register/centrifuge_recipes.lua b/technic/machines/register/centrifuge_recipes.lua
index 6b887fa..fb16d0c 100644
--- a/technic/machines/register/centrifuge_recipes.lua
+++ b/technic/machines/register/centrifuge_recipes.lua
@@ -43,6 +43,14 @@ if minetest.get_modpath("farming") then
end
end
+-- using centfuge as a sorting machine for grass seeds
+table.insert(recipes, { "default:grass_1 99", "default:dry_grass_1 80", "default:dry_shrub 7", "default:junglegrass 12" })
+if minetest.get_modpath("ethereal") then
+ table.insert(recipes, { "default:junglegrass 99", "ethereal:dry_shrub 10", "ethereal:crystalgrass 5", "ethereal:snowygrass 5" })
+ table.insert(recipes, { "default:dry_grass_1 99", "ethereal:fern 5" })
+end
+
+
for _, data in pairs(recipes) do
technic.register_separating_recipe({ input = { data[1] }, output = { data[2], data[3], data[4] } })
end
diff --git a/technic/machines/register/grinder_recipes.lua b/technic/machines/register/grinder_recipes.lua
index 496e132..db5449a 100644
--- a/technic/machines/register/grinder_recipes.lua
+++ b/technic/machines/register/grinder_recipes.lua
@@ -22,6 +22,8 @@ local recipes = {
{"technic:sulfur_lump", "technic:sulfur_dust 2"},
{"default:stone", "technic:stone_dust"},
{"default:sand", "technic:stone_dust"},
+ -- recycle glass panels
+ {"xpanes:pane_flat 8", "vessels:glass_fragments 3"},
-- Other
{"default:cobble", "default:gravel"},