Prototype/GodController: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Basics == Properties of the god controller. == Mandatory properties == === type === '''Type''': Types/string Must be "god-controller". === name === '''Type''': Ty...") |
(Converted to SMW format) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent}} | |||
Properties of the god controller. | Properties of the god controller. | ||
{{Prototype TOC|god-controller}} | |||
== 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. |
Latest 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.