mirror of
https://github.com/sirrobzeroone/elepower.git
synced 2024-08-20 12:54:05 +02:00
Alpha 7
This commit is contained in:
parent
b8aa8d735f
commit
aa43ab2ca6
@ -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"}
|
||||
}
|
||||
})
|
||||
|
@ -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}
|
||||
})
|
||||
|
@ -2,7 +2,7 @@ elepower_papi
|
||||
elepower_fapi
|
||||
default
|
||||
fluid_tanks
|
||||
dye
|
||||
dye?
|
||||
moreores?
|
||||
pipeworks?
|
||||
homedecor?
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,4 @@
|
||||
|
||||
local easycrafting = minetest.settings:get("elepower_easy_crafting") == true
|
||||
|
||||
--------------
|
||||
-- Worldgen --
|
||||
--------------
|
||||
@ -66,40 +64,38 @@ minetest.register_ore({
|
||||
|
||||
-- Viridisium
|
||||
|
||||
if not easycrafting then
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "elepower_dynamics:stone_with_viridisium",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 25 * 25 * 25,
|
||||
clust_num_ores = 5,
|
||||
clust_size = 3,
|
||||
y_max = -1028,
|
||||
y_min = -31000,
|
||||
})
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "elepower_dynamics:stone_with_viridisium",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 25 * 25 * 25,
|
||||
clust_num_ores = 5,
|
||||
clust_size = 3,
|
||||
y_max = -1028,
|
||||
y_min = -31000,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "elepower_dynamics:stone_with_viridisium",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 20 * 20 * 20,
|
||||
clust_num_ores = 5,
|
||||
clust_size = 3,
|
||||
y_max = -8096,
|
||||
y_min = -31000,
|
||||
})
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "elepower_dynamics:stone_with_viridisium",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 20 * 20 * 20,
|
||||
clust_num_ores = 5,
|
||||
clust_size = 3,
|
||||
y_max = -8096,
|
||||
y_min = -31000,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "elepower_dynamics:stone_with_viridisium",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 10 * 10 * 10,
|
||||
clust_num_ores = 5,
|
||||
clust_size = 3,
|
||||
y_max = -12000,
|
||||
y_min = -31000,
|
||||
})
|
||||
end
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "elepower_dynamics:stone_with_viridisium",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 10 * 10 * 10,
|
||||
clust_num_ores = 5,
|
||||
clust_size = 3,
|
||||
y_max = -12000,
|
||||
y_min = -31000,
|
||||
})
|
||||
|
||||
-- Zinc
|
||||
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
recipe = { "elepower_dynamics:viridisium_block 9" },
|
||||
output = "elepower_dynamics:xycrone_lump",
|
||||
time = 20,
|
||||
})
|
||||
|
||||
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"},
|
||||
}
|
||||
|
@ -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"},
|
||||
}
|
||||
})
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user