Consistency/data/entities/animals/gazer.xml

98 lines
2.3 KiB
XML
Raw Normal View History

2021-08-20 01:53:47 +00:00
<Entity name="$animal_gazer">
<Base file="data/entities/base_enemy_flying.xml" >
<ItemChestComponent level="1" > </ItemChestComponent>
<AnimalAIComponent
attack_ranged_entity_file="data/entities/projectiles/lavashot.xml"
attack_ranged_enabled="1"
attack_ranged_action_frame="1"
attack_dash_enabled="0"
attack_ranged_frames_between="50"
can_fly="1" >
</AnimalAIComponent>
<DamageModelComponent
hp="4.5"
ragdoll_material="meat_slime_cursed"
blood_material="lava"
blood_spray_material="lava"
fire_probability_of_ignition="0"
ragdoll_filenames_file="data/ragdolls/gazer/filenames.txt"
materials_that_damage="acid,poison,blood_cold,blood_cold_vapour"
materials_how_much_damage="0.004,0.001,0.0008,0.0007"
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_orange_$[1-3].xml"
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_orange_$[1-3].xml"
wet_status_effect_damage="0.1"
>
<damage_multipliers
melee="1.0"
projectile="1.0"
explosion="0.8"
electricity="0.8"
ice="1.2"
fire="0" >
</damage_multipliers>
</DamageModelComponent>
<PathFindingComponent
can_fly="1"
can_walk="0"
>
</PathFindingComponent>
<SpriteComponent
image_file="data/enemies_gfx/gazer.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<HitboxComponent
_enabled="1"
aabb_min_x="-10.5"
aabb_max_x="10.5"
aabb_min_y="-18.0"
aabb_max_y="6"
is_enemy="1"
is_item="0"
is_player="0" >
</HitboxComponent>
<GenomeDataComponent
herd_id="slimes" >
</GenomeDataComponent>
<CharacterDataComponent
collision_aabb_min_x="-10.0"
collision_aabb_max_x="10.0"
collision_aabb_min_y="-19"
collision_aabb_max_y="3"
mass="2.3"
>
</CharacterDataComponent>
</Base>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/gazer" >
</AudioComponent>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/gazer/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
<MaterialInventoryComponent
_enabled="1"
drop_as_item="0"
leak_on_damage_percent="0.999"
>
<count_per_material_type>
<Material material="lava" count="200" />
</count_per_material_type>
</MaterialInventoryComponent>
</Entity>