Prototype/Arrow

From Official Factorio Wiki
Revision as of 16:17, 22 December 2017 by Bilka (talk | contribs) (Created page with "==Basics== Extends the Prototype/Entity. The arrows used for example in the campaign, they are literally just arrows. == Properties == === circle_picture === '''Type''':...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basics

Extends the Prototype/Entity. The arrows used for example in the campaign, they are literally just arrows.

Properties

circle_picture

Type: Types/Sprite

arrow_picture

Type: Types/Sprite

blinking

Type: Types/bool

Default: false

Example

{
    type = "arrow",
    name = "orange-arrow-with-circle",
    flags = {"placeable-off-grid", "not-on-map"},
    blinking = true,
    arrow_picture =
    {
      filename = "__core__/graphics/arrows/gui-arrow-medium.png",
      priority = "low",
      width = 58,
      height = 62
    },
    circle_picture =
    {
      filename = "__core__/graphics/arrows/gui-arrow-circle.png",
      priority = "low",
      width = 50,
      height = 50
    }
  },