modules - E to L
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/mob/living/carbon/proc/dream()
|
||||
set waitfor = 0
|
||||
/mob/living/carbon/proc/dream()
|
||||
set waitfor = 0
|
||||
var/list/dreams = GLOB.dream_strings.Copy()
|
||||
for(var/obj/item/bedsheet/sheet in loc)
|
||||
dreams += sheet.dream_messages
|
||||
@@ -9,12 +9,12 @@
|
||||
dreaming++
|
||||
for(var/i in 1 to dream_images.len)
|
||||
addtimer(CALLBACK(src, .proc/experience_dream, dream_images[i]), ((i - 1) * rand(30,60)))
|
||||
return 1
|
||||
|
||||
/mob/living/carbon/proc/handle_dreams()
|
||||
if(prob(5) && !dreaming)
|
||||
dream()
|
||||
|
||||
return 1
|
||||
|
||||
/mob/living/carbon/proc/handle_dreams()
|
||||
if(prob(5) && !dreaming)
|
||||
dream()
|
||||
|
||||
/mob/living/carbon/proc/experience_dream(dream_image)
|
||||
dreaming--
|
||||
if(stat != UNCONSCIOUS || InCritical())
|
||||
|
||||
Reference in New Issue
Block a user