Compare commits
2 commits
18475a7c43
...
a78e3a5886
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a78e3a5886 | ||
![]() |
dd22ecb954 |
3 changed files with 18 additions and 7 deletions
|
@ -11,19 +11,17 @@ data:extend({
|
||||||
name = "burner-lamp",
|
name = "burner-lamp",
|
||||||
type = "assembling-machine",
|
type = "assembling-machine",
|
||||||
minable = {
|
minable = {
|
||||||
mining_time = 2.0,
|
mining_time = 0.1,
|
||||||
result = "burner-lamp",
|
result = "burner-lamp",
|
||||||
},
|
},
|
||||||
icon = Lignumis.graphics .. "icons/burner-lamp.png",
|
icon = Lignumis.graphics .. "icons/burner-lamp.png",
|
||||||
icon_size = 64,
|
icon_size = 64,
|
||||||
icon_mipmaps = 4,
|
icon_mipmaps = 4,
|
||||||
fast_replaceable_group = "large-lamp",
|
|
||||||
--next_upgrade = "lamp",
|
|
||||||
collision_mask = { layers = { object = true, water_tile = true, meltable = true, player = true } },
|
collision_mask = { layers = { object = true, water_tile = true, meltable = true, player = true } },
|
||||||
crafting_speed = 1,
|
crafting_speed = 1,
|
||||||
crafting_categories = { "lamp-burning" },
|
crafting_categories = { "lamp-burning" },
|
||||||
fixed_recipe = "burner-lamp-burning",
|
fixed_recipe = "burner-lamp-burning",
|
||||||
dying_explosion = "medium-explosion",
|
dying_explosion = "lamp-explosion",
|
||||||
show_recipe_icon = false,
|
show_recipe_icon = false,
|
||||||
show_recipe_icon_on_map = false,
|
show_recipe_icon_on_map = false,
|
||||||
source_inventory_size = 1,
|
source_inventory_size = 1,
|
||||||
|
|
|
@ -115,7 +115,18 @@ local silo_ready = {
|
||||||
inventory_type = "normal",
|
inventory_type = "normal",
|
||||||
quality_affects_inventory_size = false,
|
quality_affects_inventory_size = false,
|
||||||
placeable_by = { item = "provisional-rocket-silo", count = 1 },
|
placeable_by = { item = "provisional-rocket-silo", count = 1 },
|
||||||
health = 1000,
|
max_health = 1000,
|
||||||
|
resistances = {
|
||||||
|
{
|
||||||
|
type = "fire",
|
||||||
|
percent = 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type = "explosion",
|
||||||
|
percent = 100
|
||||||
|
}
|
||||||
|
},
|
||||||
|
create_ghost_on_death = false,
|
||||||
surface_conditions = {
|
surface_conditions = {
|
||||||
{
|
{
|
||||||
property = "pressure",
|
property = "pressure",
|
||||||
|
|
|
@ -61,8 +61,10 @@ local function transit_player(player_index)
|
||||||
local player = game.get_player(player_index)
|
local player = game.get_player(player_index)
|
||||||
local transition = storage.transitions[player_index]
|
local transition = storage.transitions[player_index]
|
||||||
|
|
||||||
transition.rocket_entry.cargo_pod.set_passenger(nil)
|
if transition.rocket_entry.cargo_pod then
|
||||||
transition.rocket_entry.cargo_pod.destroy()
|
transition.rocket_entry.cargo_pod.set_passenger(nil)
|
||||||
|
transition.rocket_entry.cargo_pod.destroy()
|
||||||
|
end
|
||||||
|
|
||||||
init_nauvis()
|
init_nauvis()
|
||||||
teleport_player(player)
|
teleport_player(player)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue