Prototype/EditorController: 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 editor controller. | |||
{{Prototype TOC|editor-controller}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
{{Prototype property|type|[[Types/string|string]]}} | |||
Must be "editor-controller". | Must be "editor-controller". | ||
{{Prototype property|name|[[Types/string|string]]}} | |||
Name of the editor-controller. Must be "default" since only one instances of this prototype can be defined. | Name of the editor-controller. Must be "default" since only one instances of this prototype can be defined. | ||
{{Prototype property|inventory_size|[[Types/ItemStackIndex|ItemStackIndex]]}} | |||
{{Prototype property|gun_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]]}} | |||
{{Prototype property|enable_flash_light|[[Types/bool|bool]]}} | |||
{{Prototype property|adjust_speed_based_off_zoom|[[Types/bool|bool]]}} | |||
{{Prototype property|render_as_day|[[Types/bool|bool]]}} | |||
{{Prototype property|instant_blueprint_building|[[Types/bool|bool]]}} | |||
{{Prototype property|instant_deconstruction|[[Types/bool|bool]]}} | |||
{{Prototype property|instant_upgrading|[[Types/bool|bool]]}} | |||
{{Prototype property|show_status_icons|[[Types/bool|bool]]}} | |||
{{Prototype property|show_hidden_entities|[[Types/bool|bool]]}} | |||
{{Prototype property|show_entity_tags|[[Types/bool|bool]]}} | |||
{{Prototype property|generate_neighbor_chunks|[[Types/bool|bool]]}} | |||
{{Prototype property|fill_built_entity_energy_buffers|[[Types/bool|bool]]|optional=true}} | |||
Revision as of 22:05, 27 July 2019
Prototype definitions » Prototype/EditorController
Properties of the editor controller.
Mandatory properties
type
Type: string
Must be "editor-controller".
name
Type: string
Name of the editor-controller. Must be "default" since only one instances of this prototype can be defined.
inventory_size
Type: ItemStackIndex
gun_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
enable_flash_light
Type: bool
adjust_speed_based_off_zoom
Type: bool
render_as_day
Type: bool
instant_blueprint_building
Type: bool
instant_deconstruction
Type: bool
instant_upgrading
Type: bool
show_status_icons
Type: bool
Type: bool
show_entity_tags
Type: bool
generate_neighbor_chunks
Type: bool
fill_built_entity_energy_buffers
Type: bool