mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Redpills ghost vv.
Fixes being unable to edit icon or fun_verbs in vv on ghosts.
This commit is contained in:
committed by
GitHub
parent
030911962a
commit
f2b16cd17d
@@ -656,3 +656,17 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
|
||||
/mob/dead/observer/is_literate()
|
||||
return 1
|
||||
|
||||
/mob/dead/observer/on_varedit(var_name)
|
||||
switch(var_name)
|
||||
if("icon")
|
||||
ghostimage.icon = icon
|
||||
ghostimage_default.icon = icon
|
||||
ghostimage_simple.icon = icon
|
||||
if("fun_verbs")
|
||||
if(fun_verbs)
|
||||
verbs += /mob/dead/observer/verb/boo
|
||||
verbs += /mob/dead/observer/verb/possess
|
||||
else
|
||||
verbs -= /mob/dead/observer/verb/boo
|
||||
verbs -= /mob/dead/observer/verb/possess
|
||||
|
||||
Reference in New Issue
Block a user