Prototype/RocketSiloRocket: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(1.0.0: added rocket_above_wires_slice_offset_from_center, rocket_air_object_slice_offset_from_center)
(Updated styling of prototype doc migration note)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/RocketSiloRocketPrototype.html https://lua-api.factorio.com/latest/prototypes/RocketSiloRocketPrototype.html]
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
{{Prototype parent|Prototype/Entity}}
{{Prototype parent|Prototype/Entity}}
The rocket inside the rocket silo.
The rocket inside the rocket silo.
Line 63: Line 69:
== Optional properties ==
== Optional properties ==


{{Prototype property|shadow_slave_entity|[[Types/string|string]]}}
{{Prototype property|shadow_slave_entity|[[Types/string|string]]|optional=true}}
Name of an entity.
Name of an entity.


Line 78: Line 84:


{{Prototype property|flying_trigger|[[Types/TriggerEffect|TriggerEffect]]|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:
* 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.

Latest revision as of 10:43, 21 September 2023

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/RocketSiloRocketPrototype.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.


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


The rocket inside the rocket silo.


Prototype/RocketSiloRocket — rocket-silo-rocket
effects_fade_in_end_distance::double
effects_fade_in_start_distance::double
engine_starting_speed::double
flying_acceleration::double
flying_speed::double
full_render_layer_switch_distance::double
inventory_size::ItemStackIndex
rising_speed::double
rocket_flame_animation::Animation
rocket_flame_left_animation::Animation
rocket_flame_left_rotation::float
rocket_flame_right_animation::Animation
rocket_flame_right_rotation::float
rocket_glare_overlay_sprite::Sprite
rocket_launch_offset::vector
rocket_render_layer_switch_distance::double
rocket_rise_offset::vector
rocket_shadow_sprite::Sprite
rocket_smoke_bottom1_animation::Animation
rocket_smoke_bottom2_animation::Animation
rocket_smoke_top1_animation::Animation
rocket_smoke_top2_animation::Animation
rocket_smoke_top3_animation::Animation
rocket_sprite::Sprite
rocket_visible_distance_from_center::double
shadow_fade_out_end_ratio::double
shadow_fade_out_start_ratio::double
dying_explosion::string (optional)
flying_trigger::TriggerEffect (optional)
glow_light::LightDefinition (optional)
rocket_above_wires_slice_offset_from_center::double (optional)
rocket_air_object_slice_offset_from_center::double (optional)
rocket_initial_offset::vector (optional)
shadow_slave_entity::string (optional)
Inherited from Prototype/Entity
icons, icon, icon_size (IconSpecification)::IconSpecification
additional_pastable_entities::table of string (optional)
alert_icon_scale::float (optional)
alert_icon_shift::vector (optional)
allow_copy_paste::bool (optional)
autoplace::AutoplaceSpecification (optional)
build_base_evolution_requirement::double (optional)
build_grid_size::uint8 (optional)
build_sound::Sound (optional)
close_sound::Sound (optional)
collision_box::BoundingBox (optional)
collision_mask::CollisionMask (optional)
created_effect::Trigger (optional)
created_smoke::CreateTrivialSmokeEffectItem (optional)
drawing_box::BoundingBox (optional)
emissions_per_second::double (optional)
enemy_map_color::Color (optional)
fast_replaceable_group::string (optional)
flags::EntityPrototypeFlags (optional)
friendly_map_color::Color (optional)
hit_visualization_box::BoundingBox (optional)
map_color::Color (optional)
map_generator_bounding_box::BoundingBox (optional)
minable::MinableProperties (optional)
mined_sound::Sound (optional)
mining_sound::Sound (optional)
next_upgrade::string (optional)
open_sound::Sound (optional)
placeable_by::ItemToPlace or table of ItemToPlace (optional)
protected_from_tile_building::bool (optional)
radius_visualisation_specification::RadiusVisualisationSpecification (optional)
remains_when_mined::string or table of string (optional)
remove_decoratives::string (optional)
rotated_sound::Sound (optional)
selectable_in_game::bool (optional)
selection_box::BoundingBox (optional)
selection_priority::uint8 (optional)
shooting_cursor_size::double (optional)
sticker_box::BoundingBox (optional)
subgroup::string (optional)
tile_height::uint32 (optional)
tile_width::uint32 (optional)
trigger_target_mask::TriggerTargetMask (optional)
vehicle_impact_sound::Sound (optional)
water_reflection::WaterReflectionDefinition (optional)
working_sound::WorkingSound (optional)
Inherited from PrototypeBase
name::string
type::string
localised_description::LocalisedString (optional)
localised_name::LocalisedString (optional)
order::Order (optional)

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