{
type = "electric-energy-interface",
name = "crash-site-spaceship",
- icon = "__base__/graphics/icons/crash-site-spaceship.png",
- icon_size = 64, icon_mipmaps = 4,
- flags = {
- "placeable-player",
- "player-creation",
- "hidden",
- "not-rotatable",
- "placeable-off-grid",
- "not-blueprintable",
- "not-deconstructable"
- },
- map_color = {r = 0, g = 0.365, b = 0.58, a = 1},
- max_health = 600,
alert_when_damaged = true,
- allow_copy_paste = false,
- resistances =
- {
- {type = "fire", percent = 100}
- },
+ hidden = true,
gui_mode = "none",
energy_source =
{
energy_production = "150kW",
energy_usage = "0kW",
enable_inventory_bar = false,
+ -- /custom
+
+ icon = "__base__/graphics/icons/crash-site-spaceship.png",
+ flags = wreck_flags,
+ hidden = true,
+ map_color = {r = 0, g = 0.365, b = 0.58, a = 1},
+ max_health = 600,
+ -- alert_when_damaged = false,
+ allow_copy_paste = false,
+ default_status = "broken",
+ resistances =
+ {
+ {type = "fire", percent = 100}
+ },
+ inventory_size = 5,
+ inventory_type = "normal",
minable =
{
mining_time = 2.3
selection_box = {{-8.7, -3.3}, {6.9, 4.5}},
dying_explosion = "nuke-explosion",
integration_patch_render_layer = "decals",
- integration_patch = oldship.integration_patch,
- picture = oldship.picture,
- vehicle_impact_sound = oldship.vehicle_impact_sound
+ integration_patch =
+ {
+ filename = "__base__/graphics/entity/crash-site-spaceship/spaceship-ground.png",
+ priority = "very-low",
+ width = 1330,
+ height = 786,
+ shift = util.by_pixel(-50, 61),
+ dice_x = 4,
+ dice_y = 3,
+ scale = 0.5
+ },
+
+ picture =
+ {
+ layers =
+ {
+ {
+ filename = "__base__/graphics/entity/crash-site-spaceship/spaceship.png",
+ priority = "very-low",
+ width = 1228,
+ height = 790,
+ shift = util.by_pixel(-13, 34),
+ dice_x = 4,
+ dice_y = 3,
+ scale = 0.5
+ },
+ {
+ filename = "__base__/graphics/entity/crash-site-spaceship/spaceship-shadow.png",
+ priority = "very-low",
+ width = 1340,
+ height = 842,
+ shift = util.by_pixel(-23, 50),
+ scale = 0.5,
+ dice_x = 5,
+ dice_y = 4,
+ draw_as_shadow = true
+ }
+ }
+ }
}
})
{
"name": "some-spaceship-wreck-generator",
- "version": "1.1.0",
+ "version": "2.0.0",
"title": "Spaceship APU survived the crash",
"author": "someone1337",
"homepage": "https://git.somenet.org/factorio/some-spaceship-wreck-generator.git",
"description": "The spaceship is wrecked, but thankfully the Auxiliary Power Unit is still working and can be used as a tiny infinite power source generator.",
- "factorio_version": "1.1",
- "dependencies": [
- "base>=1.1.0"
- ]
+ "factorio_version": "2.0",
+ "dependencies": ["base>=2.0.0"]
}