Prototype/ItemEntity: Difference between revisions
Jump to navigation
Jump to search
(Set prototype parent) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/Entity}} | {{Prototype parent|Prototype/Entity}} | ||
The entity used for items on the ground. | |||
{{Prototype TOC|item-entity|no-properties=true}} | |||
Prototype | |||
== Mandatory values == | == Mandatory values == |
Revision as of 21:10, 5 August 2019
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}
}