Page 1 of 1

You forgot to run the functions to create crash wreck items.

Posted: Mon Aug 24, 2020 10:09 pm
by PrestonLeeC
Original post: viewtopic.php?f=25&t=88500

The functions to create wreck items are in

Code: Select all

prototypes/item/demo-crash-site-item.lua

Code: Select all

local big_wreck_item = function(n)
  return
  {
    type = "item",
    name = "crash-site-spaceship-wreck-big-"..n,
    icon = "__base__/graphics/icons/crash-site-spaceship-wreck-big-"..n..".png",
    icon_size = 64, icon_mipmaps = 4,
    subgroup = "crash-site",
    order = "z[crash-site-spaceship]-b",
    place_result = "crash-site-spaceship-wreck-big-"..n,
    stack_size = 1,
    flags = {"hidden"}
  }
end
These functions are never run. We need these items to exist so that we can make the debris deconstructable.

Re: You forgot to run the functions to create crash wreck items.

Posted: Mon Aug 24, 2020 10:28 pm
by Rseding91
That is intended.