You've already forked ComfyFactorio
mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-09-16 09:06:21 +02:00
more fixes
This commit is contained in:
47
.luacheckrc
47
.luacheckrc
@@ -1461,6 +1461,17 @@ stds.factorio_defines =
|
||||
'never'
|
||||
}
|
||||
},
|
||||
cargo_destination =
|
||||
{
|
||||
fields =
|
||||
{
|
||||
'invalid',
|
||||
'orbit',
|
||||
'station',
|
||||
'surface',
|
||||
'space_platform'
|
||||
}
|
||||
},
|
||||
circuit_condition_index =
|
||||
{
|
||||
fields =
|
||||
@@ -2378,6 +2389,42 @@ stds.factorio_defines =
|
||||
direction = { fields = { 'left', 'straight', 'right' } }
|
||||
}
|
||||
},
|
||||
robot_order_type =
|
||||
{
|
||||
fields =
|
||||
{
|
||||
'construct',
|
||||
'pickup',
|
||||
'deliver',
|
||||
'repair',
|
||||
'deconstruct',
|
||||
'deliver_items',
|
||||
'upgrade',
|
||||
'explode_cliff',
|
||||
'pickup_items'
|
||||
}
|
||||
},
|
||||
rocket_silo_status =
|
||||
{
|
||||
fields =
|
||||
{
|
||||
'building_rocket',
|
||||
'create_rocket',
|
||||
'lights_blinking_open',
|
||||
'doors_opening',
|
||||
'doors_opened',
|
||||
'rocket_rising',
|
||||
'arms_advance',
|
||||
'rocket_ready',
|
||||
'launch_starting',
|
||||
'engine_starting',
|
||||
'arms_retract',
|
||||
'rocket_flying',
|
||||
'lights_blinking_close',
|
||||
'doors_closing',
|
||||
'launch_started'
|
||||
}
|
||||
},
|
||||
shooting = { fields = { 'shooting_selected', 'not_shooting', 'shooting_enemies' } },
|
||||
signal_state = { fields = { 'reserved_by_circuit_network', 'reserved', 'closed', 'open' } },
|
||||
time = { fields = { 'hour', 'week', 'year', 'month', 'minute', 'second', 'day' } },
|
||||
|
@@ -382,7 +382,7 @@ local function tier9_object(_expanse, surface, left_top, repeats) --aquilo
|
||||
return false
|
||||
end
|
||||
|
||||
local function tier10_object(expanse, surface, left_top, repeats) --finale
|
||||
local function tier10_object(expanse, surface, left_top) --finale
|
||||
local position = surface.find_non_colliding_position_in_box('rocket-silo', {{left_top.x, left_top.y}, {left_top.x + 15, left_top.y + 15}}, 1, false)
|
||||
if position then
|
||||
local silo = surface.create_entity({name = 'rocket-silo', position = position, force = game.forces.player})
|
||||
@@ -415,7 +415,7 @@ function Public.place_special_tiered_object(expanse, tier, surface, left_top)
|
||||
success = tiers[tier](expanse, surface, left_top, repeats)
|
||||
elseif tier == 10 then
|
||||
if expanse.tiered_specials[tier].specials == 1 and math.random(1, 25) == 1 then
|
||||
success = tiers[10](expanse, surface, left_top, repeats)
|
||||
success = tiers[10](expanse, surface, left_top)
|
||||
else
|
||||
success = tiers[math.random(6, 9)](expanse, surface, left_top, repeats)
|
||||
end
|
||||
@@ -692,7 +692,10 @@ function Public.convert_decoratives(surface, left_top, tier, cell_size)
|
||||
}
|
||||
|
||||
elseif SA and tier == 9 then
|
||||
|
||||
list = {
|
||||
['enemy-decal'] = 'aquilo-ice-decal-blue',
|
||||
['enemy-decal-transparent'] = 'aquilo-snowy-decal'
|
||||
}
|
||||
end
|
||||
local names = {}
|
||||
for name, _ in pairs(list) do
|
||||
|
Reference in New Issue
Block a user