Prototype/GodController: Difference between revisions
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. | |||
{{Prototype TOC|god-controller}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
{{Prototype property|type|[[Types/string|string]]}} | |||
Must be "god-controller". | Must be "god-controller". | ||
{{Prototype property|name|[[Types/string|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. | ||
{{Prototype property|inventory_size|[[Types/ItemStackIndex|ItemStackIndex]]}} | |||
{{Prototype property|movement_speed|[[Types/double|double]]}} | |||
Must be >= 0.34375. | Must be >= 0.34375. | ||
{{Prototype property|item_pickup_distance|[[Types/double|double]]}} | |||
{{Prototype property|loot_pickup_distance|[[Types/double|double]]}} | |||
{{Prototype property|mining_speed|[[Types/double|double]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|crafting_categories|[[Types/table|table]] of [[Types/string|string]]|optional=true}} | |||
Names of the crafting categories the player can craft recipes from. | Names of the crafting categories the player can craft recipes from. | ||
{{Prototype property|mining_categories |[[Types/table|table]] of [[Types/string|string]]|optional=true}} | |||
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
Template:Prototype parent Properties of the god controller.
Mandatory properties
Template:Prototype property Must be "god-controller".
Template:Prototype property Name of the god-controller. Must be "default" since only one instances of this prototype can be defined.
Template:Prototype property Must be >= 0.34375.
Optional properties
Template:Prototype property Names of the crafting categories the player can craft recipes from.
Template:Prototype property Names of the resource categories the player can mine resources from.