mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-16 02:47:48 +02:00
Mtn v3 - small fixes
Removes broken spells from objective Fixes broken teleport when final battle Lowered the length of final battle to max 15m
This commit is contained in:
parent
ce4357c5f4
commit
cf95b8e91a
@ -83,7 +83,7 @@ require 'utils.remote_chunks'
|
||||
--require 'maps.biter_battles.biter_battles'
|
||||
|
||||
--![[Guide a Train through rough terrain, while defending it from the biters]]--
|
||||
--require 'maps.mountain_fortress_v3.main'
|
||||
require 'maps.mountain_fortress_v3.main'
|
||||
--require 'maps.mountain_fortress_v2.main'
|
||||
--require 'maps.mountain_fortress'
|
||||
|
||||
|
@ -987,6 +987,15 @@ function Public.find_void_tiles_and_replace()
|
||||
right_bottom = { x = (zone_settings.zone_width / 2) - 10, y = rp.y }
|
||||
}
|
||||
|
||||
local adjusted_zones = Public.get('adjusted_zones')
|
||||
|
||||
if adjusted_zones.reversed then
|
||||
area = {
|
||||
left_top = { x = ((zone_settings.zone_width / 2) + 10) * -1, y = rp.y },
|
||||
right_bottom = { x = math.abs((-zone_settings.zone_width / 2) - 10), y = cp.y },
|
||||
}
|
||||
end
|
||||
|
||||
local tiles = surface.find_tiles_filtered({ area = area, name = { 'out-of-map', 'water', 'deepwater', 'water-green', 'deepwater-green' } })
|
||||
if tiles and #tiles > 0 then
|
||||
Public.set('tiles_to_replace', tiles)
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user