This commit is contained in:
2023-04-18 14:30:02 +09:00
parent a548906cc4
commit ce9cfcdf85
3 changed files with 34 additions and 3 deletions

View File

@@ -5,6 +5,29 @@ local base_solar_energy = 60
local graphics_location = '__PHI-EN__/graphics/'
local items = {'accumulator', 'solar-panel'}
local items = {
['solar-panel'] = {
enabled = true,
type = 'solar-panel',
name = 'solar-panel',
tech = 'solar-panel-equipment',
min = 2,
max = 8,
base = 30,
graphics_source = nil
},
['accumulator'] = {
enabled = true,
type = 'solar-panel',
name = 'solar-panel',
tech = 'solar-panel-equipment',
min = 2,
max = 8,
base = 30,
graphics_source = nil
}
}
-- entity
local function EE(source, tier)
local item = table.deepcopy(data.raw[source][source])