Prototype/TileGhost: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == The entity used for tile ghosts. Extends Prototype/Entity. == Properties == This prototype inherits all the properties from Prototype/Entity. == Example...")
 
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''tile-ghost'''
The entity used for tile ghosts. Extends [[Prototype/Entity]].
The entity used for tile ghosts. Extends [[Prototype/Entity]].



Revision as of 16:28, 21 January 2019

Basics

Prototype type: tile-ghost

The entity used for tile ghosts. Extends Prototype/Entity.

Properties

This prototype inherits all the properties from Prototype/Entity.

Example

  {
    type = "tile-ghost",
    name = "tile-ghost",
    flags = {"not-on-map"},
    minable = { mining_time = 0, results={}},
    collision_box = {{-0.5, -0.5}, {0.5, 0.5}},
    selection_priority = 45
  },