mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
[MIRROR] Adds p_They (and friends) for capitalized pronoun helpers [MDB IGNORE] (#22555)
* Adds p_They (and friends) for capitalized pronoun helpers * Fixes modular pronouns * Merge conflict * Update spank_related.dm --------- Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com> Co-authored-by: Bloop <vinylspiders@gmail.com> Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
co-authored by
tattle
Bloop
Giz
parent
a9c80a29a3
commit
07fa5992a4
@@ -54,7 +54,7 @@
|
||||
var/obj/item/carried_item = get_held_item(source)
|
||||
if (!carried_item)
|
||||
return
|
||||
examine_text += span_notice("[source.p_they(TRUE)] [source.p_are()] carrying [carried_item.get_examine_string(user)].")
|
||||
examine_text += span_notice("[source.p_They()] [source.p_are()] carrying [carried_item.get_examine_string(user)].")
|
||||
|
||||
/// If we died, drop anything we were carrying
|
||||
/datum/element/ai_held_item/proc/on_death(mob/living/ol_yeller)
|
||||
|
||||
@@ -24,10 +24,10 @@
|
||||
msg = "What \a [pick("masterpiece", "chef-d'oeuvre")]. So [pick("trascended", "awe-inspiring", "bewitching", "impeccable")]!"
|
||||
if (GOOD_ART to GREAT_ART)
|
||||
user.add_mood_event("artgood", /datum/mood_event/artgood)
|
||||
msg = "[source.p_theyre(TRUE)] a [pick("respectable", "commendable", "laudable")] art piece, easy on the keen eye."
|
||||
msg = "[source.p_Theyre()] a [pick("respectable", "commendable", "laudable")] art piece, easy on the keen eye."
|
||||
if (BAD_ART to GOOD_ART)
|
||||
user.add_mood_event("artok", /datum/mood_event/artok)
|
||||
msg = "[source.p_theyre(TRUE)] fair to middling, enough to be called an \"art object\"."
|
||||
msg = "[source.p_Theyre()] fair to middling, enough to be called an \"art object\"."
|
||||
if (0 to BAD_ART)
|
||||
user.add_mood_event("artbad", /datum/mood_event/artbad)
|
||||
msg = "Wow, [source.p_they()] sucks."
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
if (user.combat_mode)
|
||||
return // We'll deal with this later
|
||||
if (owner.stat == DEAD)
|
||||
var/additional_text = HAS_MIND_TRAIT(user, TRAIT_NAIVE) ? "It looks like [owner.p_theyre()] sleeping." : "[owner.p_they(capitalized = TRUE)] seem[owner.p_s()] to be dead."
|
||||
var/additional_text = HAS_MIND_TRAIT(user, TRAIT_NAIVE) ? "It looks like [owner.p_theyre()] sleeping." : "[owner.p_They()] seem[owner.p_s()] to be dead."
|
||||
to_chat(user, span_warning("[owner] feels cold to the touch. [additional_text]"))
|
||||
return
|
||||
if (owner.stat != CONSCIOUS)
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
if(!should_show_text(examined))
|
||||
return
|
||||
var/examine_text = replacetext(replacetext("[body_zone ? examined.p_their(TRUE) : examined.p_they(TRUE)] [infused_desc]", "%PRONOUN_ES", examined.p_es()), "%PRONOUN_S", examined.p_s())
|
||||
var/examine_text = replacetext(replacetext("[body_zone ? examined.p_Their() : examined.p_They()] [infused_desc]", "%PRONOUN_ES", examined.p_es()), "%PRONOUN_S", examined.p_s())
|
||||
if(add_span)
|
||||
examine_text = span_notice(examine_text)
|
||||
examine_list += examine_text
|
||||
|
||||
@@ -75,16 +75,16 @@
|
||||
if(!source.override_notes)
|
||||
// Make sure not to divide by 0 on accident
|
||||
if(source.force > 0)
|
||||
readout += "[source.p_they(capitalized = TRUE)] takes about [span_warning("[HITS_TO_CRIT(source.force)] melee hit\s")] to take down an enemy."
|
||||
readout += "It takes about [span_warning("[HITS_TO_CRIT(source.force)] melee hit\s")] to take down an enemy."
|
||||
else
|
||||
readout += "[source.p_they(capitalized = TRUE)] does not deal noticeable melee damage."
|
||||
readout += "It does not deal noticeable melee damage."
|
||||
|
||||
if(source.throwforce > 0)
|
||||
readout += "[source.p_they(capitalized = TRUE)] takes about [span_warning("[HITS_TO_CRIT(source.throwforce)] throwing hit\s")] to take down an enemy."
|
||||
readout += "It takes about [span_warning("[HITS_TO_CRIT(source.throwforce)] throwing hit\s")] to take down an enemy."
|
||||
else
|
||||
readout += "[source.p_they(capitalized = TRUE)] does not deal noticeable throwing damage."
|
||||
readout += "It does not deal noticeable throwing damage."
|
||||
if(source.armour_penetration > 0 || source.block_chance > 0)
|
||||
readout += "[source.p_they(capitalized = TRUE)] has [span_warning("[weapon_tag_convert(source.armour_penetration)]")] armor-piercing capability and [span_warning("[weapon_tag_convert(source.block_chance)]")] blocking capability."
|
||||
readout += "It has [span_warning("[weapon_tag_convert(source.armour_penetration)]")] armor-piercing capability and [span_warning("[weapon_tag_convert(source.block_chance)]")] blocking capability."
|
||||
// Custom manual notes
|
||||
if(source.offensive_notes)
|
||||
readout += source.offensive_notes
|
||||
|
||||
Reference in New Issue
Block a user