Prototype/Arrow

From Official Factorio Wiki
Revision as of 15:16, 24 July 2019 by Bilka (talk | contribs) (Set prototype parent)
Jump to navigation Jump to search

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/Arrow


Basics

Prototype type: arrow

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
    }
  },