Compare commits
2 commits
0353f91144
...
51e9682125
Author | SHA1 | Date | |
---|---|---|---|
![]() |
51e9682125 | ||
![]() |
17c2795b3d |
2 changed files with 5 additions and 3 deletions
|
@ -51,7 +51,7 @@ silo.fluid_boxes_off_when_no_fluid_recipe = true
|
|||
silo.launch_to_space_platforms = false
|
||||
silo.rocket_parts_required = 50
|
||||
silo.rocket_parts_storage_cap = 50
|
||||
silo.to_be_inserted_to_rocket_inventory_size = 1
|
||||
silo.to_be_inserted_to_rocket_inventory_size = 0
|
||||
silo.clamps_on_trigger = {
|
||||
type = "script",
|
||||
effect_id = "provisional-rocket-ready"
|
||||
|
@ -122,7 +122,7 @@ local silo_ready = {
|
|||
min = 1
|
||||
}
|
||||
},
|
||||
flags = { "not-on-map", "not-blueprintable", "not-deconstructable", "not-flammable", "not-repairable", "not-upgradable", "no-automated-item-insertion", "no-automated-item-removal", "not-in-kill-statistics" },
|
||||
flags = { "not-on-map", "not-blueprintable", "not-flammable", "not-repairable", "not-upgradable", "no-automated-item-insertion", "no-automated-item-removal", "not-in-kill-statistics" },
|
||||
allow_copy_paste = false,
|
||||
additional_pastable_entities = { "provisional-rocket-silo" },
|
||||
collision_mask = { layers = {} },
|
||||
|
|
|
@ -106,7 +106,9 @@ local function on_silo_mined(event)
|
|||
local player = game.get_player(event.player_index)
|
||||
for i, entry in pairs(storage.rocket_silos) do
|
||||
if entry.fake_silo == fake_silo then
|
||||
if entry.real_silo.valid then
|
||||
player.mine_entity(entry.real_silo, true)
|
||||
end
|
||||
table.remove(storage.rocket_silos, i)
|
||||
break
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue