some configuration modifications
This commit is contained in:
parent
222c8cd84c
commit
0a9b300136
@ -205,7 +205,7 @@ techage.register_entry_page("ta", "forceload",
|
||||
S("Techage Forceload Block"),
|
||||
S("The Forceload Block keeps the corresponding area loaded and the machines operational "..
|
||||
"as far as the player is logged in. If the player leaves the game, all areas will be unloaded.@n"..
|
||||
"The maximum number of Forceload Blocks per player is configurable (default 16).@n"..
|
||||
"The maximum number of Forceload Blocks per player is configurable (default 20).@n"..
|
||||
"The loaded area per block is a cube with 16 m side length (according to a Minetest area block). "..
|
||||
"Punching the block makes the area visible and invisible again."),
|
||||
"techage:forceload")
|
||||
|
@ -20,9 +20,9 @@ local S = techage.S
|
||||
|
||||
local CYCLE_TIME = 2
|
||||
local PWR_PERF = 60
|
||||
local GRVL_CAPA = 1333
|
||||
local GRVL_CAPA = 700
|
||||
local PWR_CAPA = {
|
||||
[3] = GRVL_CAPA * 3 * 3 * 3, -- ~0.5 days
|
||||
[3] = GRVL_CAPA * 3 * 3 * 3, -- 18900 Cyc = 630 min = 31.5 Tage bei einem ku, oder 31,5 * 24 kuh = 756 kuh = 12,6 h bei 60 ku
|
||||
[4] = GRVL_CAPA * 5 * 5 * 5, -- ~2.5 days
|
||||
[5] = GRVL_CAPA * 7 * 7 * 7, -- ~6 days
|
||||
}
|
||||
|
@ -93,10 +93,10 @@ local function check_volume(pos, in_dir, owner)
|
||||
chat(owner, "one window maximum")
|
||||
return false
|
||||
elseif node_tbl["default:obsidian_glass"] + node_tbl["basic_materials:concrete_block"] ~= Numbers.shell[radius] then
|
||||
chat(owner, "wrong numbers of shell nodes")
|
||||
chat(owner, "wrong number of shell nodes")
|
||||
return false
|
||||
elseif node_tbl["default:gravel"] + node_tbl["techage:glow_gravel"] ~= Numbers.filling[radius] then
|
||||
chat(owner, "wrong numbers of gravel nodes")
|
||||
chat(owner, "wrong number of gravel nodes")
|
||||
return false
|
||||
end
|
||||
else
|
||||
|
2
init.lua
2
init.lua
@ -11,7 +11,7 @@ else
|
||||
techage = {
|
||||
NodeDef = {}, -- node registration info
|
||||
}
|
||||
techage.max_num_forceload_blocks = tonumber(minetest.setting_get("techage_max_num_forceload_blocks")) or 16
|
||||
techage.max_num_forceload_blocks = tonumber(minetest.setting_get("techage_max_num_forceload_blocks")) or 24
|
||||
techage.basalt_stone_enabled = minetest.setting_get("techage_basalt_stone_enabled") == "true"
|
||||
techage.ore_rarity = tonumber(minetest.setting_get("techage_ore_rarity")) or 1
|
||||
techage.modified_recipes_enabled = minetest.setting_get("techage_modified_recipes_enabled") == "true"
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Maximim number of Forceload Blocks per player (default 12)
|
||||
techage_max_num_forceload_blocks (Max. number of Forceload Blocks) int 12
|
||||
# Maximim number of Forceload Blocks per player (default 20)
|
||||
techage_max_num_forceload_blocks (Max. number of Forceload Blocks) int 20
|
||||
|
||||
# Enable Basalt Stone (and disable ore generation via cobble generator)
|
||||
techage_basalt_stone_enabled (Basalt Stone enabled) bool false
|
||||
|
Loading…
Reference in New Issue
Block a user