mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
.
This commit is contained in:
@@ -54,7 +54,7 @@ return {
|
||||
["landfill"] = {
|
||||
starting_value = 0,
|
||||
required_area = 0,
|
||||
surface_area = 8, -- Tiles
|
||||
surface_area = 20, -- Tiles
|
||||
},
|
||||
["wood"] = {
|
||||
starting_value = 0,
|
||||
|
||||
@@ -40,10 +40,6 @@ Storage.register(vlayer_data, function(tbl)
|
||||
vlayer_data = tbl
|
||||
end)
|
||||
|
||||
if script.active_mods["space-age"] then
|
||||
config.allowed_items.landfill.surface_area = math.floor(config.allowed_items.landfill.surface_area * 2.5)
|
||||
end
|
||||
|
||||
for name, properties in pairs(config.allowed_items) do
|
||||
properties.modded = false
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ local function apply_periodic_bonus(player)
|
||||
if vlayer.get_statistics()["energy_sustained"] > 0 then
|
||||
local armor = player.get_inventory(defines.inventory.character_armor)
|
||||
|
||||
if armor and armor[1] then
|
||||
if armor and armor[1] and armor[1].valid_for_read then
|
||||
local armor_grid = armor[1].grid
|
||||
|
||||
if armor_grid then
|
||||
|
||||
Reference in New Issue
Block a user