mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2024-12-26 22:56:43 +02:00
mtn v3 - remove debuff on swamp zone
This commit is contained in:
parent
90dff564f8
commit
6ce0942f82
@ -153,23 +153,6 @@ local compare_player_pos = function(player)
|
||||
rpg_t.forest_zone = false
|
||||
end
|
||||
end
|
||||
|
||||
if adjusted_zones.slow_movement[zone] then
|
||||
if player.character and player.character.valid then
|
||||
player.character.character_running_speed_modifier = -0.5
|
||||
end
|
||||
if rpg_t and not rpg_t.slow_movement_zone then
|
||||
player.print(({'breached_wall.heavy_legs'}))
|
||||
rpg_t.slow_movement_zone = true
|
||||
end
|
||||
else
|
||||
if rpg_t and rpg_t.slow_movement_zone then
|
||||
rpg_t.slow_movement_zone = false
|
||||
end
|
||||
if rpg_t and not rpg_t.has_custom_spell_active then
|
||||
Modifiers.update_player_modifiers(player)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local compare_player_and_train = function(player, entity)
|
||||
|
@ -818,7 +818,6 @@ local function zone_10(x, y, data, _, adjusted_zones)
|
||||
local buildings = data.buildings
|
||||
local treasure = data.treasure
|
||||
data.forest_zone = true
|
||||
data.slow_movement_zone = true
|
||||
|
||||
local scrapyard = get_perlin('scrapyard', p, seed)
|
||||
local smol_areas = get_perlin('smol_areas', p, seed + 45000)
|
||||
@ -2625,10 +2624,6 @@ local function process_bits(p, data, adjusted_zones)
|
||||
adjusted_zones.scrap[index] = true
|
||||
end
|
||||
|
||||
if data.slow_movement_zone and not adjusted_zones.slow_movement[index] then
|
||||
adjusted_zones.slow_movement[index] = true
|
||||
end
|
||||
|
||||
local void_or_tile = WPT.get('void_or_tile')
|
||||
|
||||
local x = p.x
|
||||
|
Loading…
Reference in New Issue
Block a user