Prototype/FlyingText

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

Template:Prototype parent

Basics

Prototype type: flying-text

An upwards flying text that disappears after a certain time (setting active = false stops the flying and the disappearing.) Based on Prototype/Entity.

Mandatory properties

speed

Type: Types/float

How fast the text flies up. Seems to be tiles/tick.

time_to_live

Type: Types/uint32

Time in ticks this flying-text lasts.

Optional properties

text_alignment

Type: Types/string

Default: "left"

Options: "left", "center", "right"