mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-21 11:46:44 +01:00
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
27 lines
948 B
Plaintext
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>← 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
|
|
. = ..()
|