init
This commit is contained in:
commit
43086ea1eb
553 changed files with 20250 additions and 0 deletions
84
scripts/SE/data-final-fixes.lua
Normal file
84
scripts/SE/data-final-fixes.lua
Normal file
|
@ -0,0 +1,84 @@
|
|||
local function config(name)
|
||||
return settings.startup['el_ki_beacon_'..name].value
|
||||
end
|
||||
|
||||
--techs
|
||||
table.insert(data.raw.lab["gr_lab_entity"].inputs, "se-deep-space-science-pack-1")
|
||||
table.insert(data.raw.lab["gr_lab_entity"].inputs, "se-material-science-pack-2")
|
||||
table.insert(data.raw.lab["gr_lab_entity"].inputs, "se-rocket-science-pack")
|
||||
--se-energy-science-pack-1
|
||||
table.insert(data.raw.technology["fu_energy_tech"].unit.ingredients, {"se-energy-science-pack-1", 1})
|
||||
table.insert(data.raw.technology["fu_reactor_tech"].unit.ingredients, {"se-energy-science-pack-1", 1})
|
||||
table.insert(data.raw.technology["fu_tokamak_tech"].unit.ingredients, {"se-energy-science-pack-2", 1})
|
||||
table.insert(data.raw.technology["fu_star_engine_tech"].unit.ingredients, {"se-energy-science-pack-3", 1})
|
||||
--se-energy-material-pack-1
|
||||
table.insert(data.raw.technology["fu_star_engine_copper_tech"].unit.ingredients, {"se-material-science-pack-1", 1})
|
||||
table.insert(data.raw.technology["fu_star_engine_iron_tech"].unit.ingredients, {"se-material-science-pack-1", 1})
|
||||
table.insert(data.raw.technology["fu_star_engine_sulfur_tech"].unit.ingredients, {"se-material-science-pack-1", 1})
|
||||
--ki
|
||||
table.insert(data.raw.technology["fu_ki_plus_1_tech"].unit.ingredients, {"se-deep-space-science-pack-2", 1})
|
||||
table.insert(data.raw.technology["fu_ki_plus_2_tech"].unit.ingredients, {"se-deep-space-science-pack-4", 1})
|
||||
table.insert(data.raw.technology["el_ki_sup_2_tech"].unit.ingredients, {"se-energy-science-pack-1", 1})
|
||||
table.insert(data.raw.technology["el_ki_sup_3_tech"].unit.ingredients, {"se-energy-science-pack-2", 1})
|
||||
table.insert(data.raw.technology["el_ki_sup_4_tech"].unit.ingredients, {"se-energy-science-pack-3", 1})
|
||||
|
||||
--modules
|
||||
table.insert(data.raw.technology["fi_modules_4_tech"].unit.ingredients, {"se-deep-space-science-pack-2", 1})
|
||||
table.insert(data.raw.technology["fi_modules_5_tech"].unit.ingredients, {"se-deep-space-science-pack-3", 1})
|
||||
table.insert(data.raw.technology["fi_modules_6_tech"].unit.ingredients, {"se-deep-space-science-pack-4", 1})
|
||||
|
||||
|
||||
data.raw.technology["gr_stage_tech"].prerequisites = {
|
||||
'fu_space_probe_3_tech',
|
||||
'fu_hydrogen_3_tech',
|
||||
'fu_lead_tech'
|
||||
}
|
||||
|
||||
for i,v in pairs(data.raw.beacon) do
|
||||
if (i == "el_ki_beacon_entity-spaced") or (i == "fi_ki_beacon_entity-spaced") or (i == "fu_ki_beacon_entity-spaced") then
|
||||
data.raw.beacon[i] = nil
|
||||
end
|
||||
end
|
||||
|
||||
--buff beacons
|
||||
data.raw.beacon["el_ki_beacon_entity"].module_specification = {
|
||||
module_slots = 10,
|
||||
module_info_icon_shift = {0, 0.5},
|
||||
module_info_multi_row_initial_height_modifier = -0.3,
|
||||
}
|
||||
data.raw.beacon["el_ki_beacon_entity"].energy_usage = '2MW'
|
||||
data.raw.beacon["el_ki_beacon_entity"].supply_area_distance = config('supply_area') + 2
|
||||
|
||||
data.raw.beacon["fi_ki_beacon_entity"].module_specification = {
|
||||
module_slots = 15,
|
||||
module_info_icon_shift = {0, 0.5},
|
||||
module_info_multi_row_initial_height_modifier = -0.3,
|
||||
}
|
||||
data.raw.beacon["fi_ki_beacon_entity"].energy_usage = '8MW'
|
||||
data.raw.beacon["fi_ki_beacon_entity"].supply_area_distance = config('supply_area') + 6
|
||||
|
||||
data.raw.beacon["fu_ki_beacon_entity"].module_specification = {
|
||||
module_slots = 45,
|
||||
module_info_icon_shift = {0, 0.5},
|
||||
module_info_multi_row_initial_height_modifier = -0.3,
|
||||
}
|
||||
data.raw.beacon["fu_ki_beacon_entity"].energy_usage = '80MW'
|
||||
data.raw.beacon["fu_ki_beacon_entity"].supply_area_distance = config('supply_area') + 15
|
||||
|
||||
|
||||
--buff cores
|
||||
data.raw.beacon["el_ki_core_slave_entity"].module_specification = {
|
||||
module_slots = 5,
|
||||
module_info_icon_shift = {0, 0.5},
|
||||
module_info_multi_row_initial_height_modifier = -0.3,
|
||||
}
|
||||
data.raw.beacon["fi_ki_core_slave_entity"].module_specification = {
|
||||
module_slots = 5,
|
||||
module_info_icon_shift = {0, 0.5},
|
||||
module_info_multi_row_initial_height_modifier = -0.3,
|
||||
}
|
||||
data.raw.beacon["fu_ki_core_slave_entity"].module_specification = {
|
||||
module_slots = 5,
|
||||
module_info_icon_shift = {0, 0.5},
|
||||
module_info_multi_row_initial_height_modifier = -0.3,
|
||||
}
|
34
scripts/SE/data.lua
Normal file
34
scripts/SE/data.lua
Normal file
|
@ -0,0 +1,34 @@
|
|||
--on space station
|
||||
data.raw["assembling-machine"]["el_ki_memory_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["el_ki_cpu_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["el_ki_core_entity"].se_allow_in_space = true
|
||||
|
||||
data.raw["assembling-machine"]["fi_ki_circuit_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["fi_ki_core_entity"].se_allow_in_space = true
|
||||
|
||||
data.raw["assembling-machine"]["fu_ki_circuit_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["fu_ki_core_entity"].se_allow_in_space = true
|
||||
|
||||
data.raw["beacon"]["el_ki_beacon_entity"].se_allow_in_space = true
|
||||
data.raw["beacon"]["fi_ki_beacon_entity"].se_allow_in_space = true
|
||||
data.raw["beacon"]["fu_ki_beacon_entity"].se_allow_in_space = true
|
||||
data.raw["beacon"]["el_ki_beacon_entity"].allow_in_space = true
|
||||
data.raw["beacon"]["fi_ki_beacon_entity"].allow_in_space = true
|
||||
data.raw["beacon"]["fu_ki_beacon_entity"].allow_in_space = true
|
||||
|
||||
data.raw["assembling-machine"]["fi_crafter_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["fi_crusher_entity"].se_allow_in_space = true
|
||||
|
||||
data.raw["assembling-machine"]["fu_star_engine_core_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["fu_star_engine_cooler_up_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["fu_star_engine_cooler_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["fu_star_engine_heater_left_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["fu_star_engine_heater_entity"].se_allow_in_space = true
|
||||
|
||||
data.raw["assembling-machine"]["fu_fusor_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["fu_tokamak_reactor_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["fu_stelar_reactor_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["fu_activator_entity"].se_allow_in_space = true
|
||||
data.raw["assembling-machine"]["fu_exchanger_entity"].se_allow_in_space = true
|
||||
|
||||
data.raw["assembling-machine"]["gr_crafter_entity"].se_allow_in_space = true
|
Loading…
Add table
Add a link
Reference in a new issue