Prototype/Arrow

From Official Factorio Wiki
Revision as of 16:27, 21 January 2019 by BilkaBot (talk | contribs) (Added prototype type to page)
Jump to navigation Jump to search

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