mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-07-18 11:12:26 +01:00
Merge branch 'master' into typoFixes
This commit is contained in:
@@ -130,11 +130,11 @@
|
||||
if(LAZYLEN(internal_organs) && user.client?.prefs.cit_toggles)
|
||||
for(var/obj/item/organ/genital/dicc in internal_organs)
|
||||
if(istype(dicc) && dicc.is_exposed())
|
||||
if(!dicc.limited)
|
||||
if(!dicc.equipment)
|
||||
. += "[dicc.desc]"
|
||||
else
|
||||
. += "[dicc.desc] <span class='love'>It's equipped with a [dicc.equipment.name].</span>"
|
||||
|
||||
if(!dicc.equipment)
|
||||
. += "[dicc.desc]"
|
||||
else
|
||||
. += "[dicc.desc] <span class='love'>It's equipped with a [dicc.equipment.name].</span>"
|
||||
|
||||
|
||||
if(user.client?.prefs.cit_toggles & VORE_EXAMINE)
|
||||
|
||||
@@ -182,10 +182,24 @@
|
||||
if(legcuffed)
|
||||
dat += "<tr><td><A href='?src=[REF(src)];item=[SLOT_LEGCUFFED]'>Legcuffed</A></td></tr>"
|
||||
|
||||
|
||||
var/mob/living/carbon/U = src //for carbon genitals
|
||||
if(U)
|
||||
for(var/obj/item/organ/genital/G in U.internal_organs)
|
||||
if(G.is_exposed())
|
||||
if(!G.equipment)
|
||||
dat += "<tr><td><B>[G.name]:</B></td><td><A href='?src=[REF(src)];item=[G.equipment]'>["<font color=grey>Empty</font>"]</A></td></tr>"
|
||||
else
|
||||
dat += "<tr><td><B>[G.name]:</B></td><td><A href='?src=[REF(src)];gitem=\ref[G.equipment]'>[G.equipment.name]</A></td></tr>"
|
||||
else
|
||||
dat += "<tr><td><font color=grey><B>[G.name]:</B></font></td><td><font color=grey>Obscured</font></td></tr>"
|
||||
|
||||
dat += {"</table>
|
||||
<A href='?src=[REF(user)];mach_close=mob[REF(src)]'>Close</A>
|
||||
"}
|
||||
|
||||
|
||||
|
||||
var/datum/browser/popup = new(user, "mob[REF(src)]", "[src]", 440, 510)
|
||||
popup.set_content(dat.Join())
|
||||
popup.open()
|
||||
@@ -237,6 +251,23 @@
|
||||
to_chat(usr, "<span class='warning'>You can't reach that! Something is covering it.</span>")
|
||||
return
|
||||
|
||||
if(href_list["gitem"])//remove gential item
|
||||
var/obj/item/I = locate(href_list["gitem"])
|
||||
var/obj/item/organ/genital/G = I.loc
|
||||
if(G.is_exposed())
|
||||
to_chat(usr, "<span class='notice'>You try to remove [src]'s [I].</span>")
|
||||
to_chat(src, "<span class='warning'>[usr] is trying to remove your [I].</span>")
|
||||
if(!do_mob(usr, src, 3 SECONDS))
|
||||
return
|
||||
SEND_SIGNAL(I, "detach_genital_equipment",usr)
|
||||
usr.put_in_hands(I)
|
||||
G.equipment = null
|
||||
return
|
||||
else
|
||||
to_chat(usr, "<span class='warning'>You can't reach that! Something is covering it.</span>")
|
||||
return
|
||||
|
||||
|
||||
if(href_list["pockets"])
|
||||
var/pocket_side = href_list["pockets"]
|
||||
var/pocket_id = (pocket_side == "right" ? SLOT_R_STORE : SLOT_L_STORE)
|
||||
|
||||
Reference in New Issue
Block a user