This commit is contained in:
2024-11-11 23:23:30 +09:00
parent 3f3c6ad3f2
commit 84680bb4bd
7 changed files with 373 additions and 13 deletions

View File

@@ -46,6 +46,7 @@ local items = {
['solar-panel'] = {
enabled = settings.startup['PHI-EN'].value,
stage = 1,
mod = 'base',
type = 'solar-panel',
name = 'solar-panel',
ref_name = 'solar-panel',
@@ -56,6 +57,7 @@ local items = {
['accumulator'] = {
enabled = settings.startup['PHI-EN'].value,
stage = 1,
mod = 'base',
type = 'accumulator',
name = 'accumulator',
ref_name = 'accumulator',
@@ -66,6 +68,7 @@ local items = {
['boiler'] = {
enabled = settings.startup['PHI-EN'].value,
stage = 1,
mod = 'base',
type = 'boiler',
name = 'boiler',
ref_name = 'boiler',
@@ -76,6 +79,7 @@ local items = {
['steam-engine'] = {
enabled = settings.startup['PHI-EN'].value,
stage = 1,
mod = 'base',
type = 'generator',
name = 'steam-engine',
ref_name = 'steam-engine',
@@ -86,6 +90,7 @@ local items = {
['nuclear-reactor'] = {
enabled = settings.startup['PHI-EN'].value,
stage = 1,
mod = 'base',
type = 'reactor',
name = 'nuclear-reactor',
ref_name = 'nuclear-reactor',
@@ -96,6 +101,7 @@ local items = {
['heat-pipe'] = {
enabled = settings.startup['PHI-EN'].value,
stage = 1,
mod = 'base',
type = 'heat-pipe',
name = 'heat-pipe',
ref_name = 'heat-pipe',
@@ -106,6 +112,7 @@ local items = {
['heat-exchanger'] = {
enabled = settings.startup['PHI-EN'].value,
stage = 1,
mod = 'base',
type = 'boiler',
name = 'heat-exchanger',
ref_name = 'heat-exchanger',
@@ -116,6 +123,7 @@ local items = {
['steam-turbine'] = {
enabled = settings.startup['PHI-EN'].value,
stage = 1,
mod = 'base',
type = 'generator',
name = 'steam-turbine',
ref_name = 'steam-turbine',
@@ -126,6 +134,7 @@ local items = {
['assembling-machine'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'base',
type = 'assembling-machine',
name = 'assembling-machine',
ref_name = 'assembling-machine-3',
@@ -136,6 +145,7 @@ local items = {
['electric-furnace'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'base',
type = 'furnace',
name = 'electric-furnace',
ref_name = 'electric-furnace',
@@ -146,6 +156,7 @@ local items = {
['oil-refinery'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'base',
type = 'assembling-machine',
name = 'oil-refinery',
ref_name = 'oil-refinery',
@@ -156,6 +167,7 @@ local items = {
['chemical-plant'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'base',
type = 'assembling-machine',
name = 'chemical-plant',
ref_name = 'chemical-plant',
@@ -166,6 +178,7 @@ local items = {
['centrifuge'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'base',
type = 'assembling-machine',
name = 'centrifuge',
ref_name = 'centrifuge',
@@ -176,6 +189,7 @@ local items = {
['lab'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'base',
type = 'lab',
name = 'lab',
ref_name = 'lab',
@@ -186,6 +200,7 @@ local items = {
['electric-mining-drill'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'base',
type = 'mining-drill',
name = 'electric-mining-drill',
ref_name = 'electric-mining-drill',
@@ -196,6 +211,7 @@ local items = {
['pumpjack'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'base',
type = 'mining-drill',
name = 'pumpjack',
ref_name = 'pumpjack',
@@ -206,6 +222,7 @@ local items = {
['laser-turret'] = {
enabled = settings.startup['PHI-WE'].value,
stage = 1,
mod = 'base',
type = 'electric-turret',
name = 'laser-turret',
ref_name = 'laser-turret',
@@ -216,6 +233,7 @@ local items = {
['flamethrower-turret'] = {
enabled = settings.startup['PHI-WE'].value,
stage = 1,
mod = 'base',
type = 'fluid-turret',
name = 'flamethrower-turret',
ref_name = 'flamethrower-turret',
@@ -226,6 +244,7 @@ local items = {
['gun-turret'] = {
enabled = settings.startup['PHI-WE'].value,
stage = 1,
mod = 'base',
type = 'ammo-turret',
name = 'gun-turret',
ref_name = 'gun-turret',
@@ -236,6 +255,7 @@ local items = {
['radar'] = {
enabled = settings.startup['PHI-WE'].value,
stage = 1,
mod = 'base',
type = 'radar',
name = 'radar',
ref_name = 'radar',
@@ -248,6 +268,7 @@ local items = {
['battery-equipment'] = {
enabled = settings.startup['PHI-EQ'].value,
stage = 1,
mod = 'base',
type = 'battery-equipment',
name = 'battery',
ref_name = 'battery-mk2-equipment',
@@ -258,6 +279,7 @@ local items = {
['discharge-defense-equipment'] = {
enabled = settings.startup['PHI-EQ'].value,
stage = 1,
mod = 'base',
type = 'active-defense-equipment',
name = 'discharge-defense',
ref_name = 'discharge-defense-equipment',
@@ -268,6 +290,7 @@ local items = {
['energy-shield-equipment'] = {
enabled = settings.startup['PHI-EQ'].value,
stage = 1,
mod = 'base',
type = 'energy-shield-equipment',
name = 'energy-shield',
ref_name = 'energy-shield-mk2-equipment',
@@ -278,6 +301,7 @@ local items = {
['exoskeleton-equipment'] = {
enabled = settings.startup['PHI-EQ'].value,
stage = 1,
mod = 'base',
type = 'movement-bonus-equipment',
name = 'exoskeleton',
ref_name = 'exoskeleton-equipment',
@@ -288,6 +312,7 @@ local items = {
['fission-reactor-equipment'] = {
enabled = settings.startup['PHI-EQ'].value,
stage = 1,
mod = 'base',
type = 'generator-equipment',
name = 'fission-reactor',
ref_name = 'fission-reactor-equipment',
@@ -298,6 +323,7 @@ local items = {
['night-vision-equipment'] = {
enabled = settings.startup['PHI-EQ'].value,
stage = 1,
mod = 'base',
type = 'night-vision-equipment',
name = 'night-vision',
ref_name = 'night-vision-equipment',
@@ -308,6 +334,7 @@ local items = {
['personal-laser-defense-equipment'] = {
enabled = settings.startup['PHI-EQ'].value,
stage = 1,
mod = 'base',
type = 'active-defense-equipment',
name = 'personal-laser-defense',
ref_name = 'personal-laser-defense-equipment',
@@ -318,6 +345,7 @@ local items = {
['personal-roboport-equipment'] = {
enabled = settings.startup['PHI-EQ'].value,
stage = 1,
mod = 'base',
type = 'roboport-equipment',
name = 'personal-roboport',
ref_name = 'personal-roboport-mk2-equipment',
@@ -328,6 +356,7 @@ local items = {
['solar-panel-equipment'] = {
enabled = settings.startup['PHI-EQ'].value,
stage = 1,
mod = 'base',
type = 'solar-panel-equipment',
name = 'solar-panel',
ref_name = 'solar-panel-equipment',
@@ -344,6 +373,7 @@ if mods and mods['space-age'] then
items['item']['fusion-reactor'] = {
enabled = settings.startup['PHI-EN'].value,
stage = 1,
mod = 'space-age',
type = 'fusion-reactor',
name = 'fusion-reactor',
ref_name = 'fusion-reactor',
@@ -355,6 +385,7 @@ if mods and mods['space-age'] then
items['item']['fusion-generator'] = {
enabled = settings.startup['PHI-EN'].value,
stage = 1,
mod = 'space-age',
type = 'fusion-generator',
name = 'fusion-generator',
ref_name = 'fusion-generator',
@@ -366,6 +397,7 @@ if mods and mods['space-age'] then
items['item']['heating-tower'] = {
enabled = settings.startup['PHI-EN'].value,
stage = 1,
mod = 'space-age',
type = 'reactor',
name = 'heating-tower',
ref_name = 'heating-tower',
@@ -377,6 +409,7 @@ if mods and mods['space-age'] then
items['item']['railgun-turret'] = {
enabled = settings.startup['PHI-WE'].value,
stage = 1,
mod = 'space-age',
type = 'ammo-turret',
name = 'railgun-turret',
ref_name = 'railgun-turret',
@@ -388,6 +421,7 @@ if mods and mods['space-age'] then
items['item']['rocket-turret'] = {
enabled = settings.startup['PHI-WE'].value,
stage = 1,
mod = 'space-age',
type = 'ammo-turret',
name = 'rocket-turret',
ref_name = 'rocket-turret',
@@ -399,6 +433,7 @@ if mods and mods['space-age'] then
items['item']['tesla-turret'] = {
enabled = settings.startup['PHI-WE'].value,
stage = 1,
mod = 'space-age',
type = 'electric-turret',
name = 'tesla-turret',
ref_name = 'tesla-turret',
@@ -410,6 +445,7 @@ if mods and mods['space-age'] then
items['item']['foundry'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'space-age',
type = 'assembling-machine',
name = 'foundry',
ref_name = 'foundry',
@@ -421,6 +457,7 @@ if mods and mods['space-age'] then
items['item']['big-mining-drill'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'space-age',
type = 'mining-drill',
name = 'big-mining-drill',
ref_name = 'big-mining-drill',
@@ -432,6 +469,7 @@ if mods and mods['space-age'] then
items['item']['biochamber'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'space-age',
type = 'assembling-machine',
name = 'biochamber',
ref_name = 'biochamber',
@@ -443,6 +481,7 @@ if mods and mods['space-age'] then
items['item']['crusher'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'space-age',
type = 'assembling-machine',
name = 'crusher',
ref_name = 'crusher',
@@ -454,6 +493,7 @@ if mods and mods['space-age'] then
items['item']['biolab'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'space-age',
type = 'lab',
name = 'biolab',
ref_name = 'biolab',
@@ -465,6 +505,7 @@ if mods and mods['space-age'] then
items['item']['cryogenic-plant'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'space-age',
type = 'assembling-machine',
name = 'cryogenic-plant',
ref_name = 'cryogenic-plant',
@@ -476,6 +517,7 @@ if mods and mods['space-age'] then
items['item']['electromagnetic-plant'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'space-age',
type = 'assembling-machine',
name = 'electromagnetic-plant',
ref_name = 'electromagnetic-plant',
@@ -487,6 +529,7 @@ if mods and mods['space-age'] then
items['item']['thruster'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'space-age',
type = 'thruster',
name = 'thruster',
ref_name = 'thruster',
@@ -497,7 +540,8 @@ if mods and mods['space-age'] then
items['item']['agricultural-tower'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 2,
stage = 1,
mod = 'space-age',
type = 'agricultural-tower',
name = 'agricultural-tower',
ref_name = 'agricultural-tower',
@@ -509,6 +553,7 @@ if mods and mods['space-age'] then
items['equipment']['fusion-reactor-equipment'] = {
enabled = settings.startup['PHI-EQ'].value,
stage = 1,
mod = 'space-age',
type = 'generator-equipment',
name = 'fusion-reactor',
ref_name = 'fusion-reactor-equipment',
@@ -520,6 +565,7 @@ if mods and mods['space-age'] then
items['equipment']['toolbelt-equipment'] = {
enabled = settings.startup['PHI-EQ'].value,
stage = 1,
mod = 'space-age',
type = 'inventory-bonus-equipment',
name = 'toolbelt',
ref_name = 'toolbelt-equipment',
@@ -537,6 +583,7 @@ if mods and mods['quality'] then
items['item']['recycler'] = {
enabled = settings.startup['PHI-MB'].value,
stage = 1,
mod = 'quality',
type = 'furnace',
name = 'recycler',
ref_name = 'recycler',

View File

@@ -174,9 +174,9 @@ if settings.startup['PHI-MI'].value then
for _, v in pairs(data.raw['active-defense-equipment']) do
v.automatic = true
end
data.raw['mining-drill']['electric-mining-drill'].filter_count = 5
if mods['space-age'] then
data.raw['mining-drill']['big-mining-drill'].filter_count = 5
end
@@ -282,7 +282,7 @@ if settings.startup['PHI-SA'].value then
table.insert(data.raw.technology['agriculture'].effects, {type='unlock-recipe', recipe='spoilage-from-nutrients'})
end
if settings.startup['PHI-SA-GENERIC'].value then
if settings.startup['PHI-SA-GENERIC'].value or settings.startup['PHI-SA-VANILLA'].value then
if mods['space-age'] then
data.raw.technology['cliff-explosives'].prerequisites = {'explosives', 'military-2'}
data.raw.technology['cliff-explosives'].unit.count = 200
@@ -381,7 +381,7 @@ if settings.startup['PHI-SA'].value then
end
end
if settings.startup['PHI-SA-NO-QUALITY'].value then
if settings.startup['PHI-SA-NO-QUALITY'].value or settings.startup['PHI-SA-VANILLA'].value then
if mods['quality'] then
for _, v in pairs({'quality-module', 'quality-module-2', 'quality-module-3'}) do
data.raw.technology[v] = nil
@@ -411,8 +411,6 @@ if settings.startup['PHI-SA'].value then
data.raw['place-equipment-achievement']['no-room-for-more'] = nil
data.raw.quality.normal.level = 5
data.raw.quality.normal.color = {178, 104, 0}
data.raw.quality.normal.icon = '__quality__/graphics/icons/quality-legendary.png'
data.raw.quality.normal.next = nil
data.raw.quality.normal.next_probability = nil
data.raw.quality.normal.hidden = true
@@ -423,8 +421,313 @@ if settings.startup['PHI-SA'].value then
end
end
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-SA-ROCKET-CAPACITY'].value * 1000000
data.raw['utility-constants'].default.default_item_weight = settings.startup['PHI-SA-CARGO-WEIGHT'].value
if mods['space-age'] then
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-SA-ROCKET-CAPACITY'].value * 1000000
data.raw['utility-constants'].default.default_item_weight = settings.startup['PHI-SA-CARGO-WEIGHT'].value
end
if settings.startup['PHI-SA-VANILLA'].value then
for _, v in pairs(items['item']) do
if v.enabled and v.mod and v.mod == 'space-age' then
v.enabled = false
end
end
if mods['space-age'] then
local planet_map_gen = require('__base__/prototypes/planet/planet-map-gen')
for _, v in pairs({'vulcanus', 'gleba', 'fulgora', 'aquilo'}) do
-- data.raw.planet[v] = nil
data.raw.planet[v].hidden = true
data.raw.planet[v].hidden_in_factoriopedia = true
planet_map_gen[v] = nil
end
for k, v in pairs(data.raw['space-location']) do
-- data.raw['space-location'][k] = nil
v.hidden = true
v.hidden_in_factoriopedia = true
end
for k, v in pairs(data.raw['space-connection']) do
-- data.raw['space-connection'][k] = nil
v.hidden = true
v.hidden_in_factoriopedia = true
end
data.raw['rocket-silo']['rocket-silo'].launch_to_space_platforms = false
data.raw['rocket-silo']['rocket-silo'].rocket_parts_required = 100
data.raw['rocket-silo']['rocket-silo'].to_be_inserted_to_rocket_inventory_size = 1
data.raw['rocket-silo']['rocket-silo'].logistic_trash_inventory_size = 0
data.raw['rocket-silo-rocket']['rocket-silo-rocket'].inventory_size = 0
if settings.startup['PHI-MI-LANDFILL'].value > 20 then
data.raw.recipe['landfill'].ingredients = {{type='item', name='stone', amount=20}}
end
local item_sounds = require('__base__/prototypes/item_sounds')
data:extend({
{
type = 'item',
name = 'satellite',
icon = '__base__/graphics/icons/satellite.png',
subgroup = 'space-related',
order = 'd[rocket-parts]-e[satellite]',
inventory_move_sound = item_sounds.mechanical_inventory_move,
pick_sound = item_sounds.mechanical_inventory_pickup,
drop_sound = item_sounds.mechanical_inventory_move,
stack_size = 1,
weight = 1 * tons,
rocket_launch_products = {{type='item', name='space-science-pack', amount=1000}},
send_to_orbit_mode = 'automated'
},
{
type = 'recipe',
name = 'satellite',
energy_required = 5,
enabled = false,
category = 'crafting',
ingredients =
{
{type='item', name='low-density-structure', amount=100},
{type='item', name='solar-panel', amount=100},
{type='item', name='accumulator', amount=100},
{type='item', name='radar', amount=5},
{type='item', name='processing-unit', amount=100},
{type='item', name='rocket-fuel', amount=50}
},
results = {{type='item', name='satellite', amount=1}},
requester_paste_multiplier = 1
}
})
data.raw.technology['planet-discovery-vulcanus'] = nil
data.raw.technology['planet-discovery-gleba'] = nil
data.raw.technology['planet-discovery-fulgora'] = nil
data.raw.technology['planet-discovery-aquilo'] = nil
data.raw.technology['space-platform'] = nil
data.raw.technology['space-platform-thruster'] = nil
data.raw.technology['calcite-processing'] = nil
data.raw.technology['tungsten-carbide'] = nil
data.raw.technology['foundry'] = nil
data.raw.technology['tungsten-steel'] = nil
data.raw.technology['metallurgic-science-pack'] = nil
data.raw.technology['agriculture'] = nil
data.raw.technology['yumako'] = nil
data.raw.technology['biochamber'] = nil
data.raw.technology['jellynut'] = nil
data.raw.technology['bioflux'] = nil
data.raw.technology['artificial-soil'] = nil
data.raw.technology['overgrowth-soil'] = nil
data.raw.technology['bacteria-cultivation'] = nil
data.raw.technology['bioflux-processing'] = nil
data.raw.technology['agricultural-science-pack'] = nil
data.raw.technology['tree-seeding'] = nil
data.raw.technology['captivity'] = nil
data.raw.technology['biolab'] = nil
data.raw.technology['biter-egg-handling'] = nil
data.raw.technology['carbon-fiber'] = nil
data.raw.technology['fish-breeding'] = nil
data.raw.technology['holmium-processing'] = nil
data.raw.technology['electromagnetic-plant'] = nil
data.raw.technology['electromagnetic-science-pack'] = nil
data.raw.technology['lightning-collector'] = nil
data.raw.technology['rail-support-foundations'] = nil
data.raw.technology['heating-tower'] = nil
data.raw.technology['lithium-processing'] = nil
data.raw.technology['cryogenic-plant'] = nil
data.raw.technology['asteroid-reprocessing'] = nil
data.raw.technology['advanced-asteroid-processing'] = nil
data.raw.technology['quantum-processor'] = nil
data.raw.technology['cryogenic-science-pack'] = nil
data.raw.technology['fusion-reactor'] = nil
data.raw.technology['fusion-reactor-equipment'] = nil
data.raw.technology['captive-biter-spawner'] = nil
data.raw.technology['promethium-science-pack'] = nil
data.raw.technology['foundation'] = nil
data.raw.technology['asteroid-productivity'] = nil
data.raw.technology['scrap-recycling-productivity'] = nil
data.raw.technology['recycling'] = nil
data.raw.technology['cliff-explosives'].effects = {{type='unlock-recipe', recipe='cliff-explosives'}}
data.raw.technology['logistic-system'].prerequisites = {'logistic-robotics'}
data.raw.technology['logistic-system'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}}
data.raw.technology['stronger-explosives-5'].prerequisites = {'stronger-explosives-4'}
data.raw.technology['stronger-explosives-5'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}}
data.raw.technology['stronger-explosives-6'].prerequisites = {'stronger-explosives-5'}
data.raw.technology['stronger-explosives-6'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}}
data.raw.technology['stronger-explosives-7'].prerequisites = {'stronger-explosives-6'}
data.raw.technology['stronger-explosives-7'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}, {'space-science-pack', 1}}
data.raw.technology['refined-flammables-6'].prerequisites = {'refined-flammables-5'}
data.raw.technology['refined-flammables-6'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}}
data.raw.technology['refined-flammables-7'].prerequisites = {'refined-flammables-6'}
data.raw.technology['refined-flammables-7'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}, {'space-science-pack', 1}}
data.raw.technology['worker-robots-speed-7'].prerequisites = {'worker-robots-speed-6'}
data.raw.technology['worker-robots-speed-7'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}, {'space-science-pack', 1}}
data.raw.technology['rocket-silo'].effects = {{type = 'unlock-recipe', recipe = 'rocket-silo'}, {type = 'unlock-recipe', recipe = 'rocket-part'}, {type = 'unlock-recipe', recipe = 'cargo-landing-pad'}}
data.raw.technology['space-science-pack'].research_trigger = nil
data.raw.technology['space-science-pack'].prerequisites = {'rocket-silo'}
data.raw.technology['space-science-pack'].effects = {{type='unlock-recipe', recipe='satellite'}}
data.raw.technology['space-science-pack'].unit = {count = 2000, time = 30, ingredients={{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}}}
data.raw.technology['atomic-bomb'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}}
data.raw.technology['energy-shield-mk2-equipment'].prerequisites = {'energy-shield-equipment', 'military-4', 'power-armor'}
data.raw.technology['personal-roboport-mk2-equipment'].prerequisites = {'personal-roboport-equipment'}
data.raw.technology['coal-liquefaction'].prerequisites = nil
data.raw.technology['coal-liquefaction'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}}
data.raw.technology['speed-module-2'].prerequisites = {'speed-module'}
data.raw.technology['speed-module-2'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}}
data.raw.technology['speed-module-3'].prerequisites = {'speed-module-2'}
data.raw.technology['speed-module-3'].unit.count = 400
data.raw.technology['speed-module-3'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}}
data.raw.technology['productivity-module-2'].prerequisites = {'productivity-module'}
data.raw.technology['productivity-module-2'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}}
data.raw.technology['productivity-module-3'].prerequisites = {'productivity-module-2'}
data.raw.technology['productivity-module-3'].unit.count = 400
data.raw.technology['productivity-module-3'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}}
data.raw.technology['efficiency-module-2'].prerequisites = {'efficiency-module'}
data.raw.technology['efficiency-module-2'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}}
data.raw.technology['efficiency-module-3'].prerequisites = {'efficiency-module-2'}
data.raw.technology['efficiency-module-3'].unit.count = 400
data.raw.technology['efficiency-module-3'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}}
data.raw.technology['kovarex-enrichment-process'].prerequisites = {'uranium-processing'}
data.raw.technology['kovarex-enrichment-process'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}}
data.raw.technology['artillery'].prerequisites = {'military-4', 'radar'}
data.raw.technology['artillery-shell-damage-1'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}, {'space-science-pack', 1}}
data.raw.technology['artillery-shell-range-1'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}, {'space-science-pack', 1}}
data.raw.technology['artillery-shell-speed-1'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}, {'space-science-pack', 1}}
data.raw.technology['electric-weapons-damage-2'].prerequisites = {'electric-weapons-damage-1'}
data.raw.technology['electric-weapons-damage-2'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}}
data.raw.technology['electric-weapons-damage-3'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}}
data.raw.technology['electric-weapons-damage-4'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}, {'space-science-pack', 1}}
data.raw.technology['railgun-damage-1'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}, {'space-science-pack', 1}}
data.raw.technology['railgun-shooting-speed-1'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}, {'space-science-pack', 1}}
data.raw.technology['battery-mk3-equipment'].prerequisites = {'battery-mk2-equipment'}
data.raw.technology['battery-mk3-equipment'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}}
data.raw.technology['rocket-turret'].effects = {{type='unlock-recipe', recipe='rocket-turret'}}
data.raw.technology['rocket-turret'].prerequisites = {'rocketry', 'stronger-explosives-2'}
data.raw.technology['rocket-turret'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}}
data.raw.technology['toolbelt-equipment'].prerequisites = {'power-armor', 'toolbelt'}
data.raw.technology['toolbelt-equipment'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}}
data.raw.technology['big-mining-drill'].prerequisites = {'electric-mining-drill', 'automation-3'}
data.raw.technology['big-mining-drill'].unit = {count = 800, time = 30, ingredients={{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}}}
data.raw.technology['big-mining-drill'].research_trigger = nil
data.raw.technology['turbo-transport-belt'].prerequisites = {'logistics-3'}
data.raw.technology['railgun'].prerequisites = nil
data.raw.technology['railgun'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}}
data.raw.technology['tesla-weapons'].prerequisites = {'military-4'}
data.raw.technology['tesla-weapons'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}}
data.raw.technology['mech-armor'].prerequisites = {'power-armor-mk2'}
data.raw.technology['mech-armor'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}}
data.raw.technology['stack-inserter'].prerequisites = {'bulk-inserter'}
data.raw.technology['stack-inserter'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'military-science-pack', 1}, {'chemical-science-pack', 1}, {'utility-science-pack', 1}}
data.raw.technology['health'].prerequisites = nil
data.raw.technology['health'].unit.ingredients = {{'military-science-pack', 1}, {'utility-science-pack', 1}}
data.raw.technology['research-productivity'].prerequisites = nil
data.raw.technology['research-productivity'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}, {'space-science-pack', 1}}
data.raw.technology['processing-unit-productivity'].prerequisites = nil
data.raw.technology['processing-unit-productivity'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}}
data.raw.technology['steel-plate-productivity'].prerequisites = nil
data.raw.technology['steel-plate-productivity'].effects = {{type='change-recipe-productivity', recipe='steel-plate', change=0.1}}
data.raw.technology['steel-plate-productivity'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}}
data.raw.technology['low-density-structure-productivity'].prerequisites = nil
data.raw.technology['low-density-structure-productivity'].effects = {{type='change-recipe-productivity', recipe='low-density-structure', change=0.1}}
data.raw.technology['low-density-structure-productivity'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}}
data.raw.technology['plastic-bar-productivity'].prerequisites = nil
data.raw.technology['plastic-bar-productivity'].effects = {{type='change-recipe-productivity', recipe='plastic-bar', change=0.1}}
data.raw.technology['plastic-bar-productivity'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}}
data.raw.technology['rocket-fuel-productivity'].prerequisites = nil
data.raw.technology['rocket-fuel-productivity'].effects = {{type='change-recipe-productivity', recipe='rocket-fuel', change=0.1}}
data.raw.technology['rocket-fuel-productivity'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}}
data.raw.technology['rocket-part-productivity'].prerequisites = nil
data.raw.technology['rocket-part-productivity'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}}
data.raw.recipe['big-mining-drill'].category = nil
data.raw.recipe['big-mining-drill'].surface_conditions = nil
data.raw.recipe['big-mining-drill'].ingredients = {{type='item', name='electric-mining-drill', amount=1}, {type='item', name='steel-plate', amount=20}, {type='item', name='electric-engine-unit', amount=10}, {type='item', name='advanced-circuit', amount=10}}
data.raw.recipe['turbo-transport-belt'].category = 'crafting-with-fluid'
data.raw.recipe['turbo-transport-belt'].surface_conditions = nil
data.raw.recipe['turbo-transport-belt'].ingredients = {{type='item', name='steel-plate', amount=5}, {type='item', name='express-transport-belt', amount=1}, {type='fluid', name='lubricant', amount=20}}
data.raw.recipe['turbo-underground-belt'].category = 'crafting-with-fluid'
data.raw.recipe['turbo-underground-belt'].surface_conditions = nil
data.raw.recipe['turbo-underground-belt'].ingredients = {{type='item', name='steel-plate', amount=40}, {type='item', name='express-underground-belt', amount=2}, {type='fluid', name='lubricant', amount=40}}
data.raw.recipe['turbo-splitter'].category = 'crafting-with-fluid'
data.raw.recipe['turbo-splitter'].surface_conditions = nil
data.raw.recipe['turbo-splitter'].ingredients = {{type='item', name='steel-plate', amount=15}, {type='item', name='processing-unit', amount=2}, {type='item', name='express-splitter', amount=1}, {type='fluid', name='lubricant', amount=80}}
data.raw.recipe['express-transport-belt'].category = 'crafting-with-fluid'
data.raw.recipe['express-underground-belt'].category = 'crafting-with-fluid'
data.raw.recipe['express-splitter'].category = 'crafting-with-fluid'
data.raw.recipe['stack-inserter'].ingredients = {{type='item', name='processing-unit', amount=1}, {type='item', name='steel-plate', amount=2}, {type='item', name='bulk-inserter', amount=1}}
data.raw.recipe['speed-module-3'].ingredients = {{type='item', name='advanced-circuit', amount=5}, {type='item', name='processing-unit', amount=5}, {type='item', name='speed-module-2', amount=4}}
data.raw.recipe['productivity-module-3'].ingredients = {{type='item', name='advanced-circuit', amount=5}, {type='item', name='processing-unit', amount=5}, {type='item', name='productivity-module-2', amount=4}}
data.raw.recipe['efficiency-module-3'].ingredients = {{type='item', name='advanced-circuit', amount=5}, {type='item', name='processing-unit', amount=5}, {type='item', name='efficiency-module-2', amount=4}}
data.raw.recipe['toolbelt-equipment'].ingredients = {{type='item', name='advanced-circuit', amount=3}, {type='item', name='steel-plate', amount=4}}
data.raw.recipe['power-armor-mk2'].ingredients = {{type='item', name='efficiency-module-2', amount=25}, {type='item', name='speed-module-2', amount=25}, {type='item', name='processing-unit', amount=60}, {type='item', name='electric-engine-unit', amount=40}, {type='item', name='low-density-structure', amount=30}}
data.raw.recipe['personal-roboport-mk2-equipment'].ingredients = {{type='item', name='personal-roboport-equipment', amount=5}, {type='item', name='processing-unit', amount=100}, {type='item', name='low-density-structure', amount=20}}
data.raw.recipe['battery-mk3-equipment'].ingredients = {{type='item', name='battery-mk2-equipment', amount=5}, {type='item', name='battery', amount=20}}
data.raw.recipe['artillery-turret'].ingredients = {{type='item', name='steel-plate', amount=60}, {type='item', name='concrete', amount=60}, {type='item', name='iron-gear-wheel', amount=40}, {type='item', name='advanced-circuit', amount=20}}
data.raw.recipe['artillery-wagon'].ingredients = {{type='item', name='engine-unit', amount=64}, {type='item', name='iron-gear-wheel', amount=10}, {type='item', name='steel-plate', amount=40}, {type='item', name='pipe', amount=16}, {type='item', name='advanced-circuit', amount=20}}
data.raw.recipe['artillery-shell'].ingredients = {{type='item', name='explosive-cannon-shell', amount=4}, {type='item', name='radar', amount=1}, {type='item', name='explosives', amount=8}}
data.raw.recipe['cliff-explosives'].ingredients = {{type='item', name='explosives', amount=10}, {type='item', name='grenade', amount=1}, {type='item', name='barrel', amount=1}}
data.raw.recipe['cliff-explosives-o'] = nil
data.raw.recipe['tesla-ammo'].ingredients = {{type='item', name='battery', amount=1}, {type='item', name='plastic-bar', amount=1}, {type='fluid', name='sulfuric-acid', amount=10}}
data.raw.recipe['teslagun'].ingredients = {{type='item', name='steel-plate', amount=10}, {type='item', name='processing-unit', amount=10}, {type='item', name='plastic-bar', amount=1}, {type='fluid', name='sulfuric-acid', amount=100}}
data.raw.recipe['tesla-turret'].ingredients = {{type='item', name='teslagun', amount=1}, {type='item', name='steel-plate', amount=10}, {type='item', name='processing-unit', amount=10}, {type='fluid', name='sulfuric-acid', amount=500}}
data.raw.recipe['mech-armor'].ingredients = {{type='item', name='power-armor-mk2', amount=1}, {type='item', name='processing-unit', amount=100}, {type='item', name='steel-plate', amount=200}, {type='item', name='battery', amount=50}}
data.raw.recipe['railgun'].ingredients = {{type='item', name='steel-plate', amount=10}, {type='item', name='processing-unit', amount=20}, {type='item', name='battery', amount=10}, {type='fluid', name='sulfuric-acid', amount=10}}
data.raw.recipe['railgun-turret'].ingredients = {{type='item', name='steel-plate', amount=30}, {type='item', name='processing-unit', amount=50}, {type='item', name='battery', amount=50}, {type='fluid', name='sulfuric-acid', amount=100}}
data.raw.recipe['rocket-turret'].ingredients = {{type='item', name='rocket-launcher', amount=4}, {type='item', name='steel-plate', amount=40}, {type='item', name='processing-unit', amount=4}, {type='item', name='iron-gear-wheel', amount=20}}
data.raw['tips-and-tricks-item']['fulgora-briefing'] = nil
data.raw['tips-and-tricks-item']['lightning-mechanics'] = nil
data.raw['tips-and-tricks-item']['gleba-briefing'] = nil
data.raw['tips-and-tricks-item']['agriculture'] = nil
data.raw['tips-and-tricks-item']['vulcanus-briefing'] = nil
data.raw['tips-and-tricks-item']['lava-processing'] = nil
data.raw['tips-and-tricks-item']['aquilo-briefing'] = nil
data.raw['tips-and-tricks-item']['heating-mechanics'] = nil
data.raw['tips-and-tricks-item']['space-platform'] = nil
data.raw['tips-and-tricks-item']['orbital-logistics'] = nil
data.raw['tips-and-tricks-item']['removing-trash-in-space'] = nil
data.raw['tips-and-tricks-item']['space-science'] = nil
data.raw['tips-and-tricks-item']['asteroid-defense'] = nil
data.raw['tips-and-tricks-item']['spoilables'] = nil
data.raw['tips-and-tricks-item']['spoilables-result'] = nil
data.raw['tips-and-tricks-item']['spoilables-research'] = nil
data.raw['dont-build-entity-achievement']['logistic-network-embargo'].research_with = nil
data.raw['use-entity-in-energy-production-achievement']['fusion-power'] = nil
data.raw['create-platform-achievement']['reach-for-the-stars'] = nil
data.raw['change-surface-achievement']['visit-fulgora'] = nil
data.raw['change-surface-achievement']['visit-gleba'] = nil
data.raw['change-surface-achievement']['visit-vulcanus'] = nil
data.raw['change-surface-achievement']['visit-aquilo'] = nil
data.raw['complete-objective-achievement']['second-star-to-the-right-and-straight-on-till-morning'] = nil
data.raw['group-attack-achievement']['it-stinks-and-they-do-like-it'] = nil
data.raw['group-attack-achievement']['get-off-my-lawn'] = nil
data.raw['space-connection-distance-traveled-achievement']['shattered-planet-1'] = nil
data.raw['space-connection-distance-traveled-achievement']['shattered-planet-2'] = nil
data.raw['space-connection-distance-traveled-achievement']['shattered-planet-3'] = nil
data.raw['research-with-science-pack-achievement']['research-with-metallurgics'] = nil
data.raw['research-with-science-pack-achievement']['research-with-agriculture'] = nil
data.raw['research-with-science-pack-achievement']['research-with-electromagnetics'] = nil
data.raw['research-with-science-pack-achievement']['research-with-cryogenics'] = nil
data.raw['research-with-science-pack-achievement']['research-with-promethium'] = nil
data.raw['dont-research-before-researching-achievement']['rush-to-space'] = nil
data.raw['kill-achievement']['if-it-bleeds'] = nil
data.raw['kill-achievement']['we-need-bigger-guns'] = nil
data.raw['kill-achievement']['size-doesnt-matter'] = nil
data.raw['complete-objective-achievement']['work-around-the-clock'] = nil
data.raw['complete-objective-achievement']['express-delivery'] = nil
end
if mods['quality'] then
data.raw.quality.normal.level = 0
data.raw.quality.normal.beacon_power_usage_multiplier = 1
data.raw.quality.normal.mining_drill_resource_drain_multiplier = 1
data.raw.quality.normal.science_pack_drain_multiplier = 1
end
end
end
if settings.startup['PHI-CT'].value then

View File

@@ -128,6 +128,7 @@ PHI-SA-SPOIL=SA3 Spoil
PHI-SA-GENERIC=SA4 Generic
PHI-SA-QUALITY=SA5 Quality
PHI-SA-NO-QUALITY=SA6 No quality
PHI-SA-VANILLA=SA7 2.0 Vanilla
PHI-CT=CT Creative testing tools
PHI-CT-TOOL=CT1 Tool

View File

@@ -127,6 +127,7 @@ PHI-SA-SPOIL=SA3 変質
PHI-SA-GENERIC=SA4 ジェネリック
PHI-SA-QUALITY=SA5 品質
PHI-SA-NO-QUALITY=SA6 品質なし
PHI-SA-VANILLA=SA7 2.0 オリジナル
PHI-CT=CT クリエイティブテストツール
PHI-CT-TOOL=CT1 ツール

View File

@@ -127,13 +127,14 @@ PHI-SA-SPOIL=SA3 變質
PHI-SA-GENERIC=SA4 通用
PHI-SA-QUALITY=SA5 品質
PHI-SA-NO-QUALITY=SA6 沒有品質
PHI-SA-VANILLA=SA7 2.0 原版
PHI-CT=CT 創意測試工具
PHI-CT-TOOL=CT1 工具
PHI-CT-UTILITY=CT2 雜項
PHI-CT-HIDDEN=CT3 隱藏
PHI-CT-TILE=CT10 世界地磚
PHI-CT-TILE-CHOICE=CT11 地磚選擇
PHI-CT-TILE=CT4 世界地磚
PHI-CT-TILE-CHOICE=CT5 地磚選擇
[mod-setting-description]
PHI-EN-SOLAR-TIER=預設 8 ; 停用 1

View File

@@ -127,13 +127,14 @@ PHI-SA-SPOIL=SA3 變質
PHI-SA-GENERIC=SA4 通用
PHI-SA-QUALITY=SA5 品質
PHI-SA-NO-QUALITY=SA6 沒有品質
PHI-SA-VANILLA=SA7 2.0 原版
PHI-CT=CT 創意測試工具
PHI-CT-TOOL=CT1 工具
PHI-CT-UTILITY=CT2 雜項
PHI-CT-HIDDEN=CT3 隱藏
PHI-CT-TILE=CT10 世界地磚
PHI-CT-TILE-CHOICE=CT11 地磚選擇
PHI-CT-TILE=CT4 世界地磚
PHI-CT-TILE-CHOICE=CT5 地磚選擇
[mod-setting-description]
PHI-EN-SOLAR-TIER=預設 8 ; 停用 1

View File

@@ -199,6 +199,12 @@ data:extend({
setting_type = 'startup',
default_value = false,
order = 'F06'
}, {
type = 'bool-setting',
name = 'PHI-SA-VANILLA',
setting_type = 'startup',
default_value = false,
order = 'F07'
}, {
type = 'bool-setting',
name = 'PHI-CT',