mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
fix fungus dropping money and make last change better, remove stay away from material damage after a bit
This commit is contained in:
parent
8e477ba8b6
commit
cdc2fc4bae
5 changed files with 15 additions and 532 deletions
|
@ -1,173 +0,0 @@
|
|||
<Entity name="$animal_fungus" >
|
||||
|
||||
<Base file="data/entities/base_enemy_basic.xml" >
|
||||
<ItemChestComponent level="2" enemy_drop="1" > </ItemChestComponent>
|
||||
|
||||
<AnimalAIComponent
|
||||
_enabled="1"
|
||||
escape_if_damaged_probability="70"
|
||||
food_material="blood"
|
||||
attack_melee_enabled="0"
|
||||
attack_melee_max_distance="1"
|
||||
attack_dash_enabled="1"
|
||||
attack_dash_lob="1.1"
|
||||
attack_ranged_enabled="0"
|
||||
aggressiveness_min="10"
|
||||
aggressiveness_max="100"
|
||||
>
|
||||
</AnimalAIComponent>
|
||||
|
||||
<DamageModelComponent
|
||||
hp="2.6"
|
||||
air_needed="0"
|
||||
ragdoll_filenames_file="data/ragdolls/fungus/filenames.txt"
|
||||
fire_probability_of_ignition="100"
|
||||
ragdoll_material="fungus_loose_trippy"
|
||||
blood_material="blood_fungi"
|
||||
blood_spray_material="blood_fungi"
|
||||
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_purple_$[1-3].xml"
|
||||
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_purple_$[1-3].xml"
|
||||
minimum_knockback_force="100000"
|
||||
>
|
||||
<damage_multipliers
|
||||
fire="40.0"
|
||||
>
|
||||
</damage_multipliers>
|
||||
</DamageModelComponent>
|
||||
|
||||
<SpriteComponent
|
||||
image_file="data/enemies_gfx/fungus.xml"
|
||||
offset_x="0"
|
||||
offset_y="0">
|
||||
</SpriteComponent>
|
||||
|
||||
<PathFindingGridMarkerComponent
|
||||
marker_work_flag="16" >
|
||||
</PathFindingGridMarkerComponent>
|
||||
|
||||
<PathFindingComponent
|
||||
frames_to_get_stuck="120"
|
||||
can_jump="1"
|
||||
never_consider_line_of_sight="1"
|
||||
>
|
||||
</PathFindingComponent>
|
||||
|
||||
<GenomeDataComponent
|
||||
herd_id="fungus"
|
||||
food_chain_rank="15"
|
||||
is_predator="1" >
|
||||
</GenomeDataComponent>
|
||||
|
||||
<CharacterPlatformingComponent
|
||||
jump_velocity_y="-12"
|
||||
run_velocity="9" >
|
||||
</CharacterPlatformingComponent>
|
||||
|
||||
<CameraBoundComponent
|
||||
max_count="30"
|
||||
distance="160000">
|
||||
</CameraBoundComponent>
|
||||
|
||||
<HitboxComponent
|
||||
_enabled="1"
|
||||
aabb_max_x="6"
|
||||
aabb_max_y="4"
|
||||
aabb_min_x="-6"
|
||||
aabb_min_y="-10" >
|
||||
</HitboxComponent>
|
||||
|
||||
<CharacterDataComponent
|
||||
collision_aabb_min_x="-3.0"
|
||||
collision_aabb_max_x="3.0"
|
||||
collision_aabb_min_y="-10"
|
||||
collision_aabb_max_y="3"
|
||||
mass="1.3"
|
||||
>
|
||||
</CharacterDataComponent>
|
||||
|
||||
<AudioComponent
|
||||
file="data/audio/Desktop/animals.bank"
|
||||
event_root="animals/slime">
|
||||
</AudioComponent>
|
||||
|
||||
</Base>
|
||||
|
||||
<MaterialInventoryComponent
|
||||
_enabled="1"
|
||||
drop_as_item="0"
|
||||
leak_on_damage_percent="0.999"
|
||||
>
|
||||
<count_per_material_type>
|
||||
<Material material="blood_fungi" count="400" />
|
||||
</count_per_material_type>
|
||||
</MaterialInventoryComponent>
|
||||
|
||||
<LuaComponent
|
||||
script_death="data/scripts/animals/fungus_death.lua"
|
||||
>
|
||||
</LuaComponent>
|
||||
|
||||
<LuaComponent
|
||||
execute_on_removed="0"
|
||||
execute_every_n_frame="-1"
|
||||
script_collision_trigger_timer_finished="data/scripts/animals/fungus_death.lua"
|
||||
remove_after_executed="1">
|
||||
</LuaComponent>
|
||||
|
||||
<LuaComponent
|
||||
execute_on_removed="0"
|
||||
execute_every_n_frame="-1"
|
||||
script_collision_trigger_hit="data/scripts/animals/fungus_smoke.lua"
|
||||
remove_after_executed="1">
|
||||
</LuaComponent>
|
||||
|
||||
<CollisionTriggerComponent
|
||||
width="10"
|
||||
height="10"
|
||||
radius="5"
|
||||
required_tag="mortal"
|
||||
destroy_this_entity_when_triggered="0"
|
||||
remove_component_when_triggered="1"
|
||||
timer_for_destruction="20" >
|
||||
</CollisionTriggerComponent>
|
||||
|
||||
<CollisionTriggerComponent
|
||||
width="10"
|
||||
height="10"
|
||||
radius="5"
|
||||
required_tag="mortal"
|
||||
timer_for_destruction="0"
|
||||
destroy_this_entity_when_triggered="0"
|
||||
remove_component_when_triggered="1"
|
||||
>
|
||||
</CollisionTriggerComponent>
|
||||
|
||||
<ParticleEmitterComponent
|
||||
emitted_material_name="acid_gas"
|
||||
offset.x="0"
|
||||
offset.y="0"
|
||||
x_pos_offset_min="-2"
|
||||
y_pos_offset_min="-2"
|
||||
x_pos_offset_max="2"
|
||||
y_pos_offset_max="2"
|
||||
x_vel_min="-10"
|
||||
x_vel_max="10"
|
||||
y_vel_min="-10"
|
||||
y_vel_max="10"
|
||||
count_min="1"
|
||||
count_max="2"
|
||||
lifetime_min="0.6"
|
||||
lifetime_max="1.8"
|
||||
create_real_particles="1"
|
||||
emit_cosmetic_particles="0"
|
||||
emission_interval_min_frames="10"
|
||||
emission_interval_max_frames="35"
|
||||
is_emitting="1" >
|
||||
</ParticleEmitterComponent>
|
||||
|
||||
<AudioComponent
|
||||
file="data/audio/Desktop/animals.bank"
|
||||
event_root="animals/fungus" >
|
||||
</AudioComponent>
|
||||
|
||||
</Entity>
|
|
@ -1,174 +0,0 @@
|
|||
<Entity name="$animal_fungus_big" >
|
||||
|
||||
<Base file="data/entities/base_enemy_basic.xml" >
|
||||
<ItemChestComponent level="2" enemy_drop="1" > </ItemChestComponent>
|
||||
|
||||
<AnimalAIComponent
|
||||
_enabled="1"
|
||||
escape_if_damaged_probability="70"
|
||||
food_material="blood"
|
||||
attack_melee_enabled="0"
|
||||
attack_melee_max_distance="1"
|
||||
attack_dash_enabled="1"
|
||||
attack_dash_lob="1.1"
|
||||
attack_ranged_enabled="0"
|
||||
aggressiveness_min="10"
|
||||
aggressiveness_max="100"
|
||||
attack_dash_damage="0.4"
|
||||
>
|
||||
</AnimalAIComponent>
|
||||
|
||||
<DamageModelComponent
|
||||
hp="7.6"
|
||||
air_needed="0"
|
||||
ragdoll_filenames_file="data/ragdolls/fungus_big/filenames.txt"
|
||||
fire_probability_of_ignition="20"
|
||||
ragdoll_material="fungus_loose_trippy"
|
||||
blood_material="blood_fungi"
|
||||
blood_spray_material="blood_fungi"
|
||||
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_purple_$[1-3].xml"
|
||||
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_purple_$[1-3].xml"
|
||||
minimum_knockback_force="100000"
|
||||
>
|
||||
<damage_multipliers
|
||||
fire="2.0"
|
||||
>
|
||||
</damage_multipliers>
|
||||
</DamageModelComponent>
|
||||
|
||||
<SpriteComponent
|
||||
image_file="data/enemies_gfx/fungus_big.xml"
|
||||
offset_x="0"
|
||||
offset_y="0">
|
||||
</SpriteComponent>
|
||||
|
||||
<PathFindingGridMarkerComponent
|
||||
marker_work_flag="16" >
|
||||
</PathFindingGridMarkerComponent>
|
||||
|
||||
<PathFindingComponent
|
||||
frames_to_get_stuck="120"
|
||||
can_jump="1"
|
||||
never_consider_line_of_sight="1"
|
||||
>
|
||||
</PathFindingComponent>
|
||||
|
||||
<GenomeDataComponent
|
||||
herd_id="fungus"
|
||||
food_chain_rank="15"
|
||||
is_predator="1" >
|
||||
</GenomeDataComponent>
|
||||
|
||||
<CharacterPlatformingComponent
|
||||
jump_velocity_y="-18"
|
||||
run_velocity="14" >
|
||||
</CharacterPlatformingComponent>
|
||||
|
||||
<CameraBoundComponent
|
||||
max_count="30"
|
||||
distance="160000">
|
||||
</CameraBoundComponent>
|
||||
|
||||
<HitboxComponent
|
||||
_enabled="1"
|
||||
aabb_max_x="6"
|
||||
aabb_max_y="4"
|
||||
aabb_min_x="-6"
|
||||
aabb_min_y="-16" >
|
||||
</HitboxComponent>
|
||||
|
||||
<CharacterDataComponent
|
||||
collision_aabb_min_x="-4.0"
|
||||
collision_aabb_max_x="4.0"
|
||||
collision_aabb_min_y="-14"
|
||||
collision_aabb_max_y="3"
|
||||
mass="1.3"
|
||||
>
|
||||
</CharacterDataComponent>
|
||||
|
||||
<AudioComponent
|
||||
file="data/audio/Desktop/animals.bank"
|
||||
event_root="animals/slime">
|
||||
</AudioComponent>
|
||||
|
||||
</Base>
|
||||
|
||||
<MaterialInventoryComponent
|
||||
_enabled="1"
|
||||
drop_as_item="0"
|
||||
leak_on_damage_percent="0.999"
|
||||
>
|
||||
<count_per_material_type>
|
||||
<Material material="blood_fungi" count="400" />
|
||||
</count_per_material_type>
|
||||
</MaterialInventoryComponent>
|
||||
|
||||
<LuaComponent
|
||||
script_death="data/scripts/animals/fungus_big_death.lua"
|
||||
>
|
||||
</LuaComponent>
|
||||
|
||||
<LuaComponent
|
||||
execute_on_removed="0"
|
||||
execute_every_n_frame="-1"
|
||||
script_collision_trigger_timer_finished="data/scripts/animals/fungus_big_death.lua"
|
||||
remove_after_executed="1">
|
||||
</LuaComponent>
|
||||
|
||||
<LuaComponent
|
||||
execute_on_removed="0"
|
||||
execute_every_n_frame="-1"
|
||||
script_collision_trigger_hit="data/scripts/animals/fungus_smoke.lua"
|
||||
remove_after_executed="1">
|
||||
</LuaComponent>
|
||||
|
||||
<CollisionTriggerComponent
|
||||
width="10"
|
||||
height="10"
|
||||
radius="5"
|
||||
required_tag="mortal"
|
||||
destroy_this_entity_when_triggered="0"
|
||||
remove_component_when_triggered="1"
|
||||
timer_for_destruction="40" >
|
||||
</CollisionTriggerComponent>
|
||||
|
||||
<CollisionTriggerComponent
|
||||
width="10"
|
||||
height="10"
|
||||
radius="5"
|
||||
required_tag="mortal"
|
||||
timer_for_destruction="0"
|
||||
destroy_this_entity_when_triggered="0"
|
||||
remove_component_when_triggered="1"
|
||||
>
|
||||
</CollisionTriggerComponent>
|
||||
|
||||
<ParticleEmitterComponent
|
||||
emitted_material_name="acid_gas"
|
||||
offset.x="0"
|
||||
offset.y="0"
|
||||
x_pos_offset_min="-2"
|
||||
y_pos_offset_min="-2"
|
||||
x_pos_offset_max="2"
|
||||
y_pos_offset_max="2"
|
||||
x_vel_min="-10"
|
||||
x_vel_max="10"
|
||||
y_vel_min="-10"
|
||||
y_vel_max="10"
|
||||
count_min="1"
|
||||
count_max="2"
|
||||
lifetime_min="0.6"
|
||||
lifetime_max="1.8"
|
||||
create_real_particles="1"
|
||||
emit_cosmetic_particles="0"
|
||||
emission_interval_min_frames="2"
|
||||
emission_interval_max_frames="10"
|
||||
is_emitting="1" >
|
||||
</ParticleEmitterComponent>
|
||||
|
||||
<AudioComponent
|
||||
file="data/audio/Desktop/animals.bank"
|
||||
event_root="animals/fungus" >
|
||||
</AudioComponent>
|
||||
|
||||
</Entity>
|
|
@ -1,177 +0,0 @@
|
|||
<Entity name="$animal_fungus_tiny" tags="fungus_tiny_bad" >
|
||||
|
||||
<Base file="data/entities/base_enemy_basic.xml" >
|
||||
<ItemChestComponent level="2" enemy_drop="1" > </ItemChestComponent>
|
||||
|
||||
<AnimalAIComponent
|
||||
_enabled="1"
|
||||
escape_if_damaged_probability="70"
|
||||
food_material="blood"
|
||||
attack_melee_enabled="0"
|
||||
attack_melee_max_distance="1"
|
||||
attack_dash_enabled="1"
|
||||
attack_dash_lob="1.1"
|
||||
attack_ranged_enabled="0"
|
||||
aggressiveness_min="10"
|
||||
aggressiveness_max="100"
|
||||
>
|
||||
</AnimalAIComponent>
|
||||
|
||||
<DamageModelComponent
|
||||
hp="1.6"
|
||||
air_needed="0"
|
||||
ragdoll_filenames_file=""
|
||||
fire_probability_of_ignition="100"
|
||||
ragdoll_material="fungus_loose_trippy"
|
||||
blood_material="blood_fungi"
|
||||
blood_spray_material="blood_fungi"
|
||||
blood_sprite_directional="data/particles/bloodsplatters/bloodsplatter_directional_purple_$[1-3].xml"
|
||||
blood_sprite_large="data/particles/bloodsplatters/bloodsplatter_purple_$[1-3].xml"
|
||||
minimum_knockback_force="100000"
|
||||
>
|
||||
<damage_multipliers
|
||||
fire="40.0"
|
||||
>
|
||||
</damage_multipliers>
|
||||
</DamageModelComponent>
|
||||
|
||||
<SpriteComponent
|
||||
image_file="data/enemies_gfx/fungus_tiny_b.xml"
|
||||
offset_x="0"
|
||||
offset_y="0">
|
||||
</SpriteComponent>
|
||||
|
||||
<PathFindingGridMarkerComponent
|
||||
marker_work_flag="16" >
|
||||
</PathFindingGridMarkerComponent>
|
||||
|
||||
<PathFindingComponent
|
||||
frames_to_get_stuck="120"
|
||||
can_jump="1"
|
||||
never_consider_line_of_sight="1"
|
||||
>
|
||||
</PathFindingComponent>
|
||||
|
||||
<GenomeDataComponent
|
||||
herd_id="fungus"
|
||||
food_chain_rank="15"
|
||||
is_predator="1" >
|
||||
</GenomeDataComponent>
|
||||
|
||||
<CharacterPlatformingComponent
|
||||
jump_velocity_y="-12"
|
||||
run_velocity="9" >
|
||||
</CharacterPlatformingComponent>
|
||||
|
||||
<CameraBoundComponent
|
||||
max_count="30"
|
||||
distance="160000">
|
||||
</CameraBoundComponent>
|
||||
|
||||
<HitboxComponent
|
||||
_enabled="1"
|
||||
aabb_max_x="4"
|
||||
aabb_max_y="4"
|
||||
aabb_min_x="-4"
|
||||
aabb_min_y="-8" >
|
||||
</HitboxComponent>
|
||||
|
||||
<CharacterDataComponent
|
||||
collision_aabb_min_x="-1.0"
|
||||
collision_aabb_max_x="1.0"
|
||||
collision_aabb_min_y="-6"
|
||||
collision_aabb_max_y="3"
|
||||
mass="1.3"
|
||||
>
|
||||
</CharacterDataComponent>
|
||||
|
||||
<AudioComponent
|
||||
file="data/audio/Desktop/animals.bank"
|
||||
event_root="animals/slime">
|
||||
</AudioComponent>
|
||||
|
||||
</Base>
|
||||
|
||||
<MaterialInventoryComponent
|
||||
_enabled="1"
|
||||
drop_as_item="0"
|
||||
leak_on_damage_percent="0.999"
|
||||
>
|
||||
<count_per_material_type>
|
||||
<Material material="blood_fungi" count="400" />
|
||||
</count_per_material_type>
|
||||
</MaterialInventoryComponent>
|
||||
|
||||
<LuaComponent
|
||||
script_death="data/scripts/animals/fungus_death.lua"
|
||||
>
|
||||
</LuaComponent>
|
||||
|
||||
<LuaComponent
|
||||
execute_on_removed="0"
|
||||
execute_every_n_frame="-1"
|
||||
script_collision_trigger_timer_finished="data/scripts/animals/fungus_death.lua"
|
||||
remove_after_executed="1">
|
||||
</LuaComponent>
|
||||
|
||||
<LuaComponent
|
||||
execute_on_removed="0"
|
||||
execute_every_n_frame="-1"
|
||||
script_collision_trigger_hit="data/scripts/animals/fungus_smoke.lua"
|
||||
remove_after_executed="1">
|
||||
</LuaComponent>
|
||||
|
||||
<CollisionTriggerComponent
|
||||
width="10"
|
||||
height="10"
|
||||
radius="5"
|
||||
required_tag="player_unit"
|
||||
destroy_this_entity_when_triggered="0"
|
||||
remove_component_when_triggered="1"
|
||||
timer_for_destruction="20" >
|
||||
</CollisionTriggerComponent>
|
||||
|
||||
<CollisionTriggerComponent
|
||||
width="10"
|
||||
height="10"
|
||||
radius="5"
|
||||
required_tag="player_unit"
|
||||
timer_for_destruction="0"
|
||||
destroy_this_entity_when_triggered="0"
|
||||
remove_component_when_triggered="1"
|
||||
>
|
||||
</CollisionTriggerComponent>
|
||||
|
||||
<ParticleEmitterComponent
|
||||
emitted_material_name="acid_gas"
|
||||
offset.x="0"
|
||||
offset.y="0"
|
||||
x_pos_offset_min="-2"
|
||||
y_pos_offset_min="-2"
|
||||
x_pos_offset_max="2"
|
||||
y_pos_offset_max="2"
|
||||
x_vel_min="-10"
|
||||
x_vel_max="10"
|
||||
y_vel_min="-10"
|
||||
y_vel_max="10"
|
||||
count_min="1"
|
||||
count_max="2"
|
||||
lifetime_min="0.6"
|
||||
lifetime_max="1.8"
|
||||
create_real_particles="1"
|
||||
emit_cosmetic_particles="0"
|
||||
emission_interval_min_frames="10"
|
||||
emission_interval_max_frames="35"
|
||||
is_emitting="1" >
|
||||
</ParticleEmitterComponent>
|
||||
|
||||
<AudioComponent
|
||||
file="data/audio/Desktop/animals.bank"
|
||||
event_root="animals/fungus" >
|
||||
</AudioComponent>
|
||||
|
||||
<VariableStorageComponent
|
||||
_tags="no_gold_drop">
|
||||
</VariableStorageComponent>
|
||||
|
||||
</Entity>
|
Loading…
Add table
Add a link
Reference in a new issue