Prototype/RocketSiloRocket: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/Entity}}
== Basics ==
== Basics ==
Prototype type: '''rocket-silo-rocket'''
Prototype type: '''rocket-silo-rocket'''

Revision as of 15:21, 24 July 2019

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/RocketSiloRocket


Basics

Prototype type: rocket-silo-rocket

The rocket inside the rocket silo. Extends Prototype/Entity.

Mandatory properties

This prototype inherits all the properties from Prototype/Entity.

shadow_slave_entity

Type: Types/string

Name of an entity.

rocket_sprite

Type: Types/Sprite

rocket_shadow_sprite

Type: Types/Sprite

rocket_glare_overlay_sprite

Type: Types/Sprite

rocket_smoke_bottom1_animation

Type: Types/Animation

rocket_smoke_bottom2_animation

Type: Types/Animation

rocket_smoke_top1_animation

Type: Types/Animation

rocket_smoke_top2_animation

Type: Types/Animation

rocket_smoke_top3_animation

Type: Types/Animation

rocket_flame_animation

Type: Types/Animation

rocket_flame_left_animation

Type: Types/Animation

rocket_flame_right_animation

Type: Types/Animation

rocket_rise_offset

Type: Types/vector

rocket_flame_left_rotation

Type: Types/float

rocket_flame_right_rotation

Type: Types/float

rocket_render_layer_switch_distance

Type: Types/double

full_render_layer_switch_distance

Type: Types/double

rocket_launch_offset

Type: Types/vector

effects_fade_in_start_distance

Type: Types/double

effects_fade_in_end_distance

Type: Types/double

shadow_fade_out_start_ratio

Type: Types/double

shadow_fade_out_end_ratio

Type: Types/double

rocket_visible_distance_from_center

Type: Types/double

rising_speed

Type: Types/double

engine_starting_speed

Type: Types/double

flying_speed

Type: Types/double

flying_acceleration

Type: Types/double

inventory_size

Type: Types/ItemStackIndex

Optional properties

dying_explosion

Type: Types/string

Name of an entity.

glow_light

Type: Types/LightDefinition

rocket_initial_offset

Type: Types/vector

flying_trigger

Type: Types/TriggerEffect

result_items

Type: Types/table of Types/table

Unused in base game. Array of tables/arrays with the following members:

name or 1

Type: Types/string

Mandatory. Name of an item.

amount or 2

Type: Types/ItemCountType

Mandatory. Must be positive.

required_item or 3

Type: Types/string

Default: ""

Optional. Name of an item.