Prototype/GodController: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent}}
{{Prototype parent}}
Properties of the god controller.


== Basics ==
{{Prototype TOC|god-controller}}
Prototype type: '''god-controller'''
 
Properties of the god controller.


== Mandatory properties ==
== Mandatory properties ==


=== type ===
{{Prototype property|type|[[Types/string|string]]}}
'''Type''': [[Types/string]]
 
Must be "god-controller".
Must be "god-controller".


=== name ===
{{Prototype property|name|[[Types/string|string]]}}
'''Type''': [[Types/string]]
 
Name of the god-controller. Must be "default" since only one instances of this prototype can be defined.
Name of the god-controller. Must be "default" since only one instances of this prototype can be defined.


=== inventory_size ===
{{Prototype property|inventory_size|[[Types/ItemStackIndex|ItemStackIndex]]}}
'''Type''': [[Types/ItemStackIndex]]
 
=== movement_speed ===
'''Type''': [[Types/double]]


{{Prototype property|movement_speed|[[Types/double|double]]}}
Must be >= 0.34375.
Must be >= 0.34375.


=== item_pickup_distance ===
{{Prototype property|item_pickup_distance|[[Types/double|double]]}}
'''Type''': [[Types/double]]


=== loot_pickup_distance ===
{{Prototype property|loot_pickup_distance|[[Types/double|double]]}}
'''Type''': [[Types/double]]


=== mining_speed ===
{{Prototype property|mining_speed|[[Types/double|double]]}}
'''Type''': [[Types/double]]


== Optional properties ==
== Optional properties ==


=== crafting_categories ===
{{Prototype property|crafting_categories|[[Types/table|table]] of [[Types/string|string]]|optional=true}}
'''Type''': [[Types/table]] of [[Types/string]]
 
Names of the crafting categories the player can craft recipes from.
Names of the crafting categories the player can craft recipes from.


=== mining_categories ===
{{Prototype property|mining_categories |[[Types/table|table]] of [[Types/string|string]]|optional=true}}
'''Type''': [[Types/table]] of [[Types/string]]
 
Names of the resource categories the player can mine resources from.
Names of the resource categories the player can mine resources from.

Revision as of 22:08, 27 July 2019

Prototype definitions » Prototype/GodController


Properties of the god controller.


Prototype/GodController — god-controller
inventory_size::ItemStackIndex
item_pickup_distance::double
loot_pickup_distance::double
mining_speed::double
movement_speed::double
name::string
type::string
crafting_categories::table of string (optional)
mining_categories::table of string (optional)

Mandatory properties

type

Type: string
Must be "god-controller".

name

Type: string
Name of the god-controller. Must be "default" since only one instances of this prototype can be defined.

inventory_size

Type: ItemStackIndex

movement_speed

Type: double
Must be >= 0.34375.

item_pickup_distance

Type: double

loot_pickup_distance

Type: double

mining_speed

Type: double

Optional properties

crafting_categories

Type: table of string
Names of the crafting categories the player can craft recipes from.

mining_categories

Type: table of string
Names of the resource categories the player can mine resources from.