1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-24 03:47:58 +02:00

tweak maze traps, BP timeout, 'large' crew size

This commit is contained in:
danielmartin0 2022-06-03 00:15:54 +01:00
parent d331c665f5
commit f8fffc1957
4 changed files with 4 additions and 4 deletions

View File

@ -689,7 +689,7 @@ local function event_on_player_mined_entity(event)
if available and destination.type == Surfaces.enum.ISLAND then
if destination and destination.subtype and destination.subtype == Islands.enum.MAZE then
if Math.random(1, 35) == 1 then
if Math.random(1, 38) == 1 then
tick_tack_trap(memory.enemy_force_name, entity.surface, entity.position)
return
end

View File

@ -20,7 +20,7 @@ local Public = {}
-- Public.active_crews_cap = 1
Public.activeCrewsCap = 2
Public.minimumCapacitySliderValue = 1
Public.minimum_run_capacity_to_enforce_space_for = 32
Public.minimum_run_capacity_to_enforce_space_for = 22
-- auto-disbanding when there are no players left in the crew:
Public.autodisband_ticks = nil
-- Public.autodisband_ticks = 30*60*60

View File

@ -7,7 +7,7 @@ local _inspect = require 'utils.inspect'.inspect
local Public = {}
Public.scenario_id_name = 'pirates'
Public.version_string = '1.2.12' --major.minor.patch versioning, to match factorio mod portal
Public.version_string = '1.2.13' --major.minor.patch versioning, to match factorio mod portal
Public.blueprint_library_allowed = true
Public.blueprint_importing_allowed = true

View File

@ -841,7 +841,7 @@ function Public.reset_crew_and_enemy_force(id)
-- crew_force.character_inventory_slots_bonus = 10
crew_force.character_running_speed_modifier = Balance.base_extra_character_speed
crew_force.laboratory_productivity_bonus = 0
crew_force.ghost_time_to_live = 8 * 60 * 60
crew_force.ghost_time_to_live = 12 * 60 * 60
for k, v in pairs(Balance.player_ammo_damage_modifiers()) do
crew_force.set_ammo_damage_modifier(k, v)