mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-30 08:07:03 +01:00
Refactor Dumb For Cum quirk
This commit makes the following changes - Adds comments - Adds trait TRAIT_DUMB_CUM - Adds mood quirk flag - Adds quirk removal code - Removes non-modular edits - Renames trait TRAIT_DUMB4CUM to TRAIT_DUMB_CUM_CRAVE - Removes interaction blocks - Removes useless return functions - Updates flavor text - Updates variable names - Changes reagent process to check for trait before triggering uncrave - Changes on_spawn event to add event
This commit is contained in:
@@ -764,10 +764,6 @@ GLOBAL_LIST_EMPTY(PDAs)
|
||||
return t
|
||||
|
||||
/obj/item/pda/proc/send_message(mob/living/user, list/obj/item/pda/targets, everyone)
|
||||
if(HAS_TRAIT(user, TRAIT_DUMB4CUM))
|
||||
to_chat(user, "<span class='love'>You can't focus on anything but cum right now!</span>")
|
||||
return
|
||||
|
||||
var/message = msg_input(user)
|
||||
if(!message || !targets.len)
|
||||
return
|
||||
@@ -850,7 +846,7 @@ GLOBAL_LIST_EMPTY(PDAs)
|
||||
else
|
||||
L = get(src, /mob/living/silicon)
|
||||
|
||||
if(L && L.stat != UNCONSCIOUS && !HAS_TRAIT(L, TRAIT_DUMB4CUM))
|
||||
if(L && L.stat != UNCONSCIOUS)
|
||||
var/hrefstart
|
||||
var/hrefend
|
||||
if (isAI(L))
|
||||
|
||||
@@ -24,9 +24,6 @@
|
||||
if(!user.is_literate())
|
||||
to_chat(user, "<span class='notice'>You scribble illegibly on the side of [src]!</span>")
|
||||
return
|
||||
if(HAS_TRAIT(user, TRAIT_DUMB4CUM))
|
||||
to_chat(user, "<span class='love'>You can't think of anything but cum right now.</span>")
|
||||
return
|
||||
var/t = stripped_input(user, "What would you like the label to be?", name, null)
|
||||
if(user.get_active_held_item() != W)
|
||||
return
|
||||
|
||||
@@ -45,9 +45,6 @@
|
||||
if(!user.is_literate())
|
||||
to_chat(user, "<span class='notice'>You prod at [src] with [W]!</span>")
|
||||
return
|
||||
if(HAS_TRAIT(user, TRAIT_DUMB4CUM))
|
||||
to_chat(user, "<span class='love'>You can't think of anything but cum right now.</span>")
|
||||
return
|
||||
var/t = stripped_input(user, "What would you like the label to be?", name, null)
|
||||
if(user.get_active_held_item() != W)
|
||||
return
|
||||
|
||||
@@ -21,9 +21,6 @@
|
||||
if(!user.is_literate())
|
||||
to_chat(user, "<span class='notice'>You scribble illegibly on [src]!</span>")
|
||||
return
|
||||
if(HAS_TRAIT(user, TRAIT_DUMB4CUM))
|
||||
to_chat(user, "<span class='love'>You can't think of anything but cum right now.</span>")
|
||||
return
|
||||
var/txt = stripped_input(user, "What would you like to write on the sign?", "Sign Label", null , 30)
|
||||
if(txt && user.canUseTopic(src, BE_CLOSE))
|
||||
label = txt
|
||||
|
||||
@@ -20,9 +20,6 @@
|
||||
if(!user.is_literate())
|
||||
to_chat(user, "<span class='notice'>You scribble illegibly on [src]!</span>")
|
||||
return
|
||||
if(HAS_TRAIT(user, TRAIT_DUMB4CUM))
|
||||
to_chat(user, "<span class='love'>You can't think of anything but cum right now.</span>")
|
||||
return
|
||||
var/t = stripped_input(user, "What would you like the label to be?", name, null, 53)
|
||||
if(user.get_active_held_item() != I)
|
||||
return
|
||||
|
||||
@@ -85,9 +85,6 @@ GLOBAL_LIST_EMPTY(bodycontainers) //Let them act as spawnpoints for revenants an
|
||||
if(!user.is_literate())
|
||||
to_chat(user, "<span class='notice'>You scribble illegibly on the side of [src]!</span>")
|
||||
return
|
||||
if(HAS_TRAIT(user, TRAIT_DUMB4CUM))
|
||||
to_chat(user, "<span class='love'>You can't think of anything but cum right now.</span>")
|
||||
return
|
||||
var/t = stripped_input(user, "What would you like the label to be?", text("[]", name), null)
|
||||
if (user.get_active_held_item() != P)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user