Fix bugs with Steve
The 'say' command works with the webclient Unplugging from the game makes you stand Trying to sit on someone else's character, now uses the RP system The fish now gets the right phrasing.
This commit is contained in:
parent
2d283c2f7a
commit
f3aef6cc54
4 changed files with 11 additions and 3 deletions
|
|
@ -193,7 +193,6 @@ class CmdSay(MuxCommand):
|
|||
targets = [item for item in self.caller.location.contents if item != self.caller]
|
||||
to_whom = chars_list(self.lhs, verb) if 'to' in self.switches else ''
|
||||
full_speech = f"/Me {adverb}{verb}s{to_whom}, \"{for_others}\""
|
||||
# logger.info(f"send_emote('{self.caller}', {targets}, '{full_speech}', quiet=True")
|
||||
send_emote(self.caller, targets, full_speech, msg_type="say", anonymous_add=None)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -79,6 +79,15 @@ class Character(Object, GenderCharacter, ContribRPCharacter):
|
|||
self.msg(INTRO)
|
||||
self.account.db._last_puppet = self
|
||||
|
||||
def at_post_unpuppet(self, **kwargs):
|
||||
"""
|
||||
Make sure we aren't left sitting down when logging out.
|
||||
"""
|
||||
if sitter.db.is_sitting:
|
||||
chair = sitter.db.is_sitting
|
||||
chair.db.sitter = None
|
||||
sitter.db.is_sitting = None
|
||||
|
||||
def msg(self, text=None, from_obj=None, session=None, **kwargs):
|
||||
"""
|
||||
Capitalizes messages sent to the user.
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ class Fish(CarriableNPC):
|
|||
def get_desc():
|
||||
return routput(random.choice([
|
||||
"A walleye with big bulbous eyes that clearly doesn't get no respect.",
|
||||
"A bass with amazing neck confidence giving it a most excellent head bob."
|
||||
"A bass with amazing neck confidence giving it a most excellent head bob.",
|
||||
"A rainbow trout missing the <<red ^ yellow ^ green ^ blue>> from its iridescent stripe.",
|
||||
"A brown trout colored <<red ^ blue ^ purple ^ orange>>.",
|
||||
# "A spiny perch",
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class Sittable(Object):
|
|||
|
||||
if self.db.sitter and not self.multiple:
|
||||
sitter.msg(f"You can't sit {adjective} {article} {self.key} "
|
||||
f"- {current.key} is already sitting there!")
|
||||
f"- {current.get_display_name(sitter)} is already sitting there!")
|
||||
return
|
||||
|
||||
self.db.sitter = sitter
|
||||
|
|
|
|||
Loading…
Reference in a new issue