Fix some minor bugs

This commit is contained in:
Howard Abrams 2026-11-06 18:45:19 -08:00
parent c2f707303b
commit 25432a7678
5 changed files with 518 additions and 512 deletions

File diff suppressed because it is too large Load diff

View file

@ -355,7 +355,7 @@ class Object(ObjectParent, ContribRPObject):
get_display_things(looker, **kwargs) get_display_things(looker, **kwargs)
get_display_footer(looker, **kwargs) get_display_footer(looker, **kwargs)
format_appearance(appearance, looker, **kwargs) format_appearance(appearance, looker, **kwargs)
return_apperance(looker, **kwargs) return_appearance(looker, **kwargs)
* Hooks (these are class methods, so args should start with self): * Hooks (these are class methods, so args should start with self):

View file

@ -239,7 +239,7 @@ class Bookshelf(Producer):
return ( return (
title, title,
routput("""a <<worn ^ barely read ^ pristine copy of a ^ >> routput("""a <<worn ^ barely read ^ pristine copy of a ^ >>
<<leather-bound ^ vellum-bound ^ >> book, titled, |w{0}|n <<leather-bound ^ vellum-bound ^ >> |Ybook|n, titled, |w{0}|n
""", title), """, title),
routput( routput(
""" """

View file

@ -1144,6 +1144,15 @@ expectit "Workshop"
send "look gadget\n" send "look gadget\n"
expect -re "You (look|notice)" expect -re "You (look|notice)"
send "look project\n"
expectit "might help it fly"
send "give feathers to george\n"
expectit "george"
send "look project\n"
expectit "flies about"
send "leave\n" send "leave\n"
expectit "Tunnel" expectit "Tunnel"
@ -1455,25 +1464,6 @@ expectit "Frog Meadow"
send "west\n" send "west\n"
expectit "Grove" expectit "Grove"
send "disembark\n"
expectit "Lonely Island"
send "get moonberry\n"
expectit "You collect a handful of moonberries"
# While we are here, we should solve the puzzle...but...
# we will just jump back on the boat before it leaves.
send "boat\n"
expectit "The giant leaf slows as it arrives and docks allowing you to disembark"
send "disembark\n"
expectit "Lazy Dock"
set timeout 30
send "north\n"
expectit "Grove"
send "west\n" send "west\n"
expectit "Grotto" expectit "Grotto"

View file

@ -3785,7 +3785,7 @@ py me.search("raven").backstory("raven")
# [[file:../moss-n-puddles.org::*Wood Rack][Wood Rack:1]] # [[file:../moss-n-puddles.org::*Wood Rack][Wood Rack:1]]
@create/drop wood rack;log rack;log holder;wood holder;wood;log :typeclasses.consumables.Producer @create/drop rack of wood;log rack;log holder;wood holder;wood;log :typeclasses.consumables.Producer
# Wood Rack:1 ends here # Wood Rack:1 ends here
# [[file:../moss-n-puddles.org::*Wood Rack][Wood Rack:2]] # [[file:../moss-n-puddles.org::*Wood Rack][Wood Rack:2]]
@ -4398,6 +4398,33 @@ give monocle to Dabbler
# Since the beastie doesn’t go anywhere, we could probably attach the following “room actions” to it?
# - The scent of fresh-baked scones drifts from the kitchen, rich with butter.
# - A book from the shelf slides out, and flaps it pages like a bird before resting on another shelf.
# - A swirling portal of magic opens near a bookcase, a devilish head emerges and looks around. It shakes it head and returns into the energy. With a pop of octarine, the portal closes.
# - The tiny brass dragon on the mantel turns its head to watch you pass.
# - The brass dragon on the mantel sneezes a puff of harmless sparks.
# - The smoke from the old man’s pipe curls into tiny dancing gnomes before vanishing in the darkness of the ceiling.
# - Among the books on the shelf, the clock ticks backward for three beats, then resumes its proper rhythm.
# - A porcelain frog on the mantel croaks. ;; “Sorry,” says the frog, “I’ll try to be more quiet.”
# - A silver mouse wind-up toy patrols the bookshelves, stopping to salute every portrait.
# A china owl blinks awake at midnight and asks if anyone has seen its spectacles.
# A brass beetle scuttles across the mantel, polishing every trinket it passes with its tiny feet.
# A painted cat on a teacup flicks its tail whenever the tea is too strong.
# A little stone gargoyle atop the hearth coughs whenever the fire pops, then pretends it was clearing its throat.
# Many of these require details or knick-knacks to back it up:
# - brass dragon
# - clock
# - porcelain frog
# - owl
# - brass beetle
# - gargoyle
# - tarot cards
# Fix bug of =get trinket= gives the player “a few tinkets” that are nothing special.
# And this pet loves his gnome. # And this pet loves his gnome.
@ -4411,7 +4438,7 @@ give monocle to Dabbler
# [[file:../moss-n-puddles.org::*Stoat the Wee Beastie][Stoat the Wee Beastie:18]] # [[file:../moss-n-puddles.org::*Stoat the Wee Beastie][Stoat the Wee Beastie:18]]
@set stoat/arrive = "5 ;; gma {0} = A sleeping << wee ^ >> beastie, opens one curious eye to look at $you()." @set stoat/arrive = "5 ;; gma {0} = A << sleeping ^ dozing ^ >> << wee ^ >> beastie, opens one curious eye to look at $you()."
# #
# @set stoat/sit = "3 ;; gm A sleeping << wee ^ >> beastie, opens one curious eye to see who arrived." # @set stoat/sit = "3 ;; gm A sleeping << wee ^ >> beastie, opens one curious eye to see who arrived."
# Stoat the Wee Beastie:18 ends here # Stoat the Wee Beastie:18 ends here