mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-04 00:15:45 +02:00
actually use the new booster
This commit is contained in:
parent
da93894188
commit
aefd0c095f
@ -523,6 +523,7 @@ local function on_init()
|
||||
local arena = game.permissions.create_group('Arena')
|
||||
local arena_surface = game.create_surface('dungeons_floor_arena')
|
||||
local map_gen_settings = arena_surface.map_gen_settings
|
||||
BiterHealthBooster.set_surface_activity('dungeons_floor_arena', true)
|
||||
map_gen_settings.height = 3
|
||||
map_gen_settings.width = 3
|
||||
arena_surface.map_gen_settings = map_gen_settings
|
||||
|
@ -591,6 +591,7 @@ local function on_surface_created(event)
|
||||
dungeontable.enemy_forces[event.surface_index] = force
|
||||
forceshp[force.index] = 1
|
||||
dungeontable.depth[event.surface_index] = 100 * event.surface_index - (dungeontable.original_surface_index * 100)
|
||||
BiterHealthBooster.set_surface_activity(game.surfaces[event.surface_index].name, true)
|
||||
end
|
||||
|
||||
local function on_player_changed_surface(event)
|
||||
@ -711,6 +712,7 @@ local function on_init()
|
||||
dungeontable.enemy_forces[surface.index] = game.create_force("enemy" .. surface.index)
|
||||
forceshp[game.forces.enemy.index] = 1
|
||||
forceshp[dungeontable.enemy_forces[surface.index].index] = 1
|
||||
BiterHealthBooster.set_surface_activity('dungeons_floor_0', true)
|
||||
|
||||
game.forces.player.technologies["land-mine"].enabled = false
|
||||
game.forces.player.technologies["landfill"].enabled = false
|
||||
|
Loading…
Reference in New Issue
Block a user