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:
parent
7657167978
commit
de19f8df3e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user