40 lines
889 B
XML
40 lines
889 B
XML
|
<Entity tags="mortal,hittable,homing_target,wand_ghost" name="$animal_wand_ghost">
|
||
|
|
||
|
<Base file="data/entities/base_wand_ghost.xml" >
|
||
|
<CameraBoundComponent
|
||
|
_enabled="0"
|
||
|
max_count="30"
|
||
|
distance="160000">
|
||
|
</CameraBoundComponent>
|
||
|
|
||
|
<GenomeDataComponent
|
||
|
herd_id="player"
|
||
|
food_chain_rank="7"
|
||
|
is_predator="1" >
|
||
|
</GenomeDataComponent>
|
||
|
|
||
|
</Base>
|
||
|
|
||
|
<AudioLoopComponent
|
||
|
file="data/audio/Desktop/animals.bank"
|
||
|
event_name="animals/ghost/movement_loop"
|
||
|
set_speed_parameter="1"
|
||
|
auto_play="1">
|
||
|
</AudioLoopComponent>
|
||
|
|
||
|
<LifetimeComponent
|
||
|
lifetime="3600"
|
||
|
/>
|
||
|
|
||
|
<LuaComponent
|
||
|
execute_every_n_frame="3599"
|
||
|
remove_after_executed="1"
|
||
|
script_source_file="data/scripts/misc/drop_all_items.lua"
|
||
|
>
|
||
|
</LuaComponent>
|
||
|
|
||
|
<!-- charm doesn't work with PhysicsAnimalAI -->
|
||
|
<!-- <Base file="data/entities/misc/effect_charm.xml"></Base> -->
|
||
|
|
||
|
|
||
|
</Entity>
|