mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-25 13:53:12 +09:00
.
This commit is contained in:
1 parent
3d55b8cbc2
commit
208a5d0581
8 files changed
+170
-146
No files matched your search
@@ -1,3 +1,10 @@
|
|||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 3.0.69
|
||||||
|
Date: 2025-03-07
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
- [VP] Moved sa vanilla out from SA category, become a new category instead.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 3.0.68
|
Version: 3.0.68
|
||||||
Date: 2025-03-06
|
Date: 2025-03-06
|
||||||
|
|||||||
+130
-130
@@ -145,7 +145,7 @@ if settings.startup['PHI-EQ'].value and settings.startup['PHI-EQ-ARMOR'].value t
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-MI'].value or (settings.startup['PHI-SA'].value and settings.startup['PHI-SA-VANILLA'].value) then
|
if settings.startup['PHI-MI'].value or (settings.startup['PHI-SA'].value and settings.startup['PHI-SA-GENERIC'].value) or (settings.startup['PHI-VP'].value and settings.startup['PHI-VP-MAIN'].value) then
|
||||||
data.raw['mining-drill']['electric-mining-drill'].filter_count = 5
|
data.raw['mining-drill']['electric-mining-drill'].filter_count = 5
|
||||||
|
|
||||||
if mods['space-age'] then
|
if mods['space-age'] then
|
||||||
@@ -297,7 +297,7 @@ if settings.startup['PHI-MI'].value then
|
|||||||
data.raw['utility-constants'].default.default_item_weight = settings.startup['PHI-MI-CARGO-WEIGHT'].value
|
data.raw['utility-constants'].default.default_item_weight = settings.startup['PHI-MI-CARGO-WEIGHT'].value
|
||||||
end
|
end
|
||||||
|
|
||||||
if (settings.startup['PHI-CT'].value and settings.startup['PHI-CT-TOOL'].value) or (settings.startup['PHI-MI'].value) or (settings.startup['PHI-SA'].value and (settings.startup['PHI-SA-RESTRICTION'].value or settings.startup['PHI-SA-VANILLA'].value)) then
|
if (settings.startup['PHI-CT'].value and settings.startup['PHI-CT-TOOL'].value) or (settings.startup['PHI-MI'].value) or (settings.startup['PHI-SA'].value and settings.startup['PHI-SA-RESTRICTION'].value) or (settings.startup['PHI-VP'].value and settings.startup['PHI-VP-MAIN'].value) then
|
||||||
data:extend({{type = 'recipe-category', name = 'fluid'}})
|
data:extend({{type = 'recipe-category', name = 'fluid'}})
|
||||||
|
|
||||||
item = table.deepcopy(data.raw['item']['offshore-pump'])
|
item = table.deepcopy(data.raw['item']['offshore-pump'])
|
||||||
@@ -378,6 +378,126 @@ if (settings.startup['PHI-CT'].value and settings.startup['PHI-CT-TOOL'].value)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if mods['space-age'] and ((settings.startup['PHI-SA'].value and settings.startup['PHI-SA-RESTRICTION'].value) or (settings.startup['PHI-VP'].value and settings.startup['PHI-VP-MAIN'].value)) then
|
||||||
|
for k, v in pairs(items['space-age']['PHI-SA-RESTRICTION']['surface_conditions']) do
|
||||||
|
data.raw[v][k].surface_conditions = nil
|
||||||
|
end
|
||||||
|
|
||||||
|
for _, v in pairs(data.raw.recipe) do
|
||||||
|
v.surface_conditions = nil
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if mods['space-age'] and ((settings.startup['PHI-SA'].value and settings.startup['PHI-SA-MAX-QUALITY'].value) or (settings.startup['PHI-VP'].value and settings.startup['PHI-VP-MAIN'].value)) then
|
||||||
|
for _, v in pairs({'quality-module', 'quality-module-2', 'quality-module-3'}) do
|
||||||
|
data.raw.technology[v] = nil
|
||||||
|
data.raw.module[v] = nil
|
||||||
|
data.raw.recipe[v] = nil
|
||||||
|
data.raw.recipe[v .. '-recycling'] = nil
|
||||||
|
end
|
||||||
|
|
||||||
|
data.raw.technology['epic-quality'] = nil
|
||||||
|
data.raw.technology['legendary-quality'] = nil
|
||||||
|
|
||||||
|
for _, v in pairs({'uncommon', 'rare', 'epic', 'legendary'}) do
|
||||||
|
data.raw.quality[v].hidden = true
|
||||||
|
data.raw.quality[v].hidden_in_factoriopedia = true
|
||||||
|
end
|
||||||
|
|
||||||
|
data.raw.quality.normal.next = nil
|
||||||
|
data.raw.quality.normal.next_probability = nil
|
||||||
|
data.raw.quality.normal.hidden = true
|
||||||
|
data.raw.quality.normal.hidden_in_factoriopedia = true
|
||||||
|
|
||||||
|
data.raw['tips-and-tricks-item']['quality'] = nil
|
||||||
|
data.raw['tips-and-tricks-item']['quality-modules'] = nil
|
||||||
|
data.raw['tips-and-tricks-item']['quality-factoriopedia'] = nil
|
||||||
|
data.raw['tips-and-tricks-item']['quality-probabilities'] = nil
|
||||||
|
|
||||||
|
data.raw['produce-achievement']['crafting-with-quality'] = nil
|
||||||
|
data.raw['module-transfer-achievement']['make-it-better'] = nil
|
||||||
|
data.raw['produce-achievement']['my-modules-are-legendary'] = nil
|
||||||
|
data.raw['equip-armor-achievement']['look-at-my-shiny-rare-armor'] = nil
|
||||||
|
data.raw['use-item-achievement']['todays-fish-is-trout-a-la-creme'] = nil
|
||||||
|
data.raw['place-equipment-achievement']['no-room-for-more'] = nil
|
||||||
|
end
|
||||||
|
|
||||||
|
if mods['space-age'] and ((settings.startup['PHI-SA'].value or settings.startup['PHI-SA-GENERIC'].value) or (settings.startup['PHI-VP'].value or settings.startup['PHI-VP-MAIN'].value)) then
|
||||||
|
data.raw.resource['lithium-brine'].infinite = true
|
||||||
|
data.raw.resource['lithium-brine'].minimum = 60000
|
||||||
|
data.raw.resource['lithium-brine'].normal = 300000
|
||||||
|
data.raw.resource['lithium-brine'].infinite_depletion_amount = 10
|
||||||
|
data.raw.resource['fluorine-vent'].minimum = 60000
|
||||||
|
data.raw.resource['fluorine-vent'].normal = 300000
|
||||||
|
|
||||||
|
data.raw['roboport']['roboport'].charging_station_count_affected_by_quality = true
|
||||||
|
data.raw['roboport-equipment']['personal-roboport-equipment'].charging_station_count_affected_by_quality = true
|
||||||
|
data.raw['space-platform-hub']['space-platform-hub'].platform_repair_speed_modifier = 2
|
||||||
|
data.raw['space-platform-hub']['space-platform-hub'].inventory_size = 119
|
||||||
|
data.raw['cargo-bay']['cargo-bay'].inventory_size_bonus = 40
|
||||||
|
data.raw['rocket-silo']['rocket-silo'].to_be_inserted_to_rocket_inventory_size = 60
|
||||||
|
data.raw['rocket-silo-rocket']['rocket-silo-rocket'].inventory_size = 60
|
||||||
|
|
||||||
|
data.raw.technology['foundation'].prerequisites = {'elevated-rail', 'rail-support-foundations'}
|
||||||
|
data.raw.technology['foundation'].unit.count_formula = '1000'
|
||||||
|
data.raw.technology['foundation'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}}
|
||||||
|
data.raw.technology['rail-support-foundations'].prerequisites = {'elevated-rail'}
|
||||||
|
data.raw.technology['rail-support-foundations'].unit.count = 600
|
||||||
|
data.raw.technology['rail-support-foundations'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}}
|
||||||
|
data.raw.technology['elevated-rail'].prerequisites = {'concrete'}
|
||||||
|
data.raw.technology['elevated-rail'].unit.count = 200
|
||||||
|
data.raw.technology['elevated-rail'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}}
|
||||||
|
|
||||||
|
data.raw.recipe['foundation'].ingredients = {{type = 'item', name = 'stone', amount = 40}, {type = 'item', name = 'refined-concrete', amount = 20}, {type = 'item', name = 'steel-plate', amount = 20}}
|
||||||
|
data.raw.recipe['foundation'].results = {{type = 'item', name = 'foundation', amount = 10}}
|
||||||
|
data.raw.recipe['atomic-bomb'].ingredients[3] = {type = 'item', name = 'uranium-235', amount = 30}
|
||||||
|
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-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['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}}
|
||||||
|
|
||||||
|
table.insert(data.raw['thruster']['thruster'].fuel_fluid_box.pipe_connections, {flow_direction = 'input-output', direction = defines.direction.west, position = {-1.5, 2}})
|
||||||
|
table.insert(data.raw['thruster']['thruster'].oxidizer_fluid_box.pipe_connections, {flow_direction = 'input-output', direction = defines.direction.east, position = {1.5, 2}})
|
||||||
|
|
||||||
|
for _, v in pairs(data.raw['cargo-wagon']) do
|
||||||
|
v.quality_affects_inventory_size = true
|
||||||
|
end
|
||||||
|
|
||||||
|
for _, v in pairs(data.raw['fluid-wagon']) do
|
||||||
|
v.quality_affects_inventory_size = true
|
||||||
|
end
|
||||||
|
|
||||||
|
data.raw.tile['space-platform-foundation'].max_health = data.raw.tile['space-platform-foundation'].max_health * 2
|
||||||
|
data.raw.item['space-platform-foundation'].stack_size = 100
|
||||||
|
|
||||||
|
data.raw['ammo-turret']['railgun-turret'].starting_attack_speed = 1
|
||||||
|
data.raw['ammo-turret']['railgun-turret'].starting_attack_speed_secondary = 1
|
||||||
|
data.raw['ammo-turret']['railgun-turret'].starting_attack_speed_when_killed = 1
|
||||||
|
data.raw['ammo-turret']['railgun-turret'].preparing_speed = 1
|
||||||
|
data.raw['ammo-turret']['railgun-turret'].attacking_speed = 1
|
||||||
|
data.raw['ammo-turret']['railgun-turret'].ending_attack_speed = 1
|
||||||
|
data.raw['ammo-turret']['railgun-turret'].folding_speed = 1
|
||||||
|
data.raw['ammo-turret']['railgun-turret'].energy_source.input_flow_limit = tonumber(string.match(data.raw['ammo-turret']['railgun-turret'].energy_source.input_flow_limit, '[%d%.]+')) * 32 .. string.match(data.raw['ammo-turret']['railgun-turret'].energy_source.input_flow_limit, '%a+')
|
||||||
|
|
||||||
|
for _, v in pairs({'carbonic-asteroid-chunk', 'metallic-asteroid-chunk', 'promethium-asteroid-chunk', 'oxide-asteroid-chunk', 'artillery-shell'}) do
|
||||||
|
if data.raw.item[v] then
|
||||||
|
data.raw.item[v].stack_size = data.raw['inserter']['stack-inserter'].max_belt_stack_size
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
for _, v in pairs(data.raw.tile) do
|
||||||
|
if v.fluid then
|
||||||
|
v.destroys_dropped_items = true
|
||||||
|
v.default_destroyed_dropped_item_trigger = nil
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
for _, v in pairs(data.raw.recipe) do
|
||||||
|
if v.maximum_productivity then
|
||||||
|
v.maximum_productivity = nil
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-SA'].value then
|
if settings.startup['PHI-SA'].value then
|
||||||
if settings.startup['PHI-SA-SPOIL-FREEZE'].value and settings.startup['PHI-SA-SPOIL'].value and mods['space-age'] then
|
if settings.startup['PHI-SA-SPOIL-FREEZE'].value and settings.startup['PHI-SA-SPOIL'].value and mods['space-age'] then
|
||||||
local function spoil_handle(i)
|
local function spoil_handle(i)
|
||||||
@@ -483,16 +603,6 @@ if settings.startup['PHI-SA'].value then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if (settings.startup['PHI-SA-RESTRICTION'].value or settings.startup['PHI-SA-VANILLA'].value) and mods['space-age'] then
|
|
||||||
for k, v in pairs(items['space-age']['PHI-SA-RESTRICTION']['surface_conditions']) do
|
|
||||||
data.raw[v][k].surface_conditions = nil
|
|
||||||
end
|
|
||||||
|
|
||||||
for _, v in pairs(data.raw.recipe) do
|
|
||||||
v.surface_conditions = nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if settings.startup['PHI-SA-RESTRICTION'].value and mods['space-age'] then
|
if settings.startup['PHI-SA-RESTRICTION'].value and mods['space-age'] then
|
||||||
data.raw['character']['character']['mining_categories'] = {'basic-solid', 'hard-solid'}
|
data.raw['character']['character']['mining_categories'] = {'basic-solid', 'hard-solid'}
|
||||||
|
|
||||||
@@ -571,40 +681,6 @@ if settings.startup['PHI-SA'].value then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if (settings.startup['PHI-SA-MAX-QUALITY'].value or settings.startup['PHI-SA-VANILLA'].value) and mods['space-age'] then
|
|
||||||
for _, v in pairs({'quality-module', 'quality-module-2', 'quality-module-3'}) do
|
|
||||||
data.raw.technology[v] = nil
|
|
||||||
data.raw.module[v] = nil
|
|
||||||
data.raw.recipe[v] = nil
|
|
||||||
data.raw.recipe[v .. '-recycling'] = nil
|
|
||||||
end
|
|
||||||
|
|
||||||
data.raw.technology['epic-quality'] = nil
|
|
||||||
data.raw.technology['legendary-quality'] = nil
|
|
||||||
|
|
||||||
for _, v in pairs({'uncommon', 'rare', 'epic', 'legendary'}) do
|
|
||||||
data.raw.quality[v].hidden = true
|
|
||||||
data.raw.quality[v].hidden_in_factoriopedia = true
|
|
||||||
end
|
|
||||||
|
|
||||||
data.raw.quality.normal.next = nil
|
|
||||||
data.raw.quality.normal.next_probability = nil
|
|
||||||
data.raw.quality.normal.hidden = true
|
|
||||||
data.raw.quality.normal.hidden_in_factoriopedia = true
|
|
||||||
|
|
||||||
data.raw['tips-and-tricks-item']['quality'] = nil
|
|
||||||
data.raw['tips-and-tricks-item']['quality-modules'] = nil
|
|
||||||
data.raw['tips-and-tricks-item']['quality-factoriopedia'] = nil
|
|
||||||
data.raw['tips-and-tricks-item']['quality-probabilities'] = nil
|
|
||||||
|
|
||||||
data.raw['produce-achievement']['crafting-with-quality'] = nil
|
|
||||||
data.raw['module-transfer-achievement']['make-it-better'] = nil
|
|
||||||
data.raw['produce-achievement']['my-modules-are-legendary'] = nil
|
|
||||||
data.raw['equip-armor-achievement']['look-at-my-shiny-rare-armor'] = nil
|
|
||||||
data.raw['use-item-achievement']['todays-fish-is-trout-a-la-creme'] = nil
|
|
||||||
data.raw['place-equipment-achievement']['no-room-for-more'] = nil
|
|
||||||
end
|
|
||||||
|
|
||||||
if settings.startup['PHI-SA-MAX-QUALITY'].value and mods['quality'] then
|
if settings.startup['PHI-SA-MAX-QUALITY'].value and mods['quality'] then
|
||||||
data.raw.quality.normal.level = 5
|
data.raw.quality.normal.level = 5
|
||||||
data.raw.quality.normal.beacon_power_usage_multiplier = 1 / 6
|
data.raw.quality.normal.beacon_power_usage_multiplier = 1 / 6
|
||||||
@@ -624,87 +700,10 @@ if settings.startup['PHI-SA'].value then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
if (settings.startup['PHI-SA-GENERIC'].value or settings.startup['PHI-SA-VANILLA'].value) and mods['space-age'] then
|
if settings.startup['PHI-VP'].value then
|
||||||
data.raw.resource['lithium-brine'].infinite = true
|
if mods['space-age'] and settings.startup['PHI-VP-MAIN'].value then
|
||||||
data.raw.resource['lithium-brine'].minimum = 60000
|
|
||||||
data.raw.resource['lithium-brine'].normal = 300000
|
|
||||||
data.raw.resource['lithium-brine'].infinite_depletion_amount = 10
|
|
||||||
data.raw.resource['fluorine-vent'].minimum = 60000
|
|
||||||
data.raw.resource['fluorine-vent'].normal = 300000
|
|
||||||
|
|
||||||
data.raw['roboport']['roboport'].charging_station_count_affected_by_quality = true
|
|
||||||
data.raw['roboport-equipment']['personal-roboport-equipment'].charging_station_count_affected_by_quality = true
|
|
||||||
data.raw['space-platform-hub']['space-platform-hub'].platform_repair_speed_modifier = 2
|
|
||||||
data.raw['space-platform-hub']['space-platform-hub'].inventory_size = 119
|
|
||||||
data.raw['cargo-bay']['cargo-bay'].inventory_size_bonus = 40
|
|
||||||
data.raw['rocket-silo']['rocket-silo'].to_be_inserted_to_rocket_inventory_size = 60
|
|
||||||
data.raw['rocket-silo-rocket']['rocket-silo-rocket'].inventory_size = 60
|
|
||||||
|
|
||||||
data.raw.technology['foundation'].prerequisites = {'elevated-rail', 'rail-support-foundations'}
|
|
||||||
data.raw.technology['foundation'].unit.count_formula = '1000'
|
|
||||||
data.raw.technology['foundation'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}}
|
|
||||||
data.raw.technology['rail-support-foundations'].prerequisites = {'elevated-rail'}
|
|
||||||
data.raw.technology['rail-support-foundations'].unit.count = 600
|
|
||||||
data.raw.technology['rail-support-foundations'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}}
|
|
||||||
data.raw.technology['elevated-rail'].prerequisites = {'concrete'}
|
|
||||||
data.raw.technology['elevated-rail'].unit.count = 200
|
|
||||||
data.raw.technology['elevated-rail'].unit.ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}}
|
|
||||||
|
|
||||||
data.raw.recipe['foundation'].ingredients = {{type = 'item', name = 'stone', amount = 40}, {type = 'item', name = 'refined-concrete', amount = 20}, {type = 'item', name = 'steel-plate', amount = 20}}
|
|
||||||
data.raw.recipe['foundation'].results = {{type = 'item', name = 'foundation', amount = 10}}
|
|
||||||
data.raw.recipe['atomic-bomb'].ingredients[3] = {type = 'item', name = 'uranium-235', amount = 30}
|
|
||||||
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-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['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}}
|
|
||||||
|
|
||||||
table.insert(data.raw['thruster']['thruster'].fuel_fluid_box.pipe_connections, {flow_direction = 'input-output', direction = defines.direction.west, position = {-1.5, 2}})
|
|
||||||
table.insert(data.raw['thruster']['thruster'].oxidizer_fluid_box.pipe_connections, {flow_direction = 'input-output', direction = defines.direction.east, position = {1.5, 2}})
|
|
||||||
|
|
||||||
for _, v in pairs(data.raw['cargo-wagon']) do
|
|
||||||
v.quality_affects_inventory_size = true
|
|
||||||
end
|
|
||||||
|
|
||||||
for _, v in pairs(data.raw['fluid-wagon']) do
|
|
||||||
v.quality_affects_inventory_size = true
|
|
||||||
end
|
|
||||||
|
|
||||||
data.raw.tile['space-platform-foundation'].max_health = data.raw.tile['space-platform-foundation'].max_health * 2
|
|
||||||
data.raw.item['space-platform-foundation'].stack_size = 100
|
|
||||||
|
|
||||||
data.raw['ammo-turret']['railgun-turret'].starting_attack_speed = 1
|
|
||||||
data.raw['ammo-turret']['railgun-turret'].starting_attack_speed_secondary = 1
|
|
||||||
data.raw['ammo-turret']['railgun-turret'].starting_attack_speed_when_killed = 1
|
|
||||||
data.raw['ammo-turret']['railgun-turret'].preparing_speed = 1
|
|
||||||
data.raw['ammo-turret']['railgun-turret'].attacking_speed = 1
|
|
||||||
data.raw['ammo-turret']['railgun-turret'].ending_attack_speed = 1
|
|
||||||
data.raw['ammo-turret']['railgun-turret'].folding_speed = 1
|
|
||||||
data.raw['ammo-turret']['railgun-turret'].energy_source.input_flow_limit = tonumber(string.match(data.raw['ammo-turret']['railgun-turret'].energy_source.input_flow_limit, '[%d%.]+')) * 32 .. string.match(data.raw['ammo-turret']['railgun-turret'].energy_source.input_flow_limit, '%a+')
|
|
||||||
|
|
||||||
for _, v in pairs({'carbonic-asteroid-chunk', 'metallic-asteroid-chunk', 'promethium-asteroid-chunk', 'oxide-asteroid-chunk', 'artillery-shell'}) do
|
|
||||||
if data.raw.item[v] then
|
|
||||||
data.raw.item[v].stack_size = data.raw['inserter']['stack-inserter'].max_belt_stack_size
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
for _, v in pairs(data.raw.tile) do
|
|
||||||
if v.fluid then
|
|
||||||
v.destroys_dropped_items = true
|
|
||||||
v.default_destroyed_dropped_item_trigger = nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
for _, v in pairs(data.raw.recipe) do
|
|
||||||
if v.maximum_productivity then
|
|
||||||
v.maximum_productivity = nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if settings.startup['PHI-SA-VANILLA'].value then
|
|
||||||
if mods['space-age'] then
|
|
||||||
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'sulfuric-acid', damage_modifier = 1.2})
|
|
||||||
|
|
||||||
for _, v in pairs({'vulcanus', 'gleba', 'fulgora', 'aquilo'}) do
|
for _, v in pairs({'vulcanus', 'gleba', 'fulgora', 'aquilo'}) do
|
||||||
data.raw.planet[v].map_gen_settings = nil
|
data.raw.planet[v].map_gen_settings = nil
|
||||||
data.raw.planet[v].hidden = true
|
data.raw.planet[v].hidden = true
|
||||||
@@ -1019,7 +1018,7 @@ if settings.startup['PHI-SA'].value then
|
|||||||
data.raw.technology['biolab'].prerequisites = {'production-science-pack', 'utility-science-pack'}
|
data.raw.technology['biolab'].prerequisites = {'production-science-pack', 'utility-science-pack'}
|
||||||
data.raw.technology['biolab'].unit = {count = 800, time = 60, ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}}}
|
data.raw.technology['biolab'].unit = {count = 800, time = 60, ingredients = {{'automation-science-pack', 1}, {'logistic-science-pack', 1}, {'chemical-science-pack', 1}, {'production-science-pack', 1}, {'utility-science-pack', 1}}}
|
||||||
|
|
||||||
for k, v in pairs(items['space-age']['PHI-SA-VANILLA']['technology']) do
|
for k, v in pairs(items['space-age']['PHI-VP-MAIN']['technology']) do
|
||||||
data.raw.technology[k].hidden = v
|
data.raw.technology[k].hidden = v
|
||||||
data.raw.technology[k].hidden_in_factoriopedia = v
|
data.raw.technology[k].hidden_in_factoriopedia = v
|
||||||
|
|
||||||
@@ -1028,7 +1027,7 @@ if settings.startup['PHI-SA'].value then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
for k, v in pairs(items['space-age']['PHI-SA-VANILLA']['recipe']) do
|
for k, v in pairs(items['space-age']['PHI-VP-MAIN']['recipe']) do
|
||||||
if data.raw.recipe[k] then
|
if data.raw.recipe[k] then
|
||||||
data.raw.recipe[k].hidden = v
|
data.raw.recipe[k].hidden = v
|
||||||
data.raw.recipe[k].hidden_in_factoriopedia = v
|
data.raw.recipe[k].hidden_in_factoriopedia = v
|
||||||
@@ -1098,6 +1097,8 @@ if settings.startup['PHI-SA'].value then
|
|||||||
data.raw['assembling-machine']['foundry'].effect_receiver = nil
|
data.raw['assembling-machine']['foundry'].effect_receiver = nil
|
||||||
data.raw['assembling-machine']['foundry'].crafting_categories = {table.unpack(data.raw['furnace']['electric-furnace'].crafting_categories)}
|
data.raw['assembling-machine']['foundry'].crafting_categories = {table.unpack(data.raw['furnace']['electric-furnace'].crafting_categories)}
|
||||||
|
|
||||||
|
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'sulfuric-acid', damage_modifier = 1.2})
|
||||||
|
|
||||||
data.raw['plant']['yumako-tree'].hidden = true
|
data.raw['plant']['yumako-tree'].hidden = true
|
||||||
data.raw['plant']['yumako-tree'].hidden_in_factoriopedia = true
|
data.raw['plant']['yumako-tree'].hidden_in_factoriopedia = true
|
||||||
data.raw['plant']['jellystem'].hidden = true
|
data.raw['plant']['jellystem'].hidden = true
|
||||||
@@ -1156,13 +1157,12 @@ if settings.startup['PHI-SA'].value then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if mods['quality'] and (not settings.startup['PHI-SA-MAX-QUALITY'].value) then
|
if mods['quality'] and settings.startup['PHI-VP-MAIN'].value and (not settings.startup['PHI-SA-MAX-QUALITY'].value) then
|
||||||
data.raw.quality.normal.level = 0
|
data.raw.quality.normal.level = 0
|
||||||
data.raw.quality.normal.beacon_power_usage_multiplier = 1
|
data.raw.quality.normal.beacon_power_usage_multiplier = 1
|
||||||
data.raw.quality.normal.mining_drill_resource_drain_multiplier = 1
|
data.raw.quality.normal.mining_drill_resource_drain_multiplier = 1
|
||||||
data.raw.quality.normal.science_pack_drain_multiplier = 1
|
data.raw.quality.normal.science_pack_drain_multiplier = 1
|
||||||
end
|
end
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-CT'].value then
|
if settings.startup['PHI-CT'].value then
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "PHI-CL",
|
"name": "PHI-CL",
|
||||||
"version": "3.0.68",
|
"version": "3.0.69",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"date": "2025-03-06",
|
"date": "2025-03-07",
|
||||||
"title": "Phidias Collection",
|
"title": "Phidias Collection",
|
||||||
"author": "PHIDIAS0303",
|
"author": "PHIDIAS0303",
|
||||||
"contributers": "",
|
"contributers": "",
|
||||||
|
|||||||
@@ -133,7 +133,9 @@ PHI-SA-QUALITY=[color=54,228,255]SA5[/color]
|
|||||||
PHI-SA-MAX-QUALITY=[color=54,228,255]SA6[/color]
|
PHI-SA-MAX-QUALITY=[color=54,228,255]SA6[/color]
|
||||||
PHI-SA-RESTRICTION=[color=54,228,255]SA7[/color]
|
PHI-SA-RESTRICTION=[color=54,228,255]SA7[/color]
|
||||||
PHI-SA-GENERIC=[color=54,228,255]SA8[/color]
|
PHI-SA-GENERIC=[color=54,228,255]SA8[/color]
|
||||||
PHI-SA-VANILLA=[color=54,228,255]SA9[/color]
|
|
||||||
|
PHI-VP=[color=255,254,42]VP[/color]
|
||||||
|
PHI-VP-MAIN=[color=54,228,255]VP1[/color]
|
||||||
|
|
||||||
PHI-CT=[color=255,254,42]CT[/color]
|
PHI-CT=[color=255,254,42]CT[/color]
|
||||||
PHI-CT-TOOL=[color=54,228,255]CT1[/color]
|
PHI-CT-TOOL=[color=54,228,255]CT1[/color]
|
||||||
@@ -183,7 +185,9 @@ PHI-SA-RESTRICTION=Disable certain restriction
|
|||||||
PHI-SA-GENERIC=Generic change
|
PHI-SA-GENERIC=Generic change
|
||||||
PHI-SA-QUALITY=Quality chance multiplier
|
PHI-SA-QUALITY=Quality chance multiplier
|
||||||
PHI-SA-MAX-QUALITY=Max quality
|
PHI-SA-MAX-QUALITY=Max quality
|
||||||
PHI-SA-VANILLA=2.0 Vanilla
|
|
||||||
|
PHI-VP=[color=255,254,42]Vanilla Plus[/color]
|
||||||
|
PHI-VP-MAIN=Main changes
|
||||||
|
|
||||||
PHI-CT=[color=255,254,42]Creative testing tools[/color]
|
PHI-CT=[color=255,254,42]Creative testing tools[/color]
|
||||||
PHI-CT-TOOL=Tool
|
PHI-CT-TOOL=Tool
|
||||||
|
|||||||
@@ -133,7 +133,9 @@ PHI-SA-RESTRICTION=関連要件を無効にする
|
|||||||
PHI-SA-GENERIC=一般的な変更
|
PHI-SA-GENERIC=一般的な変更
|
||||||
PHI-SA-QUALITY=品質確率マルチプライヤ
|
PHI-SA-QUALITY=品質確率マルチプライヤ
|
||||||
PHI-SA-MAX-QUALITY=最大品質
|
PHI-SA-MAX-QUALITY=最大品質
|
||||||
PHI-SA-VANILLA=2.0 オリジナル
|
|
||||||
|
PHI-VP=[color=255,254,42]バニラプラス[/color]
|
||||||
|
PHI-VP-MAIN=主な変更点
|
||||||
|
|
||||||
PHI-CT=[color=255,254,42]クリエイティブテストツール[/color]
|
PHI-CT=[color=255,254,42]クリエイティブテストツール[/color]
|
||||||
PHI-CT-TOOL=ツール
|
PHI-CT-TOOL=ツール
|
||||||
|
|||||||
@@ -133,7 +133,9 @@ PHI-SA-RESTRICTION=取消相關要求
|
|||||||
PHI-SA-GENERIC=通用修改
|
PHI-SA-GENERIC=通用修改
|
||||||
PHI-SA-QUALITY=品質概率倍數
|
PHI-SA-QUALITY=品質概率倍數
|
||||||
PHI-SA-MAX-QUALITY=最大品質
|
PHI-SA-MAX-QUALITY=最大品質
|
||||||
PHI-SA-VANILLA=2.0 原版
|
|
||||||
|
PHI-VP=[color=255,254,42]原版加[/color]
|
||||||
|
PHI-VP-MAIN=主要更改
|
||||||
|
|
||||||
PHI-CT=[color=255,254,42]創意測試工具[/color]
|
PHI-CT=[color=255,254,42]創意測試工具[/color]
|
||||||
PHI-CT-TOOL=工具
|
PHI-CT-TOOL=工具
|
||||||
|
|||||||
@@ -133,7 +133,9 @@ PHI-SA-RESTRICTION=取消相關要求
|
|||||||
PHI-SA-GENERIC=通用修改
|
PHI-SA-GENERIC=通用修改
|
||||||
PHI-SA-QUALITY=品質概率倍數
|
PHI-SA-QUALITY=品質概率倍數
|
||||||
PHI-SA-MAX-QUALITY=最大品質
|
PHI-SA-MAX-QUALITY=最大品質
|
||||||
PHI-SA-VANILLA=2.0 原版
|
|
||||||
|
PHI-VP=[color=255,254,42]原版加[/color]
|
||||||
|
PHI-VP-MAIN=主要更改
|
||||||
|
|
||||||
PHI-CT=[color=255,254,42]創意測試工具[/color]
|
PHI-CT=[color=255,254,42]創意測試工具[/color]
|
||||||
PHI-CT-TOOL=工具
|
PHI-CT-TOOL=工具
|
||||||
|
|||||||
+16
-9
@@ -288,46 +288,53 @@ data:extend({
|
|||||||
order = 'D08'
|
order = 'D08'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-SA-VANILLA',
|
name = 'PHI-VP',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = false,
|
default_value = false,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-SA-VANILLA'}, {'mod-setting-name.PHI-SA-VANILLA'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-VP'}, {'mod-setting-name.PHI-VP'}},
|
||||||
order = 'D09'
|
order = 'E00'
|
||||||
|
}, {
|
||||||
|
type = 'bool-setting',
|
||||||
|
name = 'PHI-VP-MAIN',
|
||||||
|
setting_type = 'startup',
|
||||||
|
default_value = false,
|
||||||
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-VP-MAIN'}, {'mod-setting-name.PHI-VP-MAIN'}},
|
||||||
|
order = 'E01'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-CT',
|
name = 'PHI-CT',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = false,
|
default_value = false,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-CT'}, {'mod-setting-name.PHI-CT'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-CT'}, {'mod-setting-name.PHI-CT'}},
|
||||||
order = 'E00'
|
order = 'F00'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-CT-TOOL',
|
name = 'PHI-CT-TOOL',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = true,
|
default_value = true,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-CT-TOOL'}, {'mod-setting-name.PHI-CT-TOOL'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-CT-TOOL'}, {'mod-setting-name.PHI-CT-TOOL'}},
|
||||||
order = 'E01'
|
order = 'F01'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-CT-UTILITY',
|
name = 'PHI-CT-UTILITY',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = true,
|
default_value = true,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-CT-UTILITY'}, {'mod-setting-name.PHI-CT-UTILITY'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-CT-UTILITY'}, {'mod-setting-name.PHI-CT-UTILITY'}},
|
||||||
order = 'E02'
|
order = 'F02'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-CT-HIDDEN',
|
name = 'PHI-CT-HIDDEN',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = true,
|
default_value = true,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-CT-HIDDEN'}, {'mod-setting-name.PHI-CT-HIDDEN'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-CT-HIDDEN'}, {'mod-setting-name.PHI-CT-HIDDEN'}},
|
||||||
order = 'E03'
|
order = 'F03'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
name = 'PHI-CT-TILE',
|
name = 'PHI-CT-TILE',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = false,
|
default_value = false,
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-CT-TILE'}, {'mod-setting-name.PHI-CT-TILE'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-CT-TILE'}, {'mod-setting-name.PHI-CT-TILE'}},
|
||||||
order = 'E04'
|
order = 'F04'
|
||||||
}, {
|
}, {
|
||||||
type = 'string-setting',
|
type = 'string-setting',
|
||||||
name = 'PHI-CT-TILE-CHOICE',
|
name = 'PHI-CT-TILE-CHOICE',
|
||||||
@@ -335,6 +342,6 @@ data:extend({
|
|||||||
default_value = 'grass-1',
|
default_value = 'grass-1',
|
||||||
allowed_values = {'concrete', 'deepwater', 'deepwater-green', 'dirt-1', 'dirt-2', 'dirt-3', 'dirt-4', 'dirt-5', 'dirt-6', 'dirt-7', 'dry-dirt', 'grass-1', 'grass-2', 'grass-3', 'grass-4', 'hazard-concrete-left', 'hazard-concrete-right', 'lab-dark-1', 'lab-dark-2', 'lab-white', 'landfill', 'out-of-map', 'red-desert-0', 'red-desert-1', 'red-desert-2', 'red-desert-3', 'refined-concrete', 'refined-hazard-concrete-left', 'refined-hazard-concrete-right', 'sand-1', 'sand-2', 'sand-3', 'stone-path', 'tutorial-grid', 'water', 'water-green', 'water-mud', 'water-shallow'},
|
allowed_values = {'concrete', 'deepwater', 'deepwater-green', 'dirt-1', 'dirt-2', 'dirt-3', 'dirt-4', 'dirt-5', 'dirt-6', 'dirt-7', 'dry-dirt', 'grass-1', 'grass-2', 'grass-3', 'grass-4', 'hazard-concrete-left', 'hazard-concrete-right', 'lab-dark-1', 'lab-dark-2', 'lab-white', 'landfill', 'out-of-map', 'red-desert-0', 'red-desert-1', 'red-desert-2', 'red-desert-3', 'refined-concrete', 'refined-hazard-concrete-left', 'refined-hazard-concrete-right', 'sand-1', 'sand-2', 'sand-3', 'stone-path', 'tutorial-grid', 'water', 'water-green', 'water-mud', 'water-shallow'},
|
||||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-CT-TILE-CHOICE'}, {'mod-setting-name.PHI-CT-TILE-CHOICE'}},
|
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-CT-TILE-CHOICE'}, {'mod-setting-name.PHI-CT-TILE-CHOICE'}},
|
||||||
order = 'E05'
|
order = 'F05'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
Reference in new issue
Block a user