Prototype/GodController: Difference between revisions
(Migrated prototype doc to separate website) |
m (Protected "Prototype/GodController": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
Revision as of 17:52, 16 August 2023
The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/GodControllerPrototype.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
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.