Prototype/RocketSiloRocket: Difference between revisions
(0.18.12 (?): shadow_slave_entity is optional) |
(1.0.0: added rocket_above_wires_slice_offset_from_center, rocket_air_object_slice_offset_from_center) |
||
Line 72: | Line 72: | ||
{{Prototype property|rocket_initial_offset|[[Types/vector|vector]]|optional=true}} | {{Prototype property|rocket_initial_offset|[[Types/vector|vector]]|optional=true}} | ||
{{Prototype property|rocket_above_wires_slice_offset_from_center|[[Types/double|double]]|-3|optional=true}} | |||
{{Prototype property|rocket_air_object_slice_offset_from_center|[[Types/double|double]]|-5.5|optional=true}} | |||
{{Prototype property|flying_trigger|[[Types/TriggerEffect|TriggerEffect]]|optional=true}} | {{Prototype property|flying_trigger|[[Types/TriggerEffect|TriggerEffect]]|optional=true}} |
Revision as of 12:38, 8 September 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
rocket_above_wires_slice_offset_from_center
Type: double
Default: -3
rocket_air_object_slice_offset_from_center
Type: double
Default: -5.5
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.