Some Cit reverts and skyrat features. (#46)

This commit is contained in:
SandPoot
2020-08-15 13:29:50 -03:00
committed by GitHub
parent 730f93a9cb
commit 518c70e6ed
31 changed files with 350 additions and 29 deletions
@@ -0,0 +1,12 @@
/mob/living/carbon/human/Topic(href, href_list)
. = ..()
if(href_list["skyrat_ooc_notes"])
if(client)
var/str = "[src]'s OOC Notes : <br> <b>ERP :</b> [client.prefs.erppref] <b>| Non-Con :</b> [client.prefs.nonconpref] <b>| Vore :</b> [client.prefs.vorepref]"
if(client.prefs.extremepref == "Yes")
str += "<br><b>Extreme content :</b> [client.prefs.extremepref] <b>| <b>Extreme content harm :</b> [client.prefs.extremeharm]"
str += "<br>[html_encode(client.prefs.skyrat_ooc_notes)]"
var/datum/browser/popup = new(usr, "[name]'s ooc info", "[name]'s OOC Information", 500, 200)
popup.set_content(text("<HTML><HEAD><TITLE>[]</TITLE></HEAD><BODY><TT>[]</TT></BODY></HTML>", "[name]'s OOC information", replacetext(str, "\n", "<BR>")))
popup.open()
return
@@ -0,0 +1,17 @@
/mob/living/silicon/Topic(href, href_list)
. = ..()
if(href_list["skyrat_ooc_notes"])
if(client)
var/str = "[src]'s OOC Notes : <br> <b>ERP :</b> [client.prefs.erppref] <b>| Non-Con :</b> [client.prefs.nonconpref] <b>| Vore :</b> [client.prefs.vorepref]<br>[client.prefs.skyrat_ooc_notes]"
usr << browse(text("<HTML><HEAD><TITLE>[]</TITLE></HEAD><BODY><TT>[]</TT></BODY></HTML>", "[name]'s OOC information", replacetext(str, "\n", "<BR>")), text("window=[];size=500x200", "[name]'s ooc info"))
onclose(usr, "[name]'s ooc info")
/mob/living/silicon/verb/robot_nom(var/mob/living/T in oview(1))
set name = "Eat Mob"
set category = "Vore"
set desc = "Allows you to eat someone."
if(!CHECK_BITFIELD(T.vore_flags,DEVOURABLE))
to_chat(src, "<span class='warning'>System error: Unauthorized operation.</span>")
return
return feed_grabbed_to_self(src,T)