Closed DemAvalon closed 6 years ago
Line 694 of monster.cpp seems to suggest they can still drown which is what I expected them to do. Line 1374 should be called in monmove.cpp to kill them but come to think of it I don't think I've seen a creature drown in a long time... so that may never be reached.
EDIT: Creatures only die from drowning if they are knocked back into deep water by a special attack, which is what happens in 1374. I can't find another reference to creatures drowning.
@acidia I'd encourage you to add few lines of code to drown not-undead not-water creatures, if you don't mind.
Closed by #24222.
Game version:0.C-28462-gb3d83b6
Operating system: Windows 10
Tiles or curses: Tiles
Mods active:Disable NPC needs, Simplified nutrition, Bionics Systems mod, Craftable Gun Pack, DeadLeaves' Fictional Guns, Extented Realistic Guns, Icecoon's Arsenal, Makeshift Items Mod, Medival and Historic Content, More Survival Tools, Crazy Cataclysm, NPC Traits, MXotto+ Cosmetics, Mutant NPCs, More Buildings, Urban Development, More Locations, Folding Parts pack, Vehicle Additions Pack, Tanks and Other Vehicles, Merchant Mod, ZSFIXED_C: DDA Extra Proffesions, StatsThroughSkills.
Expected behavior
Giant Locusts and locust nymphs, should not be able to jump into deep water or when they jump into deep water they should be able to leave or when they jump into deep water they drown.
Actual behavior
Giant locusts and locust nymphs will jump into deep water never leaving the spot unless the player swims all the way there, they then will proceed to produce filth in the deep water and lay eggs and reproduce in deep water.
Steps to reproduce the behavior
Spawn some locust nymphs beside a river, chase them so they run toward the river and behold as they leap into the river and begin to form their water based society after a few days or weeks.