mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-01 04:21:42 +00:00
* Fixes and refactors death examine code (#55907) Examine death bodies should now display the correct text Changed the logic so that the message tells you if the players is: - Still in his body (`[t_He] [t_is] limp and unresponsive; there are no signs of life...`) or - A ghost that could enter the body again (`[t_He] [t_is] limp and unresponsive; there are no signs of life and [t_his] soul has departed, but the link is not yet fully broken...`) or - No ghost, that can reenter the body and no key (`[t_He] [t_is] limp and unresponsive; there are no signs of life and [t_his] soul has lost the will to live...`) Also refactored the code a bit: - Moved the death examine message generation to a proc so that you can work with returns - Removed pushed_do_not_resuscitate since its not needed this way * Fixes and refactors death examine code Co-authored-by: Gamer025 <33846895+Gamer025@users.noreply.github.com>