Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Messages for effects on other creatures is hardcoded

Open Hresvelgr401 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

I noticed that when a creature is downed a message is played when it attempts to stand. I tried to replicated this for a status effect I made but found that this was hardcoded rather then modifiable through .json

Solution you would like.

If this text could be modified or added to effects using JSON files it would add more options for modding

Describe alternatives you have considered.

No response

Additional context

No response

Hresvelgr401 avatar May 13 '24 11:05 Hresvelgr401

You can try to find the message. Dehardcoding might be less work if the person doing it is given the precise location of the text. And you can make sure the message isn't crazy complicated to construct.

Brambor avatar May 13 '24 20:05 Brambor

The message is found here https://github.com/CleverRaven/Cataclysm-DDA/blob/master/src/monster.cpp#L2261

Hresvelgr401 avatar May 15 '24 14:05 Hresvelgr401

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

github-actions[bot] avatar Jun 14 '24 18:06 github-actions[bot]