This commit is contained in:
Evert Prants 2018-09-14 17:29:34 +03:00
parent b8aa8d735f
commit aa43ab2ca6
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
9 changed files with 52 additions and 64 deletions

View File

@ -198,7 +198,7 @@ minetest.register_craft({
output = "elepower_dynamics:chip 6",
recipe = {
{"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"},
{"default:mese_crystal", "dye:black", "default:mese_crystal"},
{"default:mese_crystal", "group:color_black", "default:mese_crystal"},
{"default:copper_ingot", "moreores:silver_ingot", "default:copper_ingot"},
}
})
@ -208,7 +208,7 @@ minetest.register_craft({
recipe = {
{"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"},
{"moreores:silver_ingot", "default:mese_crystal", "moreores:silver_ingot"},
{"default:copper_ingot", "dye:violet", "default:copper_ingot"},
{"default:copper_ingot", "group:color_violet", "default:copper_ingot"},
}
})
@ -292,7 +292,7 @@ minetest.register_craft({
minetest.register_craft({
output = "elepower_dynamics:lcd_panel",
recipe = {
{"dye:red", "dye:green", "dye:blue"},
{"group:color_red", "group:color_green", "group:color_blue"},
{"moreores:silver_ingot", "elepower_dynamics:wound_copper_coil", "moreores:silver_ingot"},
{"", "default:meselamp", ""}
}
@ -302,7 +302,7 @@ minetest.register_craft({
output = "elepower_dynamics:pv_cell",
recipe = {
{"group:glass", "group:glass", "group:glass"},
{"dye:blue", "elepower_dynamics:silicon_wafer_doped", "dye:blue"},
{"group:color_blue", "elepower_dynamics:silicon_wafer_doped", "group:color_blue"},
{"default:mese_crystal_fragment", "elepower_dynamics:wound_copper_coil", "default:mese_crystal_fragment"}
}
})

View File

@ -112,7 +112,7 @@ minetest.register_craftitem("elepower_dynamics:silicon_wafer", {
})
minetest.register_craftitem("elepower_dynamics:silicon_wafer_doped", {
description = "Doped Silicon Wafer\nFor Solar Panel Crafting",
description = "Doped Silicon Wafer",
inventory_image = "elepower_silicon_wafer_solar.png",
groups = {wafer = 2}
})

View File

@ -2,7 +2,7 @@ elepower_papi
elepower_fapi
default
fluid_tanks
dye
dye?
moreores?
pipeworks?
homedecor?

View File

@ -1,4 +1,4 @@
name = elepower_dynamics
description = Elepower Dynamics. Conduits and materials!
depends = elepower_papi,elepower_fapi,default,fluid_tanks,dye
optional_depends = moreores,pipeworks,homedecor
depends = elepower_papi,elepower_fapi,default,fluid_tanks
optional_depends = moreores,pipeworks,homedecor,dye

View File

@ -1,6 +1,4 @@
local easycrafting = minetest.settings:get("elepower_easy_crafting") == true
--------------
-- Worldgen --
--------------
@ -66,7 +64,6 @@ minetest.register_ore({
-- Viridisium
if not easycrafting then
minetest.register_ore({
ore_type = "scatter",
ore = "elepower_dynamics:stone_with_viridisium",
@ -99,7 +96,6 @@ if not easycrafting then
y_max = -12000,
y_min = -31000,
})
end
-- Zinc

View File

@ -1,17 +1,17 @@
local tree_fluid_recipes = {
["elepower_farming:tree_sap_source"] = {
water = 100,
amount = 100,
water = 1000,
amount = 1000,
time = 5,
output = {
fluid = "elepower_farming:biomass_source",
amount = 80,
amount = 40,
},
},
["elepower_farming:resin_source"] = {
water = 100,
amount = 100,
water = 1000,
amount = 1000,
time = 5,
output = {
fluid = "elepower_farming:biomass_source",

View File

@ -197,21 +197,12 @@ for name in pairs(minetest.registered_nodes) do
end
end
if easycrafting then
elepm.register_craft({
type = "compress",
recipe = { "default:steel_block 9" },
output = "elepower_dynamics:xycrone_lump",
time = 20,
})
else
elepm.register_craft({
type = "compress",
recipe = { "elepower_dynamics:viridisium_block 9" },
output = "elepower_dynamics:xycrone_lump",
time = 20,
})
end
elepm.register_craft({
type = "compress",
@ -533,7 +524,7 @@ minetest.register_craft({
minetest.register_craft({
output = "elepower_machines:canning_machine",
recipe = {
{"elepower_dynamics:wound_copper_coil", "elepower_dynamics:tree_tap", "elepower_dynamics:wound_copper_coil"},
{"elepower_dynamics:wound_copper_coil", "elepower_machines:compressor_piston", "elepower_dynamics:wound_copper_coil"},
{"elepower_dynamics:tin_can", "elepower_machines:machine_block", "elepower_dynamics:tin_can"},
{"elepower_dynamics:steel_gear", "elepower_dynamics:tin_gear", "elepower_dynamics:steel_gear"},
}

View File

@ -5,6 +5,6 @@ minetest.register_craft({
recipe = {
{"group:glass", "elepower_dynamics:pv_cell", "group:glass"},
{"elepower_dynamics:pv_cell", "group:glass", "elepower_dynamics:pv_cell"},
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{"default:steel_ingot", "elepower_dynamics:battery", "default:steel_ingot"},
}
})

View File

@ -34,6 +34,7 @@ function elesolar.register_solar_generator(nodename, nodedef)
},
tube = false,
ele_usage = 8,
ele_capacity = 64,
on_timer = function (pos, elapsed)
local refresh = true
local meta = minetest.get_meta(pos)