mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-29 14:46:51 +01:00
KILLS STATPANEL (#4877)
Co-authored-by: VM_USER <VM_USER> Co-authored-by: silicons <no@you.cat>
This commit is contained in:
co-authored by
VM_USER <VM_USER>
silicons
parent
55da42c20a
commit
fb429e51a4
@@ -144,7 +144,7 @@ GLOBAL_LIST_INIT(nif_id_lookup, init_nif_id_lookup())
|
||||
human = H
|
||||
human.nif = src
|
||||
stat = NIF_INSTALLING
|
||||
H.verbs |= /mob/living/carbon/human/proc/set_nif_examine
|
||||
add_verb(H, /mob/living/carbon/human/proc/set_nif_examine)
|
||||
menu = H.AddComponent(/datum/component/nif_menu)
|
||||
if(starting_software)
|
||||
for(var/path in starting_software)
|
||||
@@ -187,7 +187,7 @@ GLOBAL_LIST_INIT(nif_id_lookup, init_nif_id_lookup())
|
||||
SC.brainmobs = list()
|
||||
stat = NIF_PREINSTALL
|
||||
vis_update()
|
||||
H.verbs -= /mob/living/carbon/human/proc/set_nif_examine
|
||||
remove_verb(H, /mob/living/carbon/human/proc/set_nif_examine)
|
||||
QDEL_NULL(menu)
|
||||
H.nif = null
|
||||
human = null
|
||||
@@ -678,7 +678,7 @@ GLOBAL_LIST_INIT(nif_id_lookup, init_nif_id_lookup())
|
||||
set category = "OOC"
|
||||
|
||||
if(!nif)
|
||||
verbs -= /mob/living/carbon/human/proc/set_nif_examine
|
||||
remove_verb(src, /mob/living/carbon/human/proc/set_nif_examine)
|
||||
to_chat(src,"<span class='warning'>You don't have a NIF, not sure why this was here.</span>")
|
||||
return
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
UnregisterSignal(screen_icon, COMSIG_CLICK)
|
||||
QDEL_NULL(screen_icon)
|
||||
if(ishuman(parent))
|
||||
owner.verbs -= /mob/living/carbon/human/proc/nif_menu
|
||||
remove_verb(owner, /mob/living/carbon/human/proc/nif_menu)
|
||||
|
||||
|
||||
/datum/component/nif_menu/proc/create_mob_button(mob/user)
|
||||
@@ -60,7 +60,7 @@
|
||||
LAZYADD(HUD.other_important, screen_icon)
|
||||
user.client?.screen += screen_icon
|
||||
|
||||
user.verbs |= /mob/living/carbon/human/proc/nif_menu
|
||||
add_verb(user, /mob/living/carbon/human/proc/nif_menu)
|
||||
|
||||
/datum/component/nif_menu/proc/nif_menu_click(source, location, control, params, user)
|
||||
var/mob/living/carbon/human/H = user
|
||||
|
||||
@@ -47,14 +47,14 @@
|
||||
if((. = ..()))
|
||||
//nif.set_flag(NIF_O_SCOTHERS,NIF_FLAGS_OTHER) //Only required on install if the flag is in the default setting_flags list defined few lines above.
|
||||
if(nif?.human)
|
||||
nif.human.verbs |= /mob/living/carbon/human/proc/nsay
|
||||
nif.human.verbs |= /mob/living/carbon/human/proc/nme
|
||||
add_verb(nif.human, /mob/living/carbon/human/proc/nsay)
|
||||
add_verb(nif.human, /mob/living/carbon/human/proc/nme)
|
||||
|
||||
/datum/nifsoft/soulcatcher/uninstall()
|
||||
QDEL_LIST_NULL(brainmobs)
|
||||
if((. = ..()) && nif?.human) //Sometimes NIFs are deleted outside of a human
|
||||
nif.human.verbs -= /mob/living/carbon/human/proc/nsay
|
||||
nif.human.verbs -= /mob/living/carbon/human/proc/nme
|
||||
remove_verb(nif.human, /mob/living/carbon/human/proc/nsay)
|
||||
remove_verb(nif.human, /mob/living/carbon/human/proc/nme)
|
||||
|
||||
/datum/nifsoft/soulcatcher/proc/save_settings()
|
||||
if(!nif)
|
||||
|
||||
Reference in New Issue
Block a user