1
0
mirror of https://github.com/veden/Rampant.git synced 2025-01-07 23:01:39 +02:00
Rampant/prototypes/buildings/ChunkScanner.lua

156 lines
6.9 KiB
Lua
Raw Normal View History

data:extend({
{
type = "container",
name = "chunk-scanner-squad-rampant",
icon = "__base__/graphics/icons/wooden-chest.png",
icon_size = 32,
flags = {},
collision_mask = {"player-layer", "object-layer", "water-tile"},
collision_box = {{-6, -6}, {6, 6}},
selection_box = {{-6, -6}, {6, 6}},
minable = {mining_time = 1, result = "wooden-chest"},
max_health = 100,
corpse = "small-remnants",
fast_replaceable_group = "container",
inventory_size = 16,
open_sound = { filename = "__base__/sound/wooden-chest-open.ogg" },
close_sound = { filename = "__base__/sound/wooden-chest-close.ogg" },
vehicle_impact_sound = { filename = "__base__/sound/car-wood-impact.ogg", volume = 1.0 },
2019-03-06 08:18:03 +02:00
picture =
{
filename = "__base__/graphics/entity/wooden-chest/wooden-chest.png",
priority = "extra-high",
width = 32,
height = 36,
shift = util.by_pixel(0.5, -2),
2019-03-09 08:23:00 +02:00
hr_version =
{
filename = "__base__/graphics/entity/wooden-chest/hr-wooden-chest.png",
priority = "extra-high",
width = 62,
height = 72,
shift = util.by_pixel(0.5, -2),
scale = 0.5
}
},
circuit_wire_connection_point = circuit_connector_definitions["chest"].points,
circuit_connector_sprites = circuit_connector_definitions["chest"].sprites,
circuit_wire_max_distance = default_circuit_wire_max_distance
},
{
type = "container",
name = "chunk-scanner-squad-movement-rampant",
icon = "__base__/graphics/icons/wooden-chest.png",
icon_size = 32,
flags = {},
collision_mask = {"water-tile"},
collision_box = {{-1, -1}, {1, 1}},
selection_box = {{-1, -1}, {1, 1}},
minable = {mining_time = 1, result = "wooden-chest"},
max_health = 100,
corpse = "small-remnants",
fast_replaceable_group = "container",
inventory_size = 16,
open_sound = { filename = "__base__/sound/wooden-chest-open.ogg" },
close_sound = { filename = "__base__/sound/wooden-chest-close.ogg" },
vehicle_impact_sound = { filename = "__base__/sound/car-wood-impact.ogg", volume = 1.0 },
picture =
{
filename = "__base__/graphics/entity/wooden-chest/wooden-chest.png",
priority = "extra-high",
width = 32,
height = 36,
shift = util.by_pixel(0.5, -2),
2019-03-06 08:18:03 +02:00
hr_version =
{
filename = "__base__/graphics/entity/wooden-chest/hr-wooden-chest.png",
priority = "extra-high",
width = 62,
height = 72,
shift = util.by_pixel(0.5, -2),
scale = 0.5
}
},
circuit_wire_connection_point = circuit_connector_definitions["chest"].points,
circuit_connector_sprites = circuit_connector_definitions["chest"].sprites,
circuit_wire_max_distance = default_circuit_wire_max_distance
2019-03-13 02:27:32 +02:00
}-- ,
-- {
-- type = "container",
-- name = "chunk-scanner-nest-rampant",
-- icon = "__base__/graphics/icons/wooden-chest.png",
-- icon_size = 32,
-- flags = {},
-- collision_mask = {"player-layer", "object-layer", "water-tile"},
-- collision_box = {{-6, -6}, {6, 6}},
-- selection_box = {{-6, -6}, {6, 6}},
-- minable = {mining_time = 1, result = "wooden-chest"},
-- max_health = 100,
-- corpse = "small-remnants",
-- fast_replaceable_group = "container",
-- inventory_size = 16,
-- open_sound = { filename = "__base__/sound/wooden-chest-open.ogg" },
-- close_sound = { filename = "__base__/sound/wooden-chest-close.ogg" },
-- vehicle_impact_sound = { filename = "__base__/sound/car-wood-impact.ogg", volume = 1.0 },
-- picture =
-- {
-- filename = "__base__/graphics/entity/wooden-chest/wooden-chest.png",
-- priority = "extra-high",
-- width = 32,
-- height = 36,
-- shift = util.by_pixel(0.5, -2),
-- hr_version =
-- {
-- filename = "__base__/graphics/entity/wooden-chest/hr-wooden-chest.png",
-- priority = "extra-high",
-- width = 62,
-- height = 72,
-- shift = util.by_pixel(0.5, -2),
-- scale = 0.5
-- }
-- },
-- circuit_wire_connection_point = circuit_connector_definitions["chest"].points,
-- circuit_connector_sprites = circuit_connector_definitions["chest"].sprites,
-- circuit_wire_max_distance = default_circuit_wire_max_distance
-- },
-- {
-- type = "container",
-- name = "chunk-scanner-worm-rampant",
-- icon = "__base__/graphics/icons/wooden-chest.png",
-- icon_size = 32,
-- flags = {},
-- collision_mask = {"player-layer", "object-layer", "water-tile"},
-- collision_box = {{-3, -3}, {3, 3}},
-- selection_box = {{-3, -3}, {3, 3}},
-- minable = {mining_time = 1, result = "wooden-chest"},
-- max_health = 100,
-- corpse = "small-remnants",
-- fast_replaceable_group = "container",
-- inventory_size = 16,
-- open_sound = { filename = "__base__/sound/wooden-chest-open.ogg" },
-- close_sound = { filename = "__base__/sound/wooden-chest-close.ogg" },
-- vehicle_impact_sound = { filename = "__base__/sound/car-wood-impact.ogg", volume = 1.0 },
-- picture =
-- {
-- filename = "__base__/graphics/entity/wooden-chest/wooden-chest.png",
-- priority = "extra-high",
-- width = 32,
-- height = 36,
-- shift = util.by_pixel(0.5, -2),
-- hr_version =
-- {
-- filename = "__base__/graphics/entity/wooden-chest/hr-wooden-chest.png",
-- priority = "extra-high",
-- width = 62,
-- height = 72,
-- shift = util.by_pixel(0.5, -2),
-- scale = 0.5
-- }
-- },
-- circuit_wire_connection_point = circuit_connector_definitions["chest"].points,
-- circuit_connector_sprites = circuit_connector_definitions["chest"].sprites,
-- circuit_wire_max_distance = default_circuit_wire_max_distance
-- }
})