FUCK SHIT I'M NAKED IS THIS A DREAM OR REAL FUCK FUCK WHERE ARE MY CLOTHES hallucination (#10857)
* FUCK SHIT I'M NAKED IS THIS A DREAM OR REAL FUCK FUCK WHERE ARE MY CLOTHES???? * fix * no more getflaticon dabdabdabdabdabdabdab * tada
This commit is contained in:
@@ -18,6 +18,7 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
/datum/hallucination/items = 4,
|
||||
/datum/hallucination/fire = 3,
|
||||
/datum/hallucination/self_delusion = 2,
|
||||
/datum/hallucination/naked = 2,
|
||||
/datum/hallucination/delusion = 2,
|
||||
/datum/hallucination/shock = 1,
|
||||
/datum/hallucination/death = 1,
|
||||
@@ -1321,3 +1322,26 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
else
|
||||
to_chat(C,"<span class='userdanger'>[G] violently grabs you!</span>")
|
||||
qdel(src)
|
||||
|
||||
/datum/hallucination/naked
|
||||
var/image/image
|
||||
|
||||
/datum/hallucination/naked/New(mob/living/carbon/C, forced = TRUE)
|
||||
set waitfor = FALSE
|
||||
..()
|
||||
if (C.client && C.client.prefs)
|
||||
var/datum/preferences/prefs = C.client.prefs
|
||||
var/mob/living/carbon/human/dummy/M = generate_or_wait_for_human_dummy(DUMMY_HUMAN_SLOT_HALLUCINATION)
|
||||
prefs.copy_to(M)
|
||||
COMPILE_OVERLAYS(M)
|
||||
CHECK_TICK
|
||||
image = image(M,C)
|
||||
unset_busy_human_dummy(DUMMY_HUMAN_SLOT_HALLUCINATION)
|
||||
image.override = TRUE
|
||||
target.client.images |= image
|
||||
QDEL_IN(src, 20 SECONDS)
|
||||
|
||||
/datum/hallucination/naked/Destroy()
|
||||
if(target.client)
|
||||
target.client.images.Remove(image)
|
||||
return ..()
|
||||
Reference in New Issue
Block a user