CleverRaven / CleverRaven/Cataclysm-DDA

``looks_like`` for monsters does not inherit the corpse sprite

Open
#74,017 2 comments 1 reaction 0 assignees View on GitHub
(P4 - Low) (S2 - Confirmed) SDL: Tiles / Sound
Dominant language
C++
Stars
13.2k
Forks
4.6k
Avg merge
2d 1h
Merged PRs (30d)
205

Description

### Describe the bug

What else to say?

If a monster has a ``looks_like`` of another monster, it inherits the monster sprite but not the monster's corpse sprite

### Attach save file

N/A

### Steps to reproduce

1. Turn on MSXotto
2. Spawn a chicken
3. Spawn a blue jay chick
4. Murder
5. Compare the corpses

### Expected behavior

``looks_like`` should probably carry over the entire thing to make life easier

### Screenshots

_No response_

### Versions and configuration

- OS: Windows
- OS Version: 10.0.22631.3593 (23H2)
- Game Version: 0.G-9772-g5b4b49b71e [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],
Slowdown Fungal Growth [no_fungal_growth]
]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with a chicken and blue jay chick while MSXotto is enabled, then locate the monster looks_like handling and the corpse sprite data. Confirm the fix by checking that a monster inheriting from another monster also uses the referenced monster's corpse sprite.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.