CleverRaven / CleverRaven/Cataclysm-DDA

Monster evolution is not happening the first time a monster is spawned

Open
#80,809 7 comments 0 reactions 0 assignees View on GitHub
(S2 - Confirmed)
Dominant language
C++
Stars
13.1k
Forks
4.6k
Avg merge
2d 1h
Merged PRs (30d)
200

Description

### Describe the bug

Monster dont spawn as the evolved forms when they first spawn in like they should when you are over a year into the game

### Attach save file

[Testing evolution_copy-trimmed.tar.gz](https://github.com/user-attachments/files/20023509/Testing.evolution_copy-trimmed.tar.gz)

### Steps to reproduce

1. Go to a location you havent been to before and see a bunch of non evolved monsters
2. Leave the area by walking a good distance away
3. Return and see a bunch of evolved monsters

### Expected behavior

that the monster properly evolve the first time they are spawned in

### Screenshots

![Image](https://github.com/user-attachments/assets/20827b7e-5e16-423d-9684-a89e776a43f0)

![Image](https://github.com/user-attachments/assets/5fa12582-1bb7-465e-b65d-2894f5433713)

### Versions and configuration

- OS: Windows
- OS Version: 10.0.19045.5737 (22H2)
- Game Version: cdda-experimental-2025-05-03-0635 [64-bit]
- Graphics Version: Tiles
- Game Language: English [en]
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms]
]

### Additional context

in the attached save file go up to the prison to see the non evolved zombies, then walk 10 map tiles away from the prison, after that you can walk back and see the evolved zombies
_No response_

Contributor guide

Open the contributing guide

Research direction

Load the attached save file and visit the prison to reproduce the unevolved monsters on first entry. Then leave by about 10 map tiles and return to compare the later spawn behavior; done means monsters use their evolved forms on the initial spawn as well as after revisiting the area.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.