The dance floor
[mudsync.git] / worlds / bricabrac.scm
index b3ff7e0ec95694a787807e205f30cd4308c2abb3..d749531c5ef0dad8e11b0ab378c05a5681cd5a24 100644 (file)
@@ -2364,6 +2364,51 @@ Photo | | | |_| :  Dance   :  .|_|.  | Cake
             |      Entrance   |
             '-----------------'")
 
+
+(define-class <semi-edible-chatty-npc> (<chatty-npc>)
+  (commands
+   #:allocation #:each-subclass
+   #:init-thunk (build-commands
+                (("eat") ((direct-command cmd-eat)))))
+  (eat-catchphrase
+   #:init-keyword #:eat-catchphrase
+   #:accessor .eat-catchphrase
+   #:init-value "Should you really eat this?")
+  (actions #:allocation #:each-subclass
+           #:init-thunk
+           (build-actions
+            (cmd-eat cmd-eat-semi-edible-chatty-npc))))
+
+(define* (cmd-eat-semi-edible-chatty-npc actor message #:key direct-obj)
+  (<- (message-from message) 'tell
+      #:text (.eat-catchphrase actor)))
+
+(define-class <dancers> (<chatty-npc>)
+  (commands
+   #:allocation #:each-subclass
+   #:init-thunk (build-commands
+                (("dance") ((direct-command cmd-dance)))))
+  (actions #:allocation #:each-subclass
+           #:init-thunk
+           (build-actions
+            (cmd-dance cmd-dance-dancers))))
+
+(define* (cmd-dance-dancers actor message #:key direct-obj)
+  (define player (message-from message))
+  (define player-loc (mbody-val (<-wait player 'get-loc)))
+  (define player-name (mbody-val (<-wait player 'get-name)))
+  (<- (message-from message) 'tell
+      #:text '((p "You join in dancing with the dancers.  You spin and
+get woozy... you feel wonderful... like you could dance forever...")
+              (p "You step out just in time, lest you be caught in
+the dancing for eternity!")))
+  (<- player-loc 'tell-room
+      #:text `((p ,player-name " begins dancing with the fairies and
+spins around and around... as if they might dance forever!")
+              (p "But " ,player-name " steps back just in time!
+Their eyes are cloudy and woozy, but they look happy..."))
+      #:exclude player))
+
 (define wedding
   (lol
    ;; Courtyard
@@ -2421,6 +2466,7 @@ To the south is the forest."))
          (make <exit>
            #:name "north"
            #:to 'vaulted-tunnel)))
+   
    ;; map
    ('wedding-entrance:map
     <readable> 'wedding-entrance
@@ -2464,6 +2510,8 @@ At the center is a dance floor where fairies are dancing in rows of
 concentric circles. The lights that appear in unstructured smatterings
 throughout the mystical space have formed themselves into an elaborate
 chandelier above the dancers.")
+      (p "There are green tables and blue tables surrounding the dancers.
+Various creatures are sitting at them, sitting champagne, and laughing.")
       (p "To the south the trees intertwine forming an entrance.
 The ballroom extends in every other cardinal direction."))
     #:exits
@@ -2491,15 +2539,47 @@ The ballroom extends in every other cardinal direction."))
          (make <exit>
            #:name "northwest"
            #:to 'fairy-go-round)))
+   ('dance-floor:dancers
+    <dancers> 'dance-floor
+    #:name "some dancers"
+    #:desc
+    '((p "They dance at a frantic pace, moving too quickly to get any idea of how many of them there are what they look like.")
+      (p "You could dance with one of them, should you so dare.
+But remember what your parents warned you about dancing fairires..."))
+    #:chat-format (lambda _ "You try talking to the dancers.  They
+laugh and tell you that you should join in the dance with them!  Do you
+dare to do it?  You've vaguely heard about people being lost in time...")
+    #:catchphrases
+    '("Dance with us!  Dance!"
+      "You should be dancing!"
+      "There is nothing but the dance, the dance!")
+    #:goes-by
+    '("some dancers" "dancer" "dancers" "fairy" "fairies"))
+   ('dance-floor:green-table
+    <furniture> 'dance-floor
+    #:name "a green table"
+    #:desc "Each table is draped with layers of gossamer cloth in shades of green. The places are set with translucent china with cups the shape of tulips. The rose gold tableware is decorated with a delicate vine pattern snaking up the handles. In the center of the table is an elaborate arrangement of mauve roses and white lilies."
+    #:goes-by '("green table" "table")
+    #:sit-phrase "pull up a chair at"
+    #:sit-phrase-third-person "pulls up a chair at"
+    #:sit-name "a green table")
+   ('dance-floor:blue-table
+    <furniture> 'dance-floor
+    #:name "a blue table"
+    #:desc "Each table is draped with layers of gossamer cloth in shades of blue. The places are set with translucent china with cups the shape of lotus blossoms. The silver tableware is decorated with a delicate vine pattern snaking up the handles. In the center of the table is an elaborate arrangement of delphiniums and irises."
+    #:goes-by '("blue table")
+    #:sit-phrase "pull up a chair at"
+    #:sit-phrase-third-person "pulls up a chair at"
+    #:sit-name "a blue table")
    ('banquet
     <room> #f
-    #:name "Banquet Hall"
+    #:name "A Lovely Banquet"
     #:desc
-    ;; TODO: The brownie disappears when you look directly at it.
     '((p "A large banquet table fills this space.
 Out of the corner of your eye you see a brownie tidying up the
 table while eating brownies.")
-      (p "An ornate set of stairs moves"))
+      (p "An ornate set of stairs goes up and into the distance.
+The ballroom extends to the west, south, and east."))
     #:exits
     (list (make <exit>
            #:name "south"
@@ -2519,6 +2599,46 @@ table while eating brownies.")
          (make <exit>
            #:name "up"
            #:to 'the-stairs)))
+   ('banquet:brownie
+    <semi-edible-chatty-npc> 'banquet
+    #:chat-format (lambda _ "The brownie disappears when you try to
+talk to her!  But she reappears once you stop talking.")
+    #:eat-catchphrase "The brownie shrieks with surprise as you try
+to eat her! She swats you away!"
+    #:name "a brownie"
+    #:desc "The brownie disappears out of sight when you try to
+look directly at her!  However if you look just off to the side you
+can see her positively devouring that plate of brownies."
+    #:take-me? (lambda _
+                 (values #f
+                         #:why-not
+                         `("The brownie swats your hand away when you try to take her!")))
+    #:goes-by '("brownie"))
+   ('banquet:brownies
+    <semi-edible-chatty-npc> 'banquet
+    #:chat-format (lambda _ "You try to chat with the brownies but
+they are inanimate!  The brownie looks at you strangely from the corner
+of her eye.  She's clearly judging you.")
+    #:eat-catchphrase "You reach forward to eat one of the brownies,
+but the brownie snarls at you and you think better of it.  Best to leave them
+to her."
+    #:name "brownies"
+    #:desc "It's a plate of brownies.  They look delicious and you desperately
+wish to eat one."
+    #:take-me? (lambda _
+                 (values #f
+                         #:why-not
+                         `("The brownie swats your hand away when you try to take
+one of the brownies!  She leans over the plate of brownies protectively!")))
+    #:goes-by '("brownies" "plate of brownies"))
+   ('banquet:stairs
+    <gameobj> 'banquet
+    #:name "the stairs"
+    #:invisible? #t
+    #:desc "From here it's clearly a nice set of stairs.
+But you get the impression that to really see the stairs, you
+should go upward and get a view from on the stairs themselves."
+    #:goes-by '("stairs" "stairwell" "stairwell entrance"))
    ('banquet:banquet-table
     <gameobj> 'banquet
     #:name "a banquet table"
@@ -2532,7 +2652,8 @@ exotic dishes in bowls and platters in the shapes of various flowers."
     #:desc
     '((p "An orchestra of fairies plays the high-tempo ethereal music
 for the frenzied dancers. In the back is a harpsichord, accompanied
-by various fiddles, a cello, a harp, and a flute."))
+by various fiddles, a cello, a harp, and a flute.")
+      (p "The ballroom extends to the west and south."))
     #:exits
     (list (make <exit>
            #:name "west"
@@ -2548,7 +2669,8 @@ by various fiddles, a cello, a harp, and a flute."))
     #:name "The Cake Wing"
     #:desc
     '((p "A large tree stump sits in the middle of the space with a
-massive tiered cake atop it."))
+massive tiered cake atop it.")
+      (p "The ballroom extends to the north, west, and south."))
     #:exits
     (list (make <exit>
            #:name "north"
@@ -2579,7 +2701,8 @@ in a circle."
     #:desc
     '((p "A field of wildflowers stretches out before you, far further
 than the confines of the space you saw from the outside. Groups of fairies
-are frolicking about."))
+are frolicking about.")
+      (p "The ballroom extends to the north."))
     #:exits
     (list (make <exit>
            #:name "north"
@@ -2595,7 +2718,8 @@ are frolicking about."))
 playing. Vines hang from the boughs above forming swings of varying
 heights and sizes. Young fairies climb up an obliging maple tree and
 use the helicopter seeds to float back to the ground. An enchanted
-see-saw hovers a foot from the soft grass below."))
+see-saw hovers a foot from the soft grass below.")
+      (p "The ballroom extends to the north."))
     #:exits
     (list (make <exit>
            #:name "north"
@@ -2610,7 +2734,8 @@ see-saw hovers a foot from the soft grass below."))
     '((p "There is a photographer with A Victorian bellows camera for guests to
 have their portrait taken. The trunks of the trees lining this section
 are covered in photographs of fairies and historical fairy
-‘hoaxes’."))
+‘hoaxes’.")
+      (p "The ballroom extends to the north, east, and south."))
     #:exits
     (list (make <exit>
            #:name "north"
@@ -2657,7 +2782,8 @@ and a magical glow suffuses everything."
     #:desc
     '((p "A large carousel fills the space. The seating arrangement alternates
 between vine swings that move up and down and large mums that serve as
-stools."))
+stools.")
+      (p "The ballroom extends to the east and south."))
     #:exits
     (list (make <exit>
            #:name "east"
@@ -2674,25 +2800,37 @@ stools."))
     #:desc
     '((p "A grand staircase springs from the ground, the twisting branches and
 vines woven into an ornate pattern up the balustrade. At the foot of
-the stairs is a fairy dreamily looking up at them."))
+the stairs is a fairy dreamily looking up at them.")
+      (p "The stairwell's entrance from the ballroom goes down.  Looking
+up fills you with a sense of wonder as the stairs open into the canopy above."))
     #:exits
     (list (make <exit>
            #:name "up"
-           #:to 'wedding-canopy)
+           #:to 'canopy)
          (make <exit>
            #:name "down"
            #:to 'banquet)))
    ('the-stairs:fairy
     <chatty-npc> 'the-stairs
     #:name "a serene young fairy"
-    #:desc "You suppose there's a person under the drapery of the
-camera somewhere, though all you can see are his legs."
+    #:desc "A serene, young fairy wearing a long gossamer dress.
+She stares upwards at the stairs, in true wonder."
     #:goes-by '("serene young fairy" "serene fairy" "fairy" "young fairy")
     #:catchphrases
-    '("Alright, smile for me real big everyone!"
-      "It's real difficult to get fairies to sit still enough to take
-a clear photo of them.  That's my specialty... and it's still tough, heh."
-      ))   
+    '("The stairs, just look at those stairs!"
+      "I'd like to thank everyone who made this possible... and most
+importantly... I'd like to thank the stairs."
+      "What a beautiful mind... what a beautiful mind must have made
+these stairs."
+      "They go on, and upward, the stairs... they're so... beautiful..."))
+   ('the-stairs:stairs
+    <gameobj> 'the-stairs
+    #:name "the stairs"
+    #:desc "They're some beautiful stairs all right.  Whoever made these
+must have been an incredible architect.  Entrancing... maybe too entrancing.
+You fear that if you look at them too long, you might risk not being
+able to think of anything else."
+    #:goes-by '("stairs"))
    ('canopy
     <room> #f
     #:name "The Canopy"
@@ -2705,6 +2843,22 @@ around."))
     (list (make <exit>
            #:name "down"
            #:to 'the-stairs)))
+   ('canopy:pair-of-cats
+    <chatty-npc> 'canopy
+    #:name "a pair of cats"
+    #:desc
+    '((p "These cats are very well dressed!  They're both wearing top
+hats.  They are somewhat gender ambiguous but one seems to lean more
+feminine and the other one leans more masculine.  They look delighted
+from the festivities but also exhausted, as if the party was for them,
+but also as if they planned the whole thing, or whether they're just
+representationally appearing to fill such roles."))
+    #:catchphrases
+    '("Oh yes... hello!  This was a fun time."
+      "It's nice to get away and be here at the same time."
+      "Later maybe we'll have a nice vacation."
+      "Twice is twice as nice, right?")
+    #:goes-by '("cat" "cats" "pair of cats"))
 
 ;;    ('ballroom
 ;;     <room> #f