From c6627d90889facdb57e43ea8a248cda52a5db24e Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 30 Nov 2024 01:48:42 +0900 Subject: [PATCH] . --- PHI-CL/changelog.txt | 7 +++++++ PHI-CL/data.lua | 6 ++++++ PHI-CL/info.json | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/PHI-CL/changelog.txt b/PHI-CL/changelog.txt index 491ffb0..cbab12e 100644 --- a/PHI-CL/changelog.txt +++ b/PHI-CL/changelog.txt @@ -1,3 +1,10 @@ +--------------------------------------------------------------------------------------------------- +Version: 3.0.43 +Date: 2024-11-30 + + Changes: + - [SA] Changed the minimum damage for the asteroid. + --------------------------------------------------------------------------------------------------- Version: 3.0.42 Date: 2024-11-30 diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index 4d83354..0393d1e 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -528,6 +528,12 @@ if settings.startup['PHI-SA'].value then for _, v in pairs(data.raw['asteroid']) do v.mass = 1 + + for _, v2 in pairs(v.resistances) do + if v2.percent > 98 then + v2.percent = 98 + end + end end local asteroid_util = require('__space-age__.prototypes.planet.asteroid-spawn-definitions') diff --git a/PHI-CL/info.json b/PHI-CL/info.json index 7eabf35..a2969d8 100644 --- a/PHI-CL/info.json +++ b/PHI-CL/info.json @@ -1,6 +1,6 @@ { "name": "PHI-CL", - "version": "3.0.42", + "version": "3.0.43", "factorio_version": "2.0", "date": "2024-11-30", "title": "Phidias Collection",