Prototype/RocketSiloRocket: Difference between revisions
(Set prototype parent) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/Entity}} | {{Prototype parent|Prototype/Entity}} | ||
The rocket inside the rocket silo. | |||
{{Prototype TOC|rocket-silo-rocket}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/Entity]]. | This prototype inherits all the properties from [[Prototype/Entity]]. | ||
{{Prototype property|shadow_slave_entity|[[Types/string|string]]}} | |||
Name of an entity. | Name of an entity. | ||
{{Prototype property|rocket_sprite|[[Types/Sprite|Sprite]]}} | |||
{{Prototype property|rocket_shadow_sprite|[[Types/Sprite|Sprite]]}} | |||
{{Prototype property|rocket_glare_overlay_sprite|[[Types/Sprite|Sprite]]} | |||
{{Prototype property|rocket_smoke_bottom1_animation|[[Types/Animation|Animation]]}} | |||
{{Prototype property|rocket_smoke_bottom2_animation|[[Types/Animation|Animation]]}} | |||
{{Prototype property|rocket_smoke_top1_animation|[[Types/Animation|Animation]]}} | |||
{{Prototype property|rocket_smoke_top2_animation|[[Types/Animation|Animation]]}} | |||
{{Prototype property|rocket_smoke_top3_animation|[[Types/Animation|Animation]]}} | |||
{{Prototype property|rocket_flame_animation|[[Types/Animation|Animation]]}} | |||
{{Prototype property|rocket_flame_left_animation|[[Types/Animation|Animation]]}} | |||
{{Prototype property|rocket_flame_right_animation|[[Types/Animation|Animation]]}} | |||
{{Prototype property|rocket_rise_offset|[[Types/vector|vector]]}} | |||
{{Prototype property|rocket_flame_left_rotation|[[Types/float|float]]}} | |||
{{Prototype property|rocket_flame_right_rotation|[[Types/float|float]]}} | |||
{{Prototype property|rocket_render_layer_switch_distance|[[Types/double|double]]}} | |||
{{Prototype property|full_render_layer_switch_distance|[[Types/double|double]]}} | |||
{{Prototype property|rocket_launch_offset|[[Types/vector|vector]]}} | |||
{{Prototype property|effects_fade_in_start_distance|[[Types/double|double]]}} | |||
{{Prototype property|effects_fade_in_end_distance|[[Types/double|double]]}} | |||
{{Prototype property|shadow_fade_out_start_ratio|[[Types/double|double]]}} | |||
{{Prototype property|shadow_fade_out_end_ratio|[[Types/double|double]]}} | |||
{{Prototype property|rocket_visible_distance_from_center|[[Types/double|double]]}} | |||
{{Prototype property|rising_speed|[[Types/double|double]]}} | |||
{{Prototype property|engine_starting_speed|[[Types/double|double]]}} | |||
{{Prototype property|flying_speed|[[Types/double|double]]}} | |||
{{Prototype property|flying_acceleration|[[Types/double|double]]}} | |||
{{Prototype property|inventory_size|[[Types/ItemStackIndex|ItemStackIndex]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|dying_explosion|[[Types/string|string]]|optional=true}} | |||
Name of an entity. | Name of an entity. | ||
{{Prototype property|glow_light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | |||
{{Prototype property|rocket_initial_offset|[[Types/vector|vector]]|optional=true}} | |||
{{Prototype property|flying_trigger|[[Types/TriggerEffect|TriggerEffect]]|optional=true}} | |||
{{Prototype property|result_items|[[Types/table|table]] of [[Types/table|table]]|optional=true}} | |||
Unused in base game. Array of tables/arrays with the following members: | Unused in base game. Array of tables/arrays with the following members: | ||
* name or 1 - [[Types/string|string]] - Mandatory. Name of an item. | |||
* amount or 2 - [[Types/ItemCountType|ItemCountType]] - Mandatory. Must be positive. | |||
* required_item or 3 - [[Types/string|string]] - Optional. Name of an item. | |||
Mandatory. Name of an item. | |||
Mandatory. Must be positive. | |||
Optional. Name of an item. |
Revision as of 21:23, 5 August 2019
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/RocketSiloRocket
The rocket inside the rocket silo.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
shadow_slave_entity
Type: string
Name of an entity.
rocket_sprite
Type: Sprite
rocket_shadow_sprite
Type: Sprite
{{Prototype property|rocket_glare_overlay_sprite|Sprite}
rocket_smoke_bottom1_animation
Type: Animation
rocket_smoke_bottom2_animation
Type: Animation
rocket_smoke_top1_animation
Type: Animation
rocket_smoke_top2_animation
Type: Animation
rocket_smoke_top3_animation
Type: Animation
rocket_flame_animation
Type: Animation
rocket_flame_left_animation
Type: Animation
rocket_flame_right_animation
Type: Animation
rocket_rise_offset
Type: vector
rocket_flame_left_rotation
Type: float
rocket_flame_right_rotation
Type: float
rocket_render_layer_switch_distance
Type: double
full_render_layer_switch_distance
Type: double
rocket_launch_offset
Type: vector
effects_fade_in_start_distance
Type: double
effects_fade_in_end_distance
Type: double
shadow_fade_out_start_ratio
Type: double
shadow_fade_out_end_ratio
Type: double
rocket_visible_distance_from_center
Type: double
rising_speed
Type: double
engine_starting_speed
Type: double
flying_speed
Type: double
flying_acceleration
Type: double
inventory_size
Type: ItemStackIndex
Optional properties
dying_explosion
Type: string
Name of an entity.
glow_light
Type: LightDefinition
rocket_initial_offset
Type: vector
flying_trigger
Type: TriggerEffect
result_items
Type: table of table
Unused in base game. Array of tables/arrays with the following members:
- name or 1 - string - Mandatory. Name of an item.
- amount or 2 - ItemCountType - Mandatory. Must be positive.
- required_item or 3 - string - Optional. Name of an item.