From d242489c7192f1c192d7dcd43b19f955390f3536 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Tue, 15 Jul 2025 10:48:31 -0700 Subject: [PATCH] Fix trolley/cabinet open and close --- typeclasses/consumables.py | 13 +++++++++++-- world/version1.ev | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/typeclasses/consumables.py b/typeclasses/consumables.py index 8fab57f..af9ee3b 100755 --- a/typeclasses/consumables.py +++ b/typeclasses/consumables.py @@ -224,8 +224,17 @@ class Trolley(Producer): "<> " "<>.")) - def do_open(self): - self.at_look() + def do_open(self, opener): + """ + Sure we can open the cabinets, but what does that mean? + """ + opener.execute_cmd("look cabinet") + + def do_close(self, opener): + """ + Sure we can open the cabinets, but what does that mean? + """ + opener.msg("Okay.") def do_bake(self): """ diff --git a/world/version1.ev b/world/version1.ev index eb33f45..08cedf8 100644 --- a/world/version1.ev +++ b/world/version1.ev @@ -2924,7 +2924,7 @@ py bt = self.search('imp'); bt.db.pose = 'sitting on an ornate perch' # [[file:../../../projects/mud.org::*Southwest Prairie][Southwest Prairie:1]] -@teleport/quiet mp13 +@teleport/quiet mp14 # @desc here = On the edge of a small knoll with a copse of trees, the space stretches to a rolling dawnclear, blue skies pushing down the horizona distant sunset attempting to pull the sky down with it bright, star painted skies. # Southwest Prairie:1 ends here