diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index 4822682..233f711 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -246,6 +246,187 @@ if settings.startup['PHI-MI'].value then end end +if settings.startup['PHI-SA'].value then + if (not settings.startup['PHI-SA-SPOIL'].value) and mods['space-age'] then + local function spoil_handle(i) + i.spoil_ticks = nil + i.spoil_result = nil + i.spoil_to_trigger_result = nil + end + + -- spoil_handle(data.raw['item']['iron-bacteria']) + -- spoil_handle(data.raw['item']['copper-bacteria']) + spoil_handle(data.raw['item']['nutrients']) + spoil_handle(data.raw['item']['captive-biter-spawner']) + spoil_handle(data.raw['item']['biter-egg']) + spoil_handle(data.raw['item']['pentapod-egg']) + spoil_handle(data.raw['capsule']['raw-fish']) + spoil_handle(data.raw['capsule']['yumako-mash']) + spoil_handle(data.raw['capsule']['yumako']) + spoil_handle(data.raw['capsule']['jelly']) + spoil_handle(data.raw['capsule']['jellynut']) + spoil_handle(data.raw['capsule']['bioflux']) + spoil_handle(data.raw['tool']['agricultural-science-pack']) + + data:extend({{ + type = 'recipe', + name = 'spoilage-from-nutrients', + energy_required = 1, + enabled = false, + ingredients = {{type='item', name='nutrients', amount=1}}, + results = {{type='item', name='spoilage', amount=10}}, + main_product = 'spoilage', + localised_name = {'phi-cl.combine', '', ''} + }}) + + table.insert(data.raw.technology['agriculture'].effects, {type='unlock-recipe', recipe='spoilage-from-nutrients'}) + end + + if settings.startup['PHI-SA-GENERIC'].value then + if mods['space-age'] then + data.raw.technology['cliff-explosives'].prerequisites = {'explosives', 'military-2'} + data.raw.technology['cliff-explosives'].unit.count = 200 + data.raw.technology['cliff-explosives'].unit.ingredients = { + {'automation-science-pack', 1}, + {'logistic-science-pack', 1} + } + + local recipe = table.deepcopy(data.raw.recipe['cliff-explosives']) + recipe.name = 'cliff-explosives-o' + recipe.ingredients = { + {type='item', name='explosives', amount=10}, + {type='item', name='grenade', amount=1}, + {type='item', name='barrel', amount=1} + } + recipe.localised_name = {'phi-cl.combine', '', ''} + + data:extend({recipe}) + table.insert(data.raw.technology['cliff-explosives'].effects, {type='unlock-recipe', recipe=recipe.name}) + + 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['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} + } + + recipe = table.deepcopy(data.raw.recipe['foundation']) + recipe.name = 'foundation-o' + recipe.ingredients = { + {type='item', name='stone', amount=40}, + {type='item', name='refined-concrete', amount=20}, + {type='item', name='steel-plate', amount=20} + } + recipe.results = { + {type='item', name='foundation', amount=10} + } + recipe.localised_name = {'phi-cl.combine', '', ''} + + data:extend({recipe}) + table.insert(data.raw.technology['foundation'].effects, {type='unlock-recipe', recipe=recipe.name}) + + 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'].logistic_trash_inventory_size = 20 + 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 + + for _, v in pairs(data.raw.recipe) do + if v.maximum_productivity then + v.maximum_productivity = nil + end + end + + data.raw.recipe['atomic-bomb'].ingredients[3] = {type='item', name='uranium-235', amount=30} + + 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 + end + + if mods['elevated-rails'] then + 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} + } + end + end + + if settings.startup['PHI-SA-QUALITY'].value then + if mods['quality'] then + for _, v in pairs(data.raw.module) do + if v.category and v.category == 'quality' then + v.effect.quality = v.effect.quality * settings.startup['PHI-SA-QUALITY'].value / 10 + + elseif v.category and v.category == 'speed' then + v.effect.quality = nil + end + end + end + end + + if settings.startup['PHI-SA-NO-QUALITY'].value then + if mods['quality'] 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 + + data.raw.quality.uncommon = nil + data.raw.quality.rare = nil + data.raw.quality.epic = nil + data.raw.quality.legendary = nil + + 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 + + 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 + data.raw.quality.normal.hidden_in_factoriopedia = true + data.raw.quality.normal.beacon_power_usage_multiplier = 1 / 6 + data.raw.quality.normal.mining_drill_resource_drain_multiplier = 1 / 6 + data.raw.quality.normal.science_pack_drain_multiplier = 19 / 20 + 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 +end + if settings.startup['PHI-CT'].value then if settings.startup['PHI-CT-TOOL'].value then local item = table.deepcopy(data.raw['item']['radar']) @@ -671,185 +852,6 @@ if settings.startup['PHI-CT'].value then data.raw['loader']['turbo-loader'].max_belt_stack_size = s end end - - if (not settings.startup['PHI-CT-SPOIL'].value) and mods['space-age'] then - local function spoil_handle(i) - i.spoil_ticks = nil - i.spoil_result = nil - i.spoil_to_trigger_result = nil - end - - -- spoil_handle(data.raw['item']['iron-bacteria']) - -- spoil_handle(data.raw['item']['copper-bacteria']) - spoil_handle(data.raw['item']['nutrients']) - spoil_handle(data.raw['item']['captive-biter-spawner']) - spoil_handle(data.raw['item']['biter-egg']) - spoil_handle(data.raw['item']['pentapod-egg']) - spoil_handle(data.raw['capsule']['raw-fish']) - spoil_handle(data.raw['capsule']['yumako-mash']) - spoil_handle(data.raw['capsule']['yumako']) - spoil_handle(data.raw['capsule']['jelly']) - spoil_handle(data.raw['capsule']['jellynut']) - spoil_handle(data.raw['capsule']['bioflux']) - spoil_handle(data.raw['tool']['agricultural-science-pack']) - - data:extend({{ - type = 'recipe', - name = 'spoilage-from-nutrients', - energy_required = 1, - enabled = false, - ingredients = {{type='item', name='nutrients', amount=1}}, - results = {{type='item', name='spoilage', amount=10}}, - main_product = 'spoilage', - localised_name = {'phi-cl.combine', '', ''} - }}) - - table.insert(data.raw.technology['agriculture'].effects, {type='unlock-recipe', recipe='spoilage-from-nutrients'}) - end - - if settings.startup['PHI-CT-SA'].value then - if mods['space-age'] then - data.raw.technology['cliff-explosives'].prerequisites = {'explosives', 'military-2'} - data.raw.technology['cliff-explosives'].unit.count = 200 - data.raw.technology['cliff-explosives'].unit.ingredients = { - {'automation-science-pack', 1}, - {'logistic-science-pack', 1} - } - - local recipe = table.deepcopy(data.raw.recipe['cliff-explosives']) - recipe.name = 'cliff-explosives-o' - recipe.ingredients = { - {type='item', name='explosives', amount=10}, - {type='item', name='grenade', amount=1}, - {type='item', name='barrel', amount=1} - } - recipe.localised_name = {'phi-cl.combine', '', ''} - - data:extend({recipe}) - table.insert(data.raw.technology['cliff-explosives'].effects, {type='unlock-recipe', recipe=recipe.name}) - - 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['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} - } - - recipe = table.deepcopy(data.raw.recipe['foundation']) - recipe.name = 'foundation-o' - recipe.ingredients = { - {type='item', name='stone', amount=40}, - {type='item', name='refined-concrete', amount=20}, - {type='item', name='steel-plate', amount=20} - } - recipe.results = { - {type='item', name='foundation', amount=10} - } - recipe.localised_name = {'phi-cl.combine', '', ''} - - data:extend({recipe}) - table.insert(data.raw.technology['foundation'].effects, {type='unlock-recipe', recipe=recipe.name}) - - 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'].logistic_trash_inventory_size = 20 - 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 - - for _, v in pairs(data.raw.recipe) do - if v.maximum_productivity then - v.maximum_productivity = nil - end - end - - data.raw.recipe['atomic-bomb'].ingredients[3] = {type='item', name='uranium-235', amount=30} - - 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 - end - - if mods['elevated-rails'] then - 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} - } - end - end - - if settings.startup['PHI-CT-QUALITY'].value then - if mods['quality'] then - for _, v in pairs(data.raw.module) do - if v.category and v.category == 'quality' then - v.effect.quality = v.effect.quality * settings.startup['PHI-CT-QUALITY'].value / 10 - - elseif v.category and v.category == 'speed' then - v.effect.quality = nil - end - end - end - end - - if settings.startup['PHI-CT-NO-QUALITY'].value then - if mods['quality'] 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 - - data.raw.quality.uncommon = nil - data.raw.quality.rare = nil - data.raw.quality.epic = nil - data.raw.quality.legendary = nil - - 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 - - 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 - data.raw.quality.normal.hidden_in_factoriopedia = true - data.raw.quality.normal.beacon_power_usage_multiplier = 1 / 6 - data.raw.quality.normal.mining_drill_resource_drain_multiplier = 1 / 6 - data.raw.quality.normal.science_pack_drain_multiplier = 19 / 20 - end - end - - data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-CT-ROCKET-CAPACITY'].value * 100000 - data.raw['utility-constants'].default.default_item_weight = settings.startup['PHI-CT-CARGO-WEIGHT'].value end for _, v in pairs(items['item']) do diff --git a/PHI-CL/info.json b/PHI-CL/info.json index 8c526d4..926d56c 100644 --- a/PHI-CL/info.json +++ b/PHI-CL/info.json @@ -1,6 +1,6 @@ { "name": "PHI-CL", - "version": "3.0.21", + "version": "3.0.22", "factorio_version": "2.0", "date": "2024-11-11", "title": "Phidias Collection", diff --git a/PHI-CL/locale/en/locale.cfg b/PHI-CL/locale/en/locale.cfg index 35e7e96..9131a48 100644 --- a/PHI-CL/locale/en/locale.cfg +++ b/PHI-CL/locale/en/locale.cfg @@ -121,18 +121,20 @@ PHI-MI-ROBOT=MI5A Robot efficiency PHI-MI-ROBOT-ENERGY=MI5B Nuclear fussion robot PHI-MI-TRAIN=MI6 Train efficiency +PHI-SA=SA Space Age +PHI-SA-ROCKET-CAPACITY=SA1 Rocket capacity +PHI-SA-CARGO-WEIGHT=SA2 Rocket cargo weight +PHI-SA-SPOIL=SA3 Spoil +PHI-SA-GENERIC=SA4 Generic +PHI-SA-QUALITY=SA5 Quality +PHI-SA-NO-QUALITY=SA6 No quality + PHI-CT=CT Creative testing tools PHI-CT-TOOL=CT1 Tool PHI-CT-UTILITY=CT2 Utility PHI-CT-HIDDEN=CT3 Hidden -PHI-CT-ROCKET-CAPACITY=CT4 Rocket capacity -PHI-CT-CARGO-WEIGHT=CT5 Rocket cargo weight -PHI-CT-SPOIL=CT6 Spoil -PHI-CT-SA=CT7 Space Age -PHI-CT-QUALITY=CT8 SA Quality -PHI-CT-NO-QUALITY=CT9 SA No quality -PHI-CT-TILE=CT10 World tile -PHI-CT-TILE-CHOICE=CT11 Tile choice +PHI-CT-TILE=CT4 World tile +PHI-CT-TILE-CHOICE=CT5 Tile choice [mod-setting-description] PHI-EN-SOLAR-TIER=Default 8 ; Disable 1 @@ -154,6 +156,6 @@ PHI-MI-PIPE=Default 1 PHI-MI-ROBOT=Default 1 PHI-MI-TRAIN=Default 1 -PHI-CT-ROCKET-CAPACITY='000 KG -PHI-CT-CARGO-WEIGHT=KG -PHI-CT-QUALITY=Default 10 +PHI-SA-ROCKET-CAPACITY='000 KG +PHI-SA-CARGO-WEIGHT=KG +PHI-SA-QUALITY=Default 10 diff --git a/PHI-CL/locale/ja/locale.cfg b/PHI-CL/locale/ja/locale.cfg index 99b5627..bb4d6c0 100644 --- a/PHI-CL/locale/ja/locale.cfg +++ b/PHI-CL/locale/ja/locale.cfg @@ -120,18 +120,20 @@ PHI-MI-ROBOT=MI5A ロボット効率 PHI-MI-ROBOT-ENERGY=MI5B 核融合ロボット PHI-MI-TRAIN=MI6 列車効率 +PHI-SA=SA Space Age +PHI-SA-ROCKET-CAPACITY=SA1 ロケット容量 +PHI-SA-CARGO-WEIGHT=SA2 ロケット積載重量 +PHI-SA-SPOIL=SA3 変質 +PHI-SA-GENERIC=SA4 ジェネリック +PHI-SA-QUALITY=SA5 品質 +PHI-SA-NO-QUALITY=SA6 品質なし + PHI-CT=CT クリエイティブテストツール PHI-CT-TOOL=CT1 ツール PHI-CT-UTILITY=CT2 ユーティリティ PHI-CT-HIDDEN=CT3 非表示 -PHI-CT-ROCKET-CAPACITY=CT4 ロケット容量 -PHI-CT-CARGO-WEIGHT=CT5 ロケット積載重量 -PHI-CT-SPOIL=CT6 変質 -PHI-CT-SA=CT7 Space Age -PHI-CT-QUALITY=CT8 SA 品質 -PHI-CT-NO-QUALITY=CT9 SA 品質なし -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 @@ -153,6 +155,6 @@ PHI-MI-PIPE=デフォルト 1 PHI-MI-ROBOT=デフォルト 1 PHI-MI-TRAIN=デフォルト 1 -PHI-CT-ROCKET-CAPACITY='000 KG -PHI-CT-CARGO-WEIGHT=KG -PHI-CT-QUALITY=デフォルト 10 +PHI-SA-ROCKET-CAPACITY='000 KG +PHI-SA-CARGO-WEIGHT=KG +PHI-SA-QUALITY=デフォルト 10 diff --git a/PHI-CL/locale/zh-CN/locale.cfg b/PHI-CL/locale/zh-CN/locale.cfg index aa83e55..d5aa146 100644 --- a/PHI-CL/locale/zh-CN/locale.cfg +++ b/PHI-CL/locale/zh-CN/locale.cfg @@ -120,16 +120,18 @@ PHI-MI-ROBOT=MI5A 無人機效率 PHI-MI-ROBOT-ENERGY=MI5B 核融合無人機 PHI-MI-TRAIN=MI6 火車效率 +PHI-SA=SA Space Age +PHI-SA-ROCKET-CAPACITY=SA1 火箭容量 +PHI-SA-CARGO-WEIGHT=SA2 火箭貨物重量 +PHI-SA-SPOIL=SA3 變質 +PHI-SA-GENERIC=SA4 通用 +PHI-SA-QUALITY=SA5 品質 +PHI-SA-NO-QUALITY=SA6 沒有品質 + PHI-CT=CT 創意測試工具 PHI-CT-TOOL=CT1 工具 PHI-CT-UTILITY=CT2 雜項 PHI-CT-HIDDEN=CT3 隱藏 -PHI-CT-ROCKET-CAPACITY=CT4 火箭容量 -PHI-CT-CARGO-WEIGHT=CT5 火箭貨物重量 -PHI-CT-SPOIL=CT6 變質 -PHI-CT-SA=CT7 Space Age -PHI-CT-QUALITY=CT8 SA 品質 -PHI-CT-NO-QUALITY=CT9 SA 沒有品質 PHI-CT-TILE=CT10 世界地磚 PHI-CT-TILE-CHOICE=CT11 地磚選擇 @@ -153,6 +155,6 @@ PHI-MI-PIPE=預設 1 PHI-MI-ROBOT=預設 1 PHI-MI-TRAIN=預設 1 -PHI-CT-ROCKET-CAPACITY='000 KG -PHI-CT-CARGO-WEIGHT=KG -PHI-CT-QUALITY=預設 10 +PHI-SA-ROCKET-CAPACITY='000 KG +PHI-SA-CARGO-WEIGHT=KG +PHI-SA-QUALITY=預設 10 diff --git a/PHI-CL/locale/zh-TW/locale.cfg b/PHI-CL/locale/zh-TW/locale.cfg index aa83e55..d5aa146 100644 --- a/PHI-CL/locale/zh-TW/locale.cfg +++ b/PHI-CL/locale/zh-TW/locale.cfg @@ -120,16 +120,18 @@ PHI-MI-ROBOT=MI5A 無人機效率 PHI-MI-ROBOT-ENERGY=MI5B 核融合無人機 PHI-MI-TRAIN=MI6 火車效率 +PHI-SA=SA Space Age +PHI-SA-ROCKET-CAPACITY=SA1 火箭容量 +PHI-SA-CARGO-WEIGHT=SA2 火箭貨物重量 +PHI-SA-SPOIL=SA3 變質 +PHI-SA-GENERIC=SA4 通用 +PHI-SA-QUALITY=SA5 品質 +PHI-SA-NO-QUALITY=SA6 沒有品質 + PHI-CT=CT 創意測試工具 PHI-CT-TOOL=CT1 工具 PHI-CT-UTILITY=CT2 雜項 PHI-CT-HIDDEN=CT3 隱藏 -PHI-CT-ROCKET-CAPACITY=CT4 火箭容量 -PHI-CT-CARGO-WEIGHT=CT5 火箭貨物重量 -PHI-CT-SPOIL=CT6 變質 -PHI-CT-SA=CT7 Space Age -PHI-CT-QUALITY=CT8 SA 品質 -PHI-CT-NO-QUALITY=CT9 SA 沒有品質 PHI-CT-TILE=CT10 世界地磚 PHI-CT-TILE-CHOICE=CT11 地磚選擇 @@ -153,6 +155,6 @@ PHI-MI-PIPE=預設 1 PHI-MI-ROBOT=預設 1 PHI-MI-TRAIN=預設 1 -PHI-CT-ROCKET-CAPACITY='000 KG -PHI-CT-CARGO-WEIGHT=KG -PHI-CT-QUALITY=預設 10 +PHI-SA-ROCKET-CAPACITY='000 KG +PHI-SA-CARGO-WEIGHT=KG +PHI-SA-QUALITY=預設 10 diff --git a/PHI-CL/note.lua b/PHI-CL/note.lua index f4f5478..fc3fe7e 100644 --- a/PHI-CL/note.lua +++ b/PHI-CL/note.lua @@ -845,14 +845,14 @@ end name = 'PHI-CT-TILE', setting_type = 'startup', default_value = true, - order = 'F09' + order = 'G04' }, { type = 'string-setting', name = 'PHI-CT-TILE-CHOICE', setting_type = 'startup', 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'}, - order = 'F10' + order = 'G05' } "? aai-industry >= 0.5.0", diff --git a/PHI-CL/settings.lua b/PHI-CL/settings.lua index 2fac911..8ac53e2 100644 --- a/PHI-CL/settings.lua +++ b/PHI-CL/settings.lua @@ -153,69 +153,75 @@ data:extend({ order = 'E06' }, { type = 'bool-setting', - name = 'PHI-CT', + name = 'PHI-SA', setting_type = 'startup', default_value = true, order = 'F00' +}, { + type = 'int-setting', + name = 'PHI-SA-ROCKET-CAPACITY', + setting_type = 'startup', + default_value = 10, + minimum_value = 1, + maximum_value = 10000, + order = 'F01' +}, { + type = 'int-setting', + name = 'PHI-SA-CARGO-WEIGHT', + setting_type = 'startup', + default_value = 100, + minimum_value = 1, + maximum_value = 1000, + order = 'F02' +}, { + type = 'bool-setting', + name = 'PHI-SA-SPOIL', + setting_type = 'startup', + default_value = false, + order = 'F03' +}, { + type = 'bool-setting', + name = 'PHI-SA-GENERIC', + setting_type = 'startup', + default_value = true, + order = 'F04' +}, { + type = 'int-setting', + name = 'PHI-SA-QUALITY', + setting_type = 'startup', + default_value = 10, + minimum_value = 1, + maximum_value = 100, + order = 'F05' +}, { + type = 'bool-setting', + name = 'PHI-SA-NO-QUALITY', + setting_type = 'startup', + default_value = false, + order = 'F06' +}, { + type = 'bool-setting', + name = 'PHI-CT', + setting_type = 'startup', + default_value = true, + order = 'G00' }, { type = 'bool-setting', name = 'PHI-CT-TOOL', setting_type = 'startup', default_value = false, - order = 'F01' + order = 'G01' }, { type = 'bool-setting', name = 'PHI-CT-UTILITY', setting_type = 'startup', default_value = true, - order = 'F02' + order = 'G02' }, { type = 'bool-setting', name = 'PHI-CT-HIDDEN', setting_type = 'startup', default_value = false, - order = 'F03' -}, { - type = 'int-setting', - name = 'PHI-CT-ROCKET-CAPACITY', - setting_type = 'startup', - default_value = 10, - minimum_value = 1, - maximum_value = 10000, - order = 'F04' -}, { - type = 'int-setting', - name = 'PHI-CT-CARGO-WEIGHT', - setting_type = 'startup', - default_value = 100, - minimum_value = 1, - maximum_value = 1000, - order = 'F05' -}, { - type = 'bool-setting', - name = 'PHI-CT-SPOIL', - setting_type = 'startup', - default_value = true, - order = 'F06' -}, { - type = 'bool-setting', - name = 'PHI-CT-SA', - setting_type = 'startup', - default_value = false, - order = 'F07' -}, { - type = 'int-setting', - name = 'PHI-CT-QUALITY', - setting_type = 'startup', - default_value = 10, - minimum_value = 1, - maximum_value = 100, - order = 'F08' -}, { - type = 'bool-setting', - name = 'PHI-CT-NO-QUALITY', - setting_type = 'startup', - default_value = false, - order = 'F09' + order = 'G03' } })