Prototype/MapGenPresets: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == The available map gen presets. == Mandatory properties == === type === '''Type''': Types/string Must be "map-gen-presets". === name === '''Type''': Type...")
 
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''map-gen-presets'''
The available map gen presets.
The available map gen presets.



Revision as of 16:27, 21 January 2019

Basics

Prototype type: map-gen-presets

The available map gen presets.

Mandatory properties

type

Type: Types/string

Must be "map-gen-presets".

name

Type: Types/string

Name of the map-gen-presets. Must be "default" since only one instances of this prototype can be defined.

the name of a preset

Type: Types/MapGenPreset

Example:

default =
  {
    default = true,
    order = "a"
  },