Files
Darius 8f8d521365 D4C quirk parity improvements
This commit makes the following changes:
- Added pacifism trait to D4C craving
- Added D4C craving text to illiteracy warning
- Updated text for cum_stuffed mood event
- Updated D4C craving removal to trigger regardless of timer
- Fix incorrect type assignment for craving trait removal

Adds Dumb For Cum quirk craving checks to:
- Mob proc can_read
- PDA send_message
- PDA receive_message
2023-02-06 20:21:12 -05:00

27 lines
948 B
Plaintext

/obj/item/pda/send_message(mob/living/user, list/obj/item/pda/targets, everyone)
// Check for D4C craving
if(HAS_TRAIT(user, TRAIT_DUMB_CUM_CRAVE))
// Warn user, then return
to_chat(user, span_love("You can't focus on anything but cum right now!"))
return
// Return normally
. = ..()
/obj/item/pda/receive_message(datum/signal/subspace/pda/signal)
// Define user
var/mob/living/carbon/human/pda_user = loc
// Check if user is valid
if(istype(pda_user))
// Check for D4C craving
if(HAS_TRAIT(pda_user, TRAIT_DUMB_CUM_CRAVE))
// Set message data
tnote += "<i><b>&larr; From <a href='byond://?src=[REF(src)];choice=Message;target=[REF(signal.source)]'>[signal.data["name"]]</a> ([signal.data["job"]]):</b></i> <a href='byond://?src=[REF(src)];choice=toggle_block;target=[signal.data["name"]]'>(BLOCK/UNBLOCK)</a><br>[signal.format_message()]<br>"
// Return with no other effects
return
// Return normally
. = ..()