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