Prototype/UtilityConstants: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17.53)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent}}
== Basics ==
== Basics ==
Prototype type: '''utility-constants'''
Prototype type: '''utility-constants'''

Revision as of 14:53, 24 July 2019

Prototype definitions » PrototypeBase » Prototype/UtilityConstants


Basics

Prototype type: utility-constants

Constants used by the game that are not specific to certain prototypes. See utility-constants.lua for the values used by the base game.

General mandatory properties

type

Type: Types/string

Must be "utility-constants".

name

Type: Types/string

The base uses "default" and only one instance of UtilityConstants can be defined, so unless the base game definition is completely removed, name will have to be "default".

The constants

Every property is mandatory if not listed otherwise.