Consistency/data/entities/animals/failed_alchemist_b.xml

211 lines
5.0 KiB
XML
Raw Normal View History

2021-08-20 01:53:47 +00:00
<Entity name="$animal_failed_alchemist_b" >
<Base file="data/entities/base_enemy_basic.xml" >
<ItemChestComponent _enabled="0" level="2" > </ItemChestComponent>
<LuaComponent
_enabled="0"
>
</LuaComponent>
<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="0"
can_fly="1"
>
</AnimalAIComponent>
<DamageModelComponent
hp="1.5"
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"
minimum_knockback_force="1000"
ragdoll_filenames_file=""
ragdoll_fx_forced="DISINTEGRATED"
ragdoll_material="rock_static_glow"
air_needed="0"
>
<damage_multipliers
projectile="0.6"
>
</damage_multipliers>
</DamageModelComponent>
<SpriteComponent
image_file="data/enemies_gfx/failed_alchemist_b.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="3"
aabb_max_y="2"
aabb_min_x="-3"
aabb_min_y="-20" >
</HitboxComponent>
<CharacterDataComponent
collision_aabb_min_x="-3.0"
collision_aabb_max_x="3.0"
collision_aabb_min_y="-20"
collision_aabb_max_y="3"
mass="1.8" >
</CharacterDataComponent>
</Base>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/failed_alchemist_b/magic_loop"
auto_play="1">
</AudioLoopComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/failed_alchemist_b" >
</AudioComponent>
<Entity>
<InheritTransformComponent>
<Transform
position.x="0"
position.y="-8"
>
</Transform>
</InheritTransformComponent>
<AreaDamageComponent
aabb_min.x="-64"
aabb_min.y="-64"
aabb_max.x="64"
aabb_max.y="64"
damage_per_frame="0.09"
update_every_n_frame="40"
entities_with_tag="prey"
damage_type="DAMAGE_PROJECTILE"
death_cause="$animal_failed_alchemist_b"
>
</AreaDamageComponent>
<SpriteParticleEmitterComponent
sprite_file="data/particles/failed_alchemist_glow_0$[1-6].png"
delay="0"
lifetime="1"
color.r="1" color.g="1" color.b="1" color.a="1"
color_change.r="0" color_change.g="0" color_change.b="0" color_change.a="-2"
velocity.x="0" velocity.y="0"
gravity.x="0" gravity.y="10"
velocity_slowdown="0"
rotation="0"
angular_velocity="0"
emissive="1"
additive="1"
use_velocity_as_rotation="0"
scale.x="1" scale.y="1"
scale_velocity.x="0" scale_velocity.y="0"
emission_interval_min_frames="5"
emission_interval_max_frames="10"
count_min="1" count_max="1"
randomize_position.min_x="-68"
randomize_position.max_x="60"
randomize_position.min_y="-68"
randomize_position.max_y="60"
randomize_velocity.min_y="-10"
randomize_velocity.max_y="10"
>
</SpriteParticleEmitterComponent>
<ParticleEmitterComponent
emitted_material_name="spark_purple_bright"
gravity.y="0.0"
lifetime_min="5.5"
lifetime_max="15.5"
count_min="1"
count_max="3"
render_on_grid="1"
fade_based_on_lifetime="1"
area_circle_radius.max="64"
cosmetic_force_create="0"
airflow_force="0.5"
airflow_time="1.9"
airflow_scale="0.15"
emission_interval_min_frames="1"
emission_interval_max_frames="4"
emit_cosmetic_particles="1"
x_vel_min="-1"
x_vel_max="1"
y_vel_min="-1"
y_vel_max="1"
is_emitting="1" >
</ParticleEmitterComponent>
<ParticleEmitterComponent
emitted_material_name="spark_purple_bright"
gravity.y="0.0"
lifetime_min="0.3"
lifetime_max="0.5"
count_min="10"
count_max="20"
render_on_grid="1"
fade_based_on_lifetime="1"
area_circle_radius.max="64"
area_circle_radius.min="64"
cosmetic_force_create="0"
airflow_force="0.5"
airflow_time="1.9"
airflow_scale="0.15"
emission_interval_min_frames="1"
emission_interval_max_frames="1"
emit_cosmetic_particles="1"
x_vel_min="-1"
x_vel_max="1"
y_vel_min="-1"
y_vel_max="1"
is_emitting="1" >
</ParticleEmitterComponent>
</Entity>
<LuaComponent
script_death="data/scripts/animals/failed_alchemist_b_death.lua"
>
</LuaComponent>
</Entity>