mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-31 01:00:59 +01:00
[MIRROR] splits verb and proc (#10054)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
2bc1442713
commit
5394d73f31
@@ -744,10 +744,13 @@
|
||||
return
|
||||
|
||||
|
||||
/mob/living/verb/Examine_OOC(mob/user = usr)
|
||||
/mob/living/verb/Examine_OOC()
|
||||
set name = "Examine Meta-Info (OOC)"
|
||||
set category = "OOC.Game"
|
||||
set src in view()
|
||||
do_examine_ooc(usr)
|
||||
|
||||
/mob/living/proc/do_examine_ooc(mob/user)
|
||||
//VOREStation Edit Start - Making it so SSD people have prefs with fallback to original style.
|
||||
if(CONFIG_GET(flag/allow_metadata))
|
||||
if(ooc_notes)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/mob/living/silicon/Topic(href, href_list) //For Robots and pAI's. And possibly AI's too.
|
||||
if(href_list["ooc_notes"])
|
||||
Examine_OOC(usr)
|
||||
do_examine_ooc(usr)
|
||||
return 1
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -1330,7 +1330,7 @@
|
||||
if(href_list["vore_prefs"])
|
||||
display_voreprefs(usr)
|
||||
if(href_list["ooc_notes"])
|
||||
Examine_OOC(usr)
|
||||
do_examine_ooc(usr)
|
||||
if(href_list["edit_ooc_notes"])
|
||||
if(usr == src)
|
||||
set_metainfo_panel(usr) //ChompEDIT - usr arg
|
||||
|
||||
Reference in New Issue
Block a user