1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-28 03:57:22 +02:00

Mtn v3 - fix coin bug on boosted worms

This commit is contained in:
Gerkiz 2023-05-26 16:23:27 +02:00
parent ae54312f2f
commit b5d989a977

View File

@ -9,17 +9,17 @@ local random = math.random
local coin_yield = { local coin_yield = {
['behemoth-biter'] = 5, ['behemoth-biter'] = 5,
['behemoth-spitter'] = 5, ['behemoth-spitter'] = 5,
['behemoth-worm-turret'] = 20, ['behemoth-worm-turret'] = 10,
['big-biter'] = 3, ['big-biter'] = 3,
['big-spitter'] = 3, ['big-spitter'] = 3,
['big-worm-turret'] = 16, ['big-worm-turret'] = 16,
['biter-spawner'] = 32, ['biter-spawner'] = 32,
['medium-biter'] = 2, ['medium-biter'] = 2,
['medium-spitter'] = 2, ['medium-spitter'] = 2,
['medium-worm-turret'] = 12, ['medium-worm-turret'] = 4,
['small-biter'] = 1, ['small-biter'] = 1,
['small-spitter'] = 1, ['small-spitter'] = 1,
['small-worm-turret'] = 8, ['small-worm-turret'] = 2,
['spitter-spawner'] = 32 ['spitter-spawner'] = 32
} }
@ -67,7 +67,7 @@ local function on_entity_died(event)
if not entity.valid then if not entity.valid then
return return
end end
if entity.force.index ~= 2 then if not Public.valid_enemy_forces[entity.force.name] then
return return
end end