712 lines
14 KiB
XML
712 lines
14 KiB
XML
|
<Entity tags="enemy,hittable,teleportable_NOT,homing_target,glue_NOT,necrobot_NOT,polymorphable_NOT,touchmagic_immunity" name="$animal_maggot_tiny">
|
||
|
|
||
|
<StreamingKeepAliveComponent/>
|
||
|
|
||
|
<_Transform
|
||
|
position.x="0"
|
||
|
position.y="0"
|
||
|
rotation="0"
|
||
|
scale.x="1"
|
||
|
scale.y="1" >
|
||
|
</_Transform>
|
||
|
|
||
|
<BossDragonComponent
|
||
|
speed="8"
|
||
|
speed_hunt="10"
|
||
|
acceleration="0.55"
|
||
|
direction_adjust_speed="0.006"
|
||
|
direction_adjust_speed_hunt="0.01"
|
||
|
tail_gravity="30"
|
||
|
part_distance="56"
|
||
|
ground_check_offset="40"
|
||
|
eat_anim_wait_mult="0.15"
|
||
|
hitbox_radius="36"
|
||
|
target_kill_radius="36"
|
||
|
target_kill_ragdoll_force="10"
|
||
|
hunt_box_radius="256"
|
||
|
random_target_box_radius="400"
|
||
|
new_hunt_target_check_every="240"
|
||
|
new_random_target_check_every="240"
|
||
|
ragdoll_filename=""
|
||
|
jump_cam_shake="20"
|
||
|
projectile_1=""
|
||
|
projectile_2=""
|
||
|
>
|
||
|
</BossDragonComponent>
|
||
|
|
||
|
<CellEaterComponent
|
||
|
radius="36" >
|
||
|
</CellEaterComponent>
|
||
|
|
||
|
<DamageModelComponent
|
||
|
_enabled="1"
|
||
|
air_needed="0"
|
||
|
falling_damages="0"
|
||
|
fire_damage_amount="0"
|
||
|
fire_how_much_fire_generates="0"
|
||
|
fire_probability_of_ignition="0"
|
||
|
ragdoll_fx_forced="DISINTEGRATED"
|
||
|
hp="120"
|
||
|
materials_damage="1"
|
||
|
ragdoll_filenames_file=""
|
||
|
blood_material="material_darkness"
|
||
|
blood_spray_material="material_darkness"
|
||
|
blood_multiplier="0.6"
|
||
|
ragdoll_offset_y="-6"
|
||
|
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_purple_$[1-3].xml"
|
||
|
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_purple_$[1-3].xml"
|
||
|
>
|
||
|
<damage_multipliers
|
||
|
explosion="0.5"
|
||
|
fire="0.5"
|
||
|
ice="0.5"
|
||
|
electricity="0.3"
|
||
|
projectile="0.0"
|
||
|
>
|
||
|
</damage_multipliers>
|
||
|
</DamageModelComponent>
|
||
|
|
||
|
<PathFindingGridMarkerComponent
|
||
|
marker_offset_y="0"
|
||
|
marker_work_flag="16" >
|
||
|
</PathFindingGridMarkerComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
herd_id="boss_dragon"
|
||
|
food_chain_rank="10"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_head.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
update_transform="0"
|
||
|
z_index="-0.1"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
update_transform="0"
|
||
|
z_index="-0.11"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
update_transform="0"
|
||
|
z_index="-0.12"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
update_transform="0"
|
||
|
z_index="-0.13"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
update_transform="0"
|
||
|
z_index="-0.14"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
update_transform="0"
|
||
|
z_index="-0.15"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
update_transform="0"
|
||
|
z_index="-0.16"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
update_transform="0"
|
||
|
z_index="-0.17"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
update_transform="0"
|
||
|
z_index="-0.18"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
update_transform="0"
|
||
|
z_index="-0.19"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_tail.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
update_transform="0"
|
||
|
z_index="-0.20"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="health_bar_back,ui,no_hitbox"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
has_special_scale="1"
|
||
|
image_file="data/ui_gfx/health_slider_back.png"
|
||
|
is_text_sprite="0"
|
||
|
next_rect_animation=""
|
||
|
offset_x="12"
|
||
|
offset_y="42"
|
||
|
rect_animation=""
|
||
|
special_scale_x="1"
|
||
|
special_scale_y="1"
|
||
|
ui_is_parent="0"
|
||
|
update_transform="1"
|
||
|
visible="1"
|
||
|
emissive="1"
|
||
|
never_ragdollify_on_death="1"
|
||
|
z_index="-9000" >
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="health_bar,ui,no_hitbox"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
has_special_scale="1"
|
||
|
image_file="data/ui_gfx/health_slider_front.png"
|
||
|
is_text_sprite="0"
|
||
|
next_rect_animation=""
|
||
|
offset_x="11"
|
||
|
offset_y="42"
|
||
|
rect_animation=""
|
||
|
special_scale_x="1"
|
||
|
special_scale_y="1"
|
||
|
ui_is_parent="0"
|
||
|
update_transform="1"
|
||
|
visible="1"
|
||
|
emissive="1"
|
||
|
never_ragdollify_on_death="1"
|
||
|
z_index="-9000" >
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LightComponent
|
||
|
_enabled="1"
|
||
|
radius="100"
|
||
|
r="255"
|
||
|
g="149"
|
||
|
b="0" >
|
||
|
</LightComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_death="data/entities/animals/maggot_tiny/death.lua"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
|
||
|
<HealthBarComponent>
|
||
|
</HealthBarComponent>
|
||
|
|
||
|
<MusicEnergyAffectorComponent
|
||
|
energy_target="1">
|
||
|
</MusicEnergyAffectorComponent>
|
||
|
|
||
|
<AudioLoopComponent
|
||
|
file="data/audio/Desktop/animals.bank"
|
||
|
event_name="animals/worm/movement_loop_big"
|
||
|
set_speed_parameter="1"
|
||
|
auto_play="1">
|
||
|
</AudioLoopComponent>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent
|
||
|
parent_sprite_id="0"
|
||
|
>
|
||
|
</InheritTransformComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
herd_id="boss_dragon"
|
||
|
food_chain_rank="20"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="character"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_head_emissive.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_source_file="data/entities/animals/maggot_tiny/stain.lua"
|
||
|
execute_every_n_frame="18"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
</Entity>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent
|
||
|
parent_sprite_id="1"
|
||
|
>
|
||
|
</InheritTransformComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
herd_id="boss_dragon"
|
||
|
food_chain_rank="20"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="character"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body_emissive.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_source_file="data/entities/animals/maggot_tiny/stain.lua"
|
||
|
execute_every_n_frame="22"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
</Entity>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent
|
||
|
parent_sprite_id="2"
|
||
|
>
|
||
|
</InheritTransformComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
herd_id="boss_dragon"
|
||
|
food_chain_rank="20"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="character"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body_emissive.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_source_file="data/entities/animals/maggot_tiny/stain.lua"
|
||
|
execute_every_n_frame="21"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
</Entity>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent
|
||
|
parent_sprite_id="3"
|
||
|
>
|
||
|
</InheritTransformComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
herd_id="boss_dragon"
|
||
|
food_chain_rank="20"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="character"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body_emissive.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_source_file="data/entities/animals/maggot_tiny/stain.lua"
|
||
|
execute_every_n_frame="19"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
</Entity>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent
|
||
|
parent_sprite_id="4"
|
||
|
>
|
||
|
</InheritTransformComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
herd_id="boss_dragon"
|
||
|
food_chain_rank="20"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="character"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body_emissive.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_source_file="data/entities/animals/maggot_tiny/stain.lua"
|
||
|
execute_every_n_frame="23"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
</Entity>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent
|
||
|
parent_sprite_id="5"
|
||
|
>
|
||
|
</InheritTransformComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
herd_id="boss_dragon"
|
||
|
food_chain_rank="20"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="character"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body_emissive.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_source_file="data/entities/animals/maggot_tiny/stain.lua"
|
||
|
execute_every_n_frame="20"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
</Entity>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent
|
||
|
parent_sprite_id="6"
|
||
|
>
|
||
|
</InheritTransformComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
herd_id="boss_dragon"
|
||
|
food_chain_rank="20"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="character"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body_emissive.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_source_file="data/entities/animals/maggot_tiny/stain.lua"
|
||
|
execute_every_n_frame="22"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
</Entity>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent
|
||
|
parent_sprite_id="7"
|
||
|
>
|
||
|
</InheritTransformComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
herd_id="boss_dragon"
|
||
|
food_chain_rank="20"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="character"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body_emissive.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_source_file="data/entities/animals/maggot_tiny/stain.lua"
|
||
|
execute_every_n_frame="21"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
</Entity>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent
|
||
|
parent_sprite_id="8"
|
||
|
>
|
||
|
</InheritTransformComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
herd_id="boss_dragon"
|
||
|
food_chain_rank="20"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="character"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body_emissive.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_source_file="data/entities/animals/maggot_tiny/stain.lua"
|
||
|
execute_every_n_frame="19"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
</Entity>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent
|
||
|
parent_sprite_id="9"
|
||
|
>
|
||
|
</InheritTransformComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
herd_id="boss_dragon"
|
||
|
food_chain_rank="20"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="character"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_body_emissive.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_source_file="data/entities/animals/maggot_tiny/stain.lua"
|
||
|
execute_every_n_frame="18"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
</Entity>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent
|
||
|
parent_sprite_id="10"
|
||
|
>
|
||
|
</InheritTransformComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
_enabled="1"
|
||
|
herd_id="boss_dragon"
|
||
|
food_chain_rank="20"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
<SpriteComponent
|
||
|
_tags="character"
|
||
|
_enabled="1"
|
||
|
alpha="1"
|
||
|
image_file="data/enemies_gfx/maggot_tiny_tail_emissive.xml"
|
||
|
rect_animation="eat"
|
||
|
next_rect_animation="eat"
|
||
|
emissive="1"
|
||
|
additive="1"
|
||
|
offset_x="0"
|
||
|
offset_y="0"
|
||
|
>
|
||
|
</SpriteComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_source_file="data/entities/animals/maggot_tiny/stain.lua"
|
||
|
execute_every_n_frame="20"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
</Entity>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent />
|
||
|
|
||
|
<GameEffectComponent
|
||
|
effect="STUN_PROTECTION_FREEZE"
|
||
|
frames="-1"
|
||
|
>
|
||
|
</GameEffectComponent >
|
||
|
</Entity>
|
||
|
|
||
|
<Entity>
|
||
|
<InheritTransformComponent />
|
||
|
|
||
|
<GameEffectComponent
|
||
|
effect="STUN_PROTECTION_ELECTRICITY"
|
||
|
frames="-1"
|
||
|
>
|
||
|
</GameEffectComponent >
|
||
|
</Entity>
|
||
|
|
||
|
<AreaDamageComponent
|
||
|
aabb_min.x="-36"
|
||
|
aabb_min.y="-36"
|
||
|
aabb_max.x="36"
|
||
|
aabb_max.y="36"
|
||
|
damage_per_frame="0.24"
|
||
|
update_every_n_frame="4"
|
||
|
entities_with_tag="mortal"
|
||
|
damage_type="DAMAGE_CURSE"
|
||
|
>
|
||
|
</AreaDamageComponent>
|
||
|
|
||
|
<VariableStorageComponent
|
||
|
name="shooter_part"
|
||
|
value_int="1"
|
||
|
>
|
||
|
</VariableStorageComponent>
|
||
|
|
||
|
<LuaComponent
|
||
|
script_source_file="data/entities/animals/maggot_tiny/shot.lua"
|
||
|
execute_every_n_frame="20"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
|
||
|
</Entity>
|