Consistency/data/entities/animals/necromancer_shop.xml

199 lines
4.6 KiB
XML

<Entity name="$animal_necromancer_shop" tags="necromancer_shop,music_energy_100_near" >
<Base file="data/entities/base_enemy_flying.xml" >
<ItemChestComponent level="1" > </ItemChestComponent>
<AnimalAIComponent
attack_ranged_entity_file=""
attack_ranged_enabled="1"
attack_dash_enabled="0"
attack_ranged_frames_between="40"
attack_ranged_offset_x="8"
attack_ranged_offset_y="-12"
attack_ranged_action_frame="4"
attack_ranged_min_distance="40"
attack_ranged_max_distance="300"
creature_detection_range_x="600"
creature_detection_range_y="600"
needs_food="0"
can_fly="1" >
</AnimalAIComponent>
<DamageModelComponent
hp="12"
ragdoll_material="meat_cursed_dry"
blood_material="bone"
blood_spray_material="bone"
ragdoll_filenames_file="data/ragdolls/necromancer_shop/filenames.txt"
blood_sprite_directional=""
blood_sprite_large=""
fire_probability_of_ignition="0"
air_needed="0"
>
<damage_multipliers
explosion="0.2"
electricity="0.5"
fire="0.1" >
</damage_multipliers>
</DamageModelComponent>
<PathFindingComponent
can_fly="1"
can_walk="0"
>
</PathFindingComponent>
<SpriteComponent
image_file="data/enemies_gfx/necromancer_shop.xml"
offset_x="0"
offset_y="0">
</SpriteComponent>
<HitboxComponent
_enabled="1"
aabb_min_x="-6.5"
aabb_max_x="6.5"
aabb_min_y="-16.0"
aabb_max_y="3"
is_enemy="1"
is_item="0"
is_player="0" >
</HitboxComponent>
<GenomeDataComponent
herd_id="mage" >
</GenomeDataComponent>
<CharacterDataComponent
collision_aabb_min_x="-5.0"
collision_aabb_max_x="5.0"
collision_aabb_min_y="-16"
collision_aabb_max_y="3"
mass="1.1"
>
</CharacterDataComponent>
<CharacterPlatformingComponent
jump_velocity_y="-12"
run_velocity="14"
fly_speed_max_up="100"
fly_speed_max_down="100"
fly_speed_mult="20"
fly_speed_change_spd="1"
pixel_gravity="200"
fly_velocity_x="40">
</CharacterPlatformingComponent>
</Base>
<LightComponent
_enabled="1"
radius="70"
r="149"
g="235"
b="255">
</LightComponent>
<SpriteComponent
_tags="character"
_enabled="1"
alpha="1"
image_file="data/enemies_gfx/necromancer_shop_emissive.xml"
offset_x="0"
offset_y="0"
emissive="1"
additive="1"
next_rect_animation=""
rect_animation="walk"
>
</SpriteComponent>
<AIAttackComponent
min_distance="41"
max_distance="300"
frames_between="40"
frames_between_global="40"
attack_ranged_offset_x="8"
attack_ranged_offset_y="-12"
animation_name="attack_ranged"
attack_ranged_entity_file="data/entities/projectiles/orb_pink_big_explosive.xml"
attack_ranged_action_frame="4"
>
</AIAttackComponent>
<AIAttackComponent
min_distance="0"
max_distance="40"
frames_between="20"
frames_between_global="5"
attack_ranged_offset_x="8"
attack_ranged_offset_y="-12"
animation_name="attack_ranged_fast"
attack_ranged_entity_file="data/entities/projectiles/orb_pink.xml"
attack_ranged_action_frame="1"
>
</AIAttackComponent>
<AudioComponent
file="data/audio/Desktop/animals.bank"
event_root="animals/necromancer_shop" >
</AudioComponent>
<AudioLoopComponent
file="data/audio/Desktop/animals.bank"
event_name="animals/necromancer_shop/movement_loop"
set_speed_parameter="1"
auto_play="1">
</AudioLoopComponent>
<LuaComponent
_enabled="1"
execute_on_added="1"
remove_after_executed="1"
script_source_file="data/scripts/animals/necromancer_shop_init.lua"
>
</LuaComponent>
<LuaComponent
script_death="data/scripts/animals/necromancer_shop_death.lua"
>
</LuaComponent>
<Entity>
<InheritTransformComponent>
<Transform
only_position="1"
position.x="0"
position.y="-12" >
</Transform>
</InheritTransformComponent>
<Base file="data/entities/misc/animal_energy_shield.xml">
<EnergyShieldComponent
_tags="enabled_in_hand,item_identified__LEGACY"
recharge_speed="0.4"
radius="32.0" >
</EnergyShieldComponent>
<ParticleEmitterComponent
emitted_material_name="plasma_fading_pink"
area_circle_radius.max="32"
>
</ParticleEmitterComponent>
<ParticleEmitterComponent
emitted_material_name="plasma_fading_pink"
area_circle_radius.min="32"
area_circle_radius.max="32"
>
</ParticleEmitterComponent>
<ParticleEmitterComponent
emitted_material_name="plasma_fading_pink"
area_circle_radius.min="32"
area_circle_radius.max="32"
>
</ParticleEmitterComponent>
</Base>
</Entity>
</Entity>