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

bc8e590: Added enemy structure death scent multipler

This commit is contained in:
Aaron Veden 2023-01-07 18:20:07 -08:00
parent ac556c2c9d
commit 32080f09bf
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 5 additions and 1 deletions

View File

@ -21,6 +21,7 @@ Version: 3.2.0
- Increased the number of chunks processed from 735 to 3000
- Kamikaze squads no longer use a separate movement function
- Reduced the raiding base threshold from 550 to 50 to account for the new pheromone distribution
- Added death pheromone scent multipler for destroyed enemy structures
Bugfixes:
- Removed layer-13 from projectiles
- script_raised_built now looks for enemy faction and registers as needed

View File

@ -119,8 +119,11 @@ function pheromoneUtils.disperseVictoryScent(universe)
end
end
function pheromoneUtils.deathScent(map, chunk)
function pheromoneUtils.deathScent(map, chunk, structure)
local amount = -DEATH_PHEROMONE_GENERATOR_AMOUNT
if structure then
amount = amount * 7.5
end
addDeathGenerator(map, chunk, amount)
addPermanentDeathGenerator(map, chunk, amount)
end