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

FACTO-54: Decreased pheromone generation on occupied resource chunks

This commit is contained in:
Aaron Veden 2022-01-16 17:40:31 -08:00
parent cfdd128351
commit e17d487259
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 3 additions and 2 deletions

@ -13,6 +13,7 @@ Date: 29. 12. 2021
- Reduced visual size of spawners and hives
- Increased visual size of worms
- Inverted Hive colors for easier visual identification
- Decreased occupied resource pheromone generation by 10x
Bugfixes:
- Fixed added check for hives on resource chunks before early building
- Fixed Hives spawning excessive amounts of entities

@ -332,13 +332,13 @@ function pheromoneUtils.processStaticPheromone(map, chunk)
if clear then
chunk[RESOURCE_PHEROMONE] = pheromone * chunkPathRating
else
chunk[RESOURCE_PHEROMONE] = pheromone * chunkPathRating * 0.1
chunk[RESOURCE_PHEROMONE] = pheromone * chunkPathRating * 0.01
end
else
if clear then
chunk[RESOURCE_PHEROMONE] = chunkResource * chunkPathRating
else
chunk[RESOURCE_PHEROMONE] = chunkResource * chunkPathRating * 0.1
chunk[RESOURCE_PHEROMONE] = chunkResource * chunkPathRating * 0.01
end
end
end