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