Files
S.P.L.U.R.T-Station-13/modular_splurt/code/game/objects/items.dm
Darius ad0239b5de Replace all modular HTML spans with defines spans
In total:
- Adds span defines for `reallybig hypnophrase`, `big warning`, `header`
- Fixes a missing apostrophe for hypno stare
- Makes a special exception for cuddling.dm, which uses an irregular span
- Puts the spans file back
2023-01-16 04:05:27 -05:00

130 lines
4.9 KiB
Plaintext

/obj/item/proc/insert_item_organ(mob/living/carbon/user, mob/living/carbon/target, obj/item/organ/genital/target_organ)
to_chat(user, span_warning("You can't insert this item!"))
return
/obj/item/genital_equipment/condom/insert_item_organ(mob/living/carbon/user, mob/living/carbon/target, obj/item/organ/genital/target_organ)
if(!(target.client?.prefs?.erppref == "Yes"))
to_chat(user, span_warning("They don't want you to do that!"))
return
if(!unwrapped)
to_chat(user, span_notice("You must remove the condom from the package first!"))
return
var/obj/item/organ/genital/penis/ween = target_organ
if(!istype(ween))
to_chat(user, span_notice("You can't put the condom on this genital!"))
return
if(!target.has_penis(REQUIRE_EXPOSED))
to_chat(user, span_notice("You can't find anywhere to put the condom!"))
return
if(locate(src.type) in target_organ.contents)
to_chat(user, span_notice("\The <b>[target]</b> is already wearing a condom!"))
return
target.visible_message(span_warning("\The <b>[user]</b> is trying to put a condom on \the <b>[target]</b>!"),\
span_warning("\The <b>[user]</b> is trying to put a condom on you!"))
if(!do_mob(user, target, 4 SECONDS))
return
if(!user.transferItemToLoc(src, target_organ))
return
playsound(target, 'modular_sand/sound/lewd/latex.ogg', 50, 1, -1)
to_chat(target, span_userlove("Your penis feels more safe!"))
/obj/item/genital_equipment/sounding/insert_item_organ(mob/living/carbon/user, mob/living/carbon/target, obj/item/organ/genital/target_organ)
if(!(target.client?.prefs?.erppref == "Yes"))
to_chat(user, span_warning("They don't want you to do that!"))
return
if(!unwrapped)
to_chat(user, span_notice("You must remove the rod from the package first!"))
return
var/obj/item/organ/genital/penis/ween = target_organ
if(!istype(ween))
to_chat(user, span_notice("You can't put the rod inside this genital!"))
return
if(!target.has_penis(REQUIRE_EXPOSED))
to_chat(user, span_notice("You can't find anywhere to put the rod!"))
return
if(locate(src.type) in target_organ.contents)
to_chat(user, span_notice("\The <b>[target]</b>'s [target_organ] already has a rod inside!"))
return
target.visible_message(span_warning("\The <b>[user]</b> is trying to insert a rod inside \the <b>[target]</b>!"),\
span_warning("\The <b>[user]</b> is trying to insert a rod inside you!"))
if(!do_mob(user, target, 4 SECONDS))
return
if(!user.transferItemToLoc(src, target_organ))
return
playsound(target, 'modular_sand/sound/lewd/champ_fingering.ogg', 50, 1, -1)
to_chat(target, span_userlove("Your penis feels stuffed and stretched!"))
owner = target
/obj/item/electropack/vibrator/insert_item_organ(mob/living/carbon/user, mob/living/carbon/target, obj/item/organ/genital/target_organ)
if(!(target.client?.prefs?.erppref == "Yes"))
to_chat(user, span_warning("They don't want you to do that!"))
return
if(style == "long" && !(istype(target_organ, /obj/item/organ/genital/vagina))) //long vibrators dont fit on anything but vaginas, but small ones fit everywhere
to_chat(user, span_warning("[src] is too big to fit there, use a smaller version."))
return
if(locate(src.type) in target_organ.contents)
to_chat(user, span_notice("\The <b>[target]</b>'s [target_organ] already has a vibrator inside!"))
return
if(style == "long")
target.visible_message(span_warning("\The <b>[user]</b> is trying to insert a vibrator inside \the <b>[target]</b>!"),\
span_warning("\The <b>[user]</b> is trying to insert a vibrator inside you!"))
else
target.visible_message(span_userlove("\The <b>[user]</b> is trying to attach a vibrator to \the <b>[target]</b>!"),\
span_warning("\The <b>[user]</b> is trying to attach a vibrator to you!"))
if(!do_mob(user, target, 5 SECONDS))
return
if(!user.transferItemToLoc(src, target_organ))
return
if(style == "long")
to_chat(user, span_userlove("You attach [src] to <b>\The [target]</b>'s [target_organ]."))
else
to_chat(user, span_userlove("You attach [src] to <b>\The [target]</b>'s [target_organ]."))
playsound(target, 'modular_sand/sound/lewd/champ_fingering.ogg', 50, 1, -1)
inside = TRUE
/obj/item/oviposition_egg/insert_item_organ(mob/living/carbon/user, mob/living/carbon/target, obj/item/organ/genital/target_organ)
if(!(target.client?.prefs?.erppref == "Yes"))
to_chat(user, span_warning("They don't want you to do that!"))
return
if(!(CHECK_BITFIELD(target_organ.genital_flags, GENITAL_CAN_STUFF)))
to_chat(user, span_warning("This genital can't be stuffed!"))
return
target.visible_message(span_warning("\The <b>[user]</b> is trying to insert an egg inside \the <b>[target]</b>!"),\
span_warning("\The <b>[user]</b> is trying to insert an egg inside you!"))
if(!do_mob(user, target, 5 SECONDS))
return
if(!user.transferItemToLoc(src, target_organ))
return
to_chat(target, span_userlove("Your [target_organ] feels stuffed and stretched!"))
playsound(target, 'modular_sand/sound/lewd/champ_fingering.ogg', 50, 1, -1)