From bef4d35f3610e3f406978ad15f66bef6cc421274 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Fri, 27 Feb 2026 22:45:06 -0800 Subject: [PATCH] Change in grammar --- typeclasses/characters.py | 1 + typeclasses/pets.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/typeclasses/characters.py b/typeclasses/characters.py index 1051119..ecff2a1 100644 --- a/typeclasses/characters.py +++ b/typeclasses/characters.py @@ -493,6 +493,7 @@ class Character(Object, GenderCharacter, ContribRPCharacter): """ # All this does is add the character's gender to the message. # So $pron(you,op) will render "you" or "him" + # and $pron(you,sp) will render "you" or "he" newmsg = sub(r"\$pron\(([^\)]*?),([^\)]*?)\)", f"$pron(\\1,\\2 {self.db.gender})", message) diff --git a/typeclasses/pets.py b/typeclasses/pets.py index cf30286..6b8962e 100755 --- a/typeclasses/pets.py +++ b/typeclasses/pets.py @@ -522,7 +522,7 @@ class WeeBeastie(Friendly, Familiar, Listener): and_then = random.choice([ "gives $pron(you,op) a cute lick as if to say, Thank you", "purrs in appreciation for the treat", - "rubs its wee widdle head under $pron(you,op) chin in gratitude", + "rubs its wee widdle head under $pron(your,op) chin in gratitude", ]) edible = is_edible(item)