Prototype/RocketSiloRocket: Difference between revisions
(Converted to SMW format) |
(0.18.12 (?): shadow_slave_entity is optional) |
||
Line 5: | Line 5: | ||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/Entity]] | This prototype inherits all the properties from [[Prototype/Entity]]. | ||
{{Prototype property|rocket_sprite|[[Types/Sprite|Sprite]]}} | {{Prototype property|rocket_sprite|[[Types/Sprite|Sprite]]}} | ||
Line 14: | Line 11: | ||
{{Prototype property|rocket_shadow_sprite|[[Types/Sprite|Sprite]]}} | {{Prototype property|rocket_shadow_sprite|[[Types/Sprite|Sprite]]}} | ||
{{Prototype property|rocket_glare_overlay_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_bottom1_animation|[[Types/Animation|Animation]]}} | ||
Line 65: | Line 62: | ||
== Optional properties == | == Optional properties == | ||
{{Prototype property|shadow_slave_entity|[[Types/string|string]]}} | |||
Name of an entity. | |||
{{Prototype property|dying_explosion|[[Types/string|string]]|optional=true}} | {{Prototype property|dying_explosion|[[Types/string|string]]|optional=true}} |
Revision as of 16:34, 11 March 2020
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/RocketSiloRocket
The rocket inside the rocket silo.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
rocket_sprite
Type: Sprite
rocket_shadow_sprite
Type: Sprite
rocket_glare_overlay_sprite
Type: 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
shadow_slave_entity
Type: string
Name of an entity.
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.