Prototype/GodController

From Official Factorio Wiki
Jump to navigation Jump to search

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.