When a mob dies in combat, create_corpse is called to spawn a corpse at the mob's position with the mob's inventory transferred. This replaces the direct despawn_mob call, making combat deaths leave lootable corpses behind. The fallback to despawn_mob is kept if the mob somehow has no zone. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| commands.py | ||
| encounter.py | ||
| engine.py | ||
| moves.py | ||
| stamina.py | ||