Prototype/Arrow: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(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''':...")
 
(Added prototype type to page)
Line 1: Line 1:
==Basics==
==Basics==
Prototype type: '''arrow'''
Extends the [[Prototype/Entity]]. The arrows used for example in the campaign, they are literally just arrows.
Extends the [[Prototype/Entity]]. The arrows used for example in the campaign, they are literally just arrows.



Revision as of 16:27, 21 January 2019

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