Prototype/UtilityConstants: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(manual_rail_building_reach_modifier - 0.17.35)
Line 94: Line 94:
* "clipboard_history_size" - [[Types/uint32]]
* "clipboard_history_size" - [[Types/uint32]]
* "recipe_step_limit" - [[Types/uint32]]
* "recipe_step_limit" - [[Types/uint32]]
* "manual_rail_building_reach_modifier" - [[Types/double]]
* "bonus_gui_ordering" - [[Types/table]] - Table with the following key/value pairs. Note that the base game uses more entries here [https://github.com/wube/factorio-data/blob/master/base/prototypes/categories/ammo-category.lua#L72-L76 that are applied via the ammo categories].
* "bonus_gui_ordering" - [[Types/table]] - Table with the following key/value pairs. Note that the base game uses more entries here [https://github.com/wube/factorio-data/blob/master/base/prototypes/categories/ammo-category.lua#L72-L76 that are applied via the ammo categories].
** "artillery_range" - [[Types/Order]]
** "artillery_range" - [[Types/Order]]

Revision as of 19:37, 2 May 2019

Basics

Prototype type: utility-constants

Constants used by the game that are not specific to certain prototypes.

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.