From abd5309928ac160a8aa757c10e390165a261e778 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 29 Nov 2024 15:13:08 +0900 Subject: [PATCH] . --- PHI-CL/changelog.txt | 11 +++++++++++ PHI-CL/data.lua | 27 ++++++++++++++++++++++----- PHI-CL/info.json | 4 ++-- 3 files changed, 35 insertions(+), 7 deletions(-) diff --git a/PHI-CL/changelog.txt b/PHI-CL/changelog.txt index b5b0850..fcd0037 100644 --- a/PHI-CL/changelog.txt +++ b/PHI-CL/changelog.txt @@ -1,3 +1,14 @@ +--------------------------------------------------------------------------------------------------- +Version: 3.0.41 +Date: 2024-11-29 + + Features: + - [SA] Introduced stacking for asteroid chunk. + - [SA] Introduced dumping trash to water. + + Changes: + - [SA] Fixed the non nauvis tile logic of placement. + --------------------------------------------------------------------------------------------------- Version: 3.0.40 Date: 2024-11-28 diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index 49ee3cc..27b0b0d 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -746,6 +746,12 @@ if settings.startup['PHI-SA'].value then end end + for _, v in pairs({'artificial-yumako-soil', 'overgrowth-yumako-soil', 'artificial-jellynut-soil', 'overgrowth-jellynut-soil'}) do + data.raw.tile[v].sprite_usage_surface = 'any' + data.raw.item[v].place_as_tile.condition = {layers={water_tile=true}} + data.raw.item[v].place_as_tile.tile_condition = nil + end + 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 @@ -856,6 +862,17 @@ if settings.startup['PHI-SA'].value then 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 + + for _, v in pairs({'carbonic-asteroid-chunk', 'metallic-asteroid-chunk', 'promethium-asteroid-chunk', 'oxide-asteroid-chunk'}) 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({'water', 'water-green', 'deepwater', 'deepwater-green'}) do + data.raw.tile[v].destroys_dropped_items = true + data.raw.tile[v].default_destroyed_dropped_item_trigger = nil + end end if mods['elevated-rails'] then @@ -878,11 +895,6 @@ if settings.startup['PHI-SA'].value then v.effect.quality = nil end end - - for _, v in pairs(data.raw['inserter']) do - v.extension_speed = v.extension_speed * 2.5 - v.rotation_speed = v.rotation_speed * 2.5 - end end end @@ -923,6 +935,11 @@ if settings.startup['PHI-SA'].value then 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 + + for _, v in pairs(data.raw['inserter']) do + v.extension_speed = v.extension_speed * 2.5 + v.rotation_speed = v.rotation_speed * 2.5 + end end end diff --git a/PHI-CL/info.json b/PHI-CL/info.json index 407eaec..7477449 100644 --- a/PHI-CL/info.json +++ b/PHI-CL/info.json @@ -1,8 +1,8 @@ { "name": "PHI-CL", - "version": "3.0.40", + "version": "3.0.41", "factorio_version": "2.0", - "date": "2024-11-28", + "date": "2024-11-29", "title": "Phidias Collection", "author": "PHIDIAS0303", "contributers": "",