Consistency/data/entities/animals/enlightened_alchemist.xml

130 lines
3.1 KiB
XML

<Entity name="$animal_enlightened_alchemist" >
<Base file="data/entities/base_enemy_basic.xml" >
<ItemChestComponent level="2" > </ItemChestComponent>
<AnimalAIComponent
preferred_job="JobDefault"
attack_melee_enabled="0"
creature_detection_range_x="400"
creature_detection_range_y="400"
food_material="blood"
needs_food="0"
sense_creatures="1"
attack_ranged_enabled="1"
can_fly="1"
attack_ranged_entity_file="data/entities/projectiles/enlightened_laser_dark_wand.xml"
attack_ranged_action_frame="4"
attack_ranged_frames_between="120"
attack_ranged_offset_x="12"
attack_ranged_offset_y="-12"
attack_ranged_min_distance="0"
attack_ranged_min_distance="300"
>
</AnimalAIComponent>
<DamageModelComponent
hp="4"
ragdoll_material="meat_confusion"
ragdoll_filenames_file="data/ragdolls/enlightened_alchemist/filenames.txt"
blood_material="slime"
blood_spray_material="slime"
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_purple_$[1-3].xml"
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_purple_$[1-3].xml"
ragdoll_offset_y="-14"
fire_probability_of_ignition="0.01"
air_needed="0"
>
<damage_multipliers
projectile="0.6"
electricity="0.6"
fire="0.4"
>
</damage_multipliers>
</DamageModelComponent>
<SpriteComponent
image_file="data/enemies_gfx/enlightened_alchemist.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<PathFindingComponent
can_jump="0"
can_walk="0"
can_fly="1"
>
</PathFindingComponent>
<PathFindingGridMarkerComponent
marker_work_flag="16" >
</PathFindingGridMarkerComponent>
<GenomeDataComponent
herd_id="mage"
food_chain_rank="6"
is_predator="1" >
</GenomeDataComponent>
<CharacterPlatformingComponent
jump_velocity_y="-12"
swim_idle_buoyancy_coeff="1.0"
run_velocity="1" >
</CharacterPlatformingComponent>
<CameraBoundComponent
max_count="30"
distance="160000">
</CameraBoundComponent>
<HitboxComponent
_enabled="1"
aabb_max_x="8"
aabb_max_y="2"
aabb_min_x="-8"
aabb_min_y="-24" >
</HitboxComponent>
<CharacterDataComponent
collision_aabb_min_x="-9.0"
collision_aabb_max_x="9.0"
collision_aabb_min_y="-25"
collision_aabb_max_y="3"
mass="1.8" >
</CharacterDataComponent>
</Base>
<ItemPickUpperComponent
is_in_npc="1">
</ItemPickUpperComponent>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/enlightened_alchemist/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/enlightened_alchemist" >
</AudioComponent>
<SpriteComponent
alpha="1"
image_file="data/particles/enlightened_alchemist_halo_dark.xml"
emissive="1"
additive="1"
special_scale_x="1"
has_special_scale="1"
rect_animation="stand" >
</SpriteComponent>
<LuaComponent
script_source_file="data/scripts/animals/enlightened_alchemist_init.lua"
remove_after_executed="1"
>
</LuaComponent>
</Entity>