mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
* not code stuff * other things * global vars, defines, helpers * onclick hud stuff, orphans, world.dm * controllers and datums * game folder * everything not client/mobs in modules * client folder * stage 1 mob stuff * simple animal things * silicons * carbon things * ayylmaos and monkeys * hyoomahn * icons n shit * sprite fixes * compile fixes * some fixes I cherrypicked. * qdel fixes * forgot brain refractors
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
/mob/living/carbon/proc/dream()
|
|
set waitfor = 0
|
|
dreaming = 1
|
|
var/list/dreams = list(
|
|
"an ID card","a bottle","a familiar face","a crewmember","a toolbox","a security officer","the captain",
|
|
"voices from all around","deep space","a doctor","the engine","a traitor","an ally","darkness",
|
|
"light","a scientist","a monkey","a catastrophe","a loved one","a gun","warmth","freezing","the sun",
|
|
"a hat","the Luna","a ruined station","a planet","plasma","air","the medical bay","the bridge","blinking lights",
|
|
"a blue light","an abandoned laboratory","Nanotrasen","The Syndicate","blood","healing","power","respect",
|
|
"riches","space","a crash","happiness","pride","a fall","water","flames","ice","melons","flying"
|
|
)
|
|
for(var/i = rand(1,4),i > 0, i--)
|
|
var/dream_image = pick(dreams)
|
|
dreams -= dream_image
|
|
to_chat(src, "<span class='notice'><i>... [dream_image] ...</i></span>")
|
|
sleep(rand(40,70))
|
|
if(paralysis <= 0)
|
|
dreaming = 0
|
|
return 0
|
|
dreaming = 0
|
|
return 1
|
|
|
|
/mob/living/carbon/proc/handle_dreams()
|
|
if(prob(5) && !dreaming) dream()
|
|
|
|
/mob/living/carbon/var/dreaming = 0 |