Prototype/Arrow: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/Entity}}
==Basics==
==Basics==
Prototype type: '''arrow'''
Prototype type: '''arrow'''

Revision as of 15:16, 24 July 2019

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