mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-26 22:58:05 +01:00
Some Cit reverts and skyrat features. (#46)
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user