Values adjustment

This commit is contained in:
Evert Prants 2018-09-28 19:22:02 +03:00
parent 0ec289fdc5
commit 5084213ee5
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
7 changed files with 37 additions and 26 deletions

View File

@ -195,26 +195,31 @@ for name in pairs(minetest.registered_nodes) do
end end
end end
elepm.register_craft({ local compressor_recipes = {
type = "compress", {
recipe = { "elepower_dynamics:viridisium_block 9" }, recipe = { "elepower_dynamics:viridisium_block 9" },
output = "elepower_dynamics:xycrone_lump", output = "elepower_dynamics:xycrone_lump",
time = 20, time = 20,
}) },
{
elepm.register_craft({
type = "compress",
recipe = { "default:mese_crystal_fragment 9" }, recipe = { "default:mese_crystal_fragment 9" },
output = "default:mese_crystal", output = "default:mese_crystal",
time = 1, },
}) {
elepm.register_craft({
type = "compress",
recipe = { "default:mese_crystal 9" }, recipe = { "default:mese_crystal 9" },
output = "default:mese", output = "default:mese",
time = 1, }
}
-- Register compressor recipes
for _,i in pairs(compressor_recipes) do
elepm.register_craft({
type = "compress",
recipe = i.recipe,
output = i.output,
time = i.time or 1
}) })
end
------------- -------------
-- Sawmill -- -- Sawmill --

View File

@ -165,6 +165,8 @@ ele.register_machine("elepower_machines:electrolyzer", {
}, },
groups = {fluid_container = 1, cracky = 1, ele_user = 1}, groups = {fluid_container = 1, cracky = 1, ele_user = 1},
on_timer = electrolyzer_timer, on_timer = electrolyzer_timer,
ele_usage = 128,
ele_inrush = 128,
fluid_buffers = { fluid_buffers = {
input = { input = {
accepts = {"default:water_source", "elepower_nuclear:heavy_water_source", accepts = {"default:water_source", "elepower_nuclear:heavy_water_source",

View File

@ -7,6 +7,7 @@ elepm.register_fuel_generator("elepower_machines:generator", {
description = "Coal-fired Generator", description = "Coal-fired Generator",
ele_active_node = true, ele_active_node = true,
ele_capacity = 6400, ele_capacity = 6400,
ele_usage = 16,
tiles = { tiles = {
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png", "elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_generator.png", "elepower_machine_side.png", "elepower_machine_side.png", "elepower_generator.png",

View File

@ -1,4 +1,6 @@
local SPEED = 3
local function get_formspec(item_percent) local function get_formspec(item_percent)
return "size[8,8.5]".. return "size[8,8.5]"..
default.gui_bg.. default.gui_bg..
@ -169,7 +171,7 @@ minetest.register_node("elepower_machines:crank", {
local sttm = gmeta:get_int("src_time_max") local sttm = gmeta:get_int("src_time_max")
if sttm > 0 then if sttm > 0 then
gmeta:set_int("src_time", stime + 5) gmeta:set_int("src_time", stime + SPEED)
local t = minetest.get_node_timer(gpos) local t = minetest.get_node_timer(gpos)
if not t:is_started() then if not t:is_started() then

View File

@ -12,6 +12,6 @@ elepm.register_crafter("elepower_machines:solderer", {
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_solderer.png", "elepower_machine_side.png", "elepower_machine_side.png", "elepower_solderer.png",
}, },
groups = {oddly_breakable_by_hand = 1, cracky = 2}, groups = {oddly_breakable_by_hand = 1, cracky = 2},
ele_capacity = 28000,
ele_usage = 128, ele_usage = 128,
ele_inrush = 128,
}) })

View File

@ -6,6 +6,7 @@
elepm.register_storage("elepower_machines:power_cell", { elepm.register_storage("elepower_machines:power_cell", {
description = "Power Cell", description = "Power Cell",
ele_capacity = 16000, ele_capacity = 16000,
ele_inrush = 128,
tiles = { tiles = {
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png", "elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_power_cell.png", "elepower_machine_side.png", "elepower_machine_side.png", "elepower_power_cell.png",

View File

@ -9,7 +9,7 @@ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "elepower_nuclear:stone_with_uranium", ore = "elepower_nuclear:stone_with_uranium",
wherein = "default:stone", wherein = "default:stone",
clust_scarcity = 15 * 15 * 15, clust_scarcity = 16 * 16 * 16,
clust_num_ores = 5, clust_num_ores = 5,
clust_size = 3, clust_size = 3,
y_max = 846, y_max = 846,
@ -20,7 +20,7 @@ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "elepower_nuclear:stone_with_uranium", ore = "elepower_nuclear:stone_with_uranium",
wherein = "default:stone", wherein = "default:stone",
clust_scarcity = 14 * 14 * 14, clust_scarcity = 16 * 16 * 16,
clust_num_ores = 5, clust_num_ores = 5,
clust_size = 3, clust_size = 3,
y_max = -248, y_max = -248,
@ -31,8 +31,8 @@ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "elepower_nuclear:stone_with_uranium", ore = "elepower_nuclear:stone_with_uranium",
wherein = "default:stone", wherein = "default:stone",
clust_scarcity = 10 * 10 * 10, clust_scarcity = 16 * 16 * 16,
clust_num_ores = 8, clust_num_ores = 5,
clust_size = 3, clust_size = 3,
y_max = -1248, y_max = -1248,
y_min = -1846, y_min = -1846,