Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom sprites for corpses. #27099

Merged
merged 3 commits into from
Dec 15, 2018
Merged

Conversation

OzoneH3
Copy link
Member

@OzoneH3 OzoneH3 commented Dec 14, 2018

Summary

SUMMARY: Features "Allow custom sprites for corpses."

Purpose of change

Fixes #24655 (@SomeDeadGuy)

Describe the solution

This allows to add corpse specific sprites without adding a
dedicated corpse item to the game since corpses are just
a generic corpse with an mtype attached.
Will fallback to the normal corpse sprite if no custom one is found.

Additional context

To add a custom sprite just add corpse_ in front of the monster id.

{
    "id": "corpse_mon_zombie_rot",
    "fg": 1848
},

@mlangsdorf mlangsdorf added SDL: Tiles / Sound Tiles visual interface and sounds. [C++] Changes (can be) made in C++. Previously named `Code` <Enhancement / Feature> New features, or enhancements on existing labels Dec 14, 2018
@ZhilkinSerg ZhilkinSerg self-assigned this Dec 14, 2018
@ZhilkinSerg ZhilkinSerg merged commit 090740a into CleverRaven:master Dec 15, 2018
@ZhilkinSerg ZhilkinSerg removed their assignment Dec 15, 2018
@OzoneH3 OzoneH3 deleted the corpse_tiles branch December 15, 2018 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` <Enhancement / Feature> New features, or enhancements on existing SDL: Tiles / Sound Tiles visual interface and sounds.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants