Skip to content

Commit 3b72c49

Browse files
authored
Updated outpost pollution to spawn at map centre not at outposts
No one likes or uses the pollution multiplier feature I added. Feedback suggests that it spawning at outposts makes the cause too obvious, so people complain about it. And it requires that outposts have to be defended. Yet, people still complain crash site is too easy. By moving the pollution spawning to the centre of the base the effect of more outposts is spread over the whole base and will trigger more attacks, but will challenge the whole base defences rather than just a single outpost.
1 parent 0373d72 commit 3b72c49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

map_gen/maps/crash_site/outpost_builder.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,8 @@ local function do_magic_crafters()
12791279
local output_inv = entity.get_output_inventory()
12801280
if output_inv.can_insert(data.item) then -- No pollution if full. Taking items out of crafters makes pollution
12811281
local pollution_amount = pollution_multiplier.value * 0.01
1282-
entity.surface.pollute(entity.position, pollution_amount)
1282+
local pollution_position = {0,0}
1283+
entity.surface.pollute(pollution_position, pollution_amount)
12831284
output_inv.insert {name = data.item, count = fcount}
12841285
end
12851286
data.last_tick = tick - (count - fcount) / rate

0 commit comments

Comments
 (0)