Goonstation Forums
[Feature] Allows people to ghost after entering cryo so RP isn't disrupted. - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30)
+---- Forum: Implemented (https://forum.ss13.co/forumdisplay.php?fid=31)
+---- Thread: [Feature] Allows people to ghost after entering cryo so RP isn't disrupted. (/showthread.php?tid=10847)



[Feature] Allows people to ghost after entering cryo so RP isn't disrupted. - fosstar - 07-18-2018

This patch implements this https://forum.ss13.co/showthread.php?tid=10827 Allowing people to ghost after entering cryo. Warning code may be bad/have hidden unexpected bugs:

https://github.com/goonstation/goonstation-2016/pull/71


RE: [Feature] Implements my idea - Noah Buttes - 07-18-2018

Could you please provide a more helpful title and description of what the patch does? This will help with archival efforts later on.


RE: [Feature] Implements my idea - fosstar - 07-18-2018

(07-18-2018, 09:44 AM)Noah Buttes Wrote: Could you please provide a more helpful title and description of what the patch does? This will help with archival efforts later on.
Done.


RE: [Feature] Implements my idea - kyle2143 - 07-18-2018

Just a thought, do you really need to add a new variable to Carbon.dm to accomplish this? Couldn't you check to see if the mob is in the contents of a cryo thingy and allow them to use th ghost command?


RE: [Feature] Allows people to ghost after entering cryo so RP isn't disrupted. - fosstar - 07-18-2018

(07-18-2018, 10:03 AM)kyle2143 Wrote: Just a thought, do you really need to add a new variable to Carbon.dm to accomplish this? Couldn't you check to see if the mob is in the contents of a cryo thingy and allow them to use th ghost command?

Already removed at request of wire


RE: [Feature] Allows people to ghost after entering cryo so RP isn't disrupted. - kyle2143 - 08-04-2018

I just noticed by chance that there actually already is a variable in /mob/living to store if the mob is in cryo. Apparently it's defined only for Destiny and used for skipping life() ticks on people in cryo. You could just use that.

https://github.com/goonstation/goonstation-2016/blob/master/code/mob/living.dm#L62


RE: [Feature] Allows people to ghost after entering cryo so RP isn't disrupted. - fosstar - 08-08-2018

(08-04-2018, 11:17 PM)kyle2143 Wrote: I just noticed by chance that there actually already is a variable in /mob/living to store if the mob is in cryo. Apparently it's defined only for Destiny and used for skipping life() ticks on people in cryo. You could just use that.

https://github.com/goonstation/goonstation-2016/blob/master/code/mob/living.dm#L62

implemented