Prototype/ItemEntity
Revision as of 17:52, 16 August 2023 by BilkaBot (talk | contribs) (Protected "Prototype/ItemEntity": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/ItemEntityPrototype.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
Template:Prototype parent The entity used for items on the ground.
Mandatory values
Item entity collision box has to have same width as height.
Example
{
type = "item-entity",
name = "item-on-ground",
flags = {"placeable-off-grid", "not-on-map"},
collision_box = {{-0.14, -0.14}, {0.14, 0.14}},
selection_box = {{-0.17, -0.17}, {0.17, 0.17}},
minable = {mining_time = 0.025}
}