Consistency/data/entities/animals/boss_centipede/sampo.xml

144 lines
3.4 KiB
XML

<Entity tags="teleportable_NOT,sampo_or_boss,this_is_sampo">
<UIInfoComponent
name="$item_mcguffin"
>
</UIInfoComponent>
<VelocityComponent />
<SimplePhysicsComponent/>
<ItemComponent
_tags="enabled_in_world"
item_name="$item_mcguffin"
is_pickable="1"
ui_sprite="data/ui_gfx/items/sampo.png"
ui_description="$itemdesc_mcguffin"
preferred_inventory="FULL"
uses_remaining="-1"
play_spinning_animation="0"
play_hover_animation="1"
>
</ItemComponent>
<LuaComponent
script_item_picked_up="data/entities/animals/boss_centipede/sampo_pickup.lua"
remove_after_executed="1"
>
</LuaComponent>
<LuaComponent
_enabled="1"
execute_on_added="1"
remove_after_executed="1"
script_source_file="data/entities/animals/boss_centipede/sampo_init.lua"
>
</LuaComponent>
<InheritTransformComponent
_tags="enabled_in_world,enabled_in_hand,enabled_in_inventory"
use_root_parent="1" >
</InheritTransformComponent>
<LuaComponent
_tags="enabled_in_world,enabled_in_hand,enabled_in_inventory"
_enabled="1"
script_source_file="data/entities/animals/boss_centipede/ending/sampo_start_ending_sequence.lua"
execute_every_n_frame="-1"
>
</LuaComponent>
<EndingMcGuffinComponent
_enabled="0"
_tags="enabled_in_inventory">
</EndingMcGuffinComponent>
<SpriteComponent
_tags="enabled_in_world,enabled_in_hand"
image_file="data/entities/animals/boss_centipede/sampo_sprite.xml"
offset_x="12"
offset_y="12"
z_index="0.5"
>
</SpriteComponent>
<ParticleEmitterComponent
_tags="enabled_in_world,enabled_in_hand"
emitted_material_name="spark_blue"
gravity.y="0.0"
lifetime_min="1"
lifetime_max="3"
x_vel_min="-5"
x_vel_max="5"
y_vel_min="-20"
y_vel_max="5"
count_min="55"
count_max="55"
render_on_grid="1"
fade_based_on_lifetime="1"
cosmetic_force_create="1"
collide_with_grid="0"
airflow_force="0.151"
airflow_time="1.01"
airflow_scale="0.03"
emission_interval_min_frames="12"
emission_interval_max_frames="12"
emit_cosmetic_particles="1"
area_circle_radius.max="12"
render_back="1"
is_emitting="1" >
</ParticleEmitterComponent>
<ParticleEmitterComponent
_tags="enabled_in_inventory"
emitted_material_name="spark_yellow"
gravity.y="0.0"
lifetime_min="1.5"
lifetime_max="8.5"
count_min="0"
count_max="1"
render_on_grid="1"
fade_based_on_lifetime="1"
area_circle_radius.max="6"
cosmetic_force_create="0"
airflow_force="0.5"
airflow_time="0.01"
airflow_scale="0.05"
attractor_force="2"
emission_interval_min_frames="4"
emission_interval_max_frames="30"
emit_cosmetic_particles="1"
is_emitting="1" >
</ParticleEmitterComponent>
<ParticleEmitterComponent
_tags="enabled_in_inventory"
emitted_material_name="gold"
gravity.y="0.0"
lifetime_min="2.5"
lifetime_max="13.5"
count_min="0"
count_max="1"
render_on_grid="1"
fade_based_on_lifetime="1"
area_circle_radius.max="4"
cosmetic_force_create="0"
airflow_force="0.5"
airflow_time="0.01"
airflow_scale="0.05"
attractor_force="2"
emission_interval_min_frames="4"
emission_interval_max_frames="30"
emit_cosmetic_particles="1"
>
</ParticleEmitterComponent>
<MusicEnergyAffectorComponent
energy_target="1.0"
fade_range="600.0"
fog_of_war_threshold="255"
energy_lerp_up_speed_multiplier="5.0"
>
</MusicEnergyAffectorComponent>
</Entity>