1
0
mirror of https://github.com/veden/Rampant.git synced 2025-03-17 20:58:35 +02:00

Bases no longer gain points in AI_STATE_PEACEFUL

This commit is contained in:
Dagothur 2022-12-02 14:19:14 -05:00
parent 7657167978
commit de19f8df3e
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,7 @@ Version: 3.2.0
- Added minimum evolution of 20% before faction adaptation will happen
- Increased the death thresholds to 17000 <50%, 34000 <70%, 60000 <90%, 100000 for adaptation
- Changed spawner pollution check to use 75% of the chunk pollution diffuse value
- Bases no longer gain points in AI_STATE_PEACEFUL
Bugfixes:
- Removed layer-13 from projectiles
- script_raised_built now looks for enemy faction and registers as needed

View File

@ -548,6 +548,11 @@ function baseUtils.rebuildNativeTables(universe)
end
function baseUtils.modifyBasePoints(base, points, tag, x, y)
if points > 0 and base.stateAI == BASE_AI_STATE_PEACEFUL then
return
end
tag = tag or ""
x = x or nil
y = y or nil