Posts: 383
Threads: 35
Joined: Apr 2016
BYOND Username: fosstar
Character Name: Montgommery Scott
07-18-2018, 09:34 AM
(This post was last modified: 07-18-2018, 10:24 AM by fosstar. Edited 5 times in total.)
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
Posts: 2,722
Threads: 143
Joined: Sep 2012
BYOND Username: Powmonkey
Could you please provide a more helpful title and description of what the patch does? This will help with archival efforts later on.
Posts: 383
Threads: 35
Joined: Apr 2016
BYOND Username: fosstar
Character Name: Montgommery Scott
(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.
Posts: 1,358
Threads: 160
Joined: Sep 2012
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?
Posts: 383
Threads: 35
Joined: Apr 2016
BYOND Username: fosstar
Character Name: Montgommery Scott
(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
Posts: 1,358
Threads: 160
Joined: Sep 2012
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/goonstati...ing.dm#L62
Posts: 383
Threads: 35
Joined: Apr 2016
BYOND Username: fosstar
Character Name: Montgommery Scott
(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/goonstati...ing.dm#L62
implemented