Minor tweaks and improvements

This commit is contained in:
Howard Abrams 2025-07-21 18:12:02 -07:00
parent 43b6245c77
commit 3272af9f10
2 changed files with 135 additions and 76 deletions

View file

@ -356,11 +356,11 @@ $state(boat, A large leaf bobs invitingly in the surf.)
# The letters form a phrase to be said: =Melora the Queen= … which if said aloud, we hear:
# [[file:../../../projects/mud-adventure.org::*First Puzzle][First Puzzle:7]]
@set gr02ctl/say = {r"melora": "gm Upon uttering that phrase, sparks of octarine magic pop the illusion, revealing an open archway at the base of the giant statue. ;; tag_all hidden_archway"}
@set gr02ctl/say = {r".*\bmelora.*": "gm Upon uttering that phrase, sparks of octarine magic pop the illusion, revealing an open archway at the base of the giant statue. ;; tag_all hidden_archway", r".*\b(leamor|lemor)\b.*": "gm You hear a voice on the wind that whispers, \"That isn't even how you spell lemur.\""}
# First Puzzle:7 ends here
# @teleport arched opening = here
# And we need to get rid of it when any one leaves:
@ -419,8 +419,7 @@ $state(boat, A large leaf bobs invitingly in the surf.)
#
light torch
#
@desc here = A large room formed from intricately placed |Ystone blocks|n, tapered to form a |Ydome|n above you. In the center you see a large |Yobelisk|n with an empty |Ycavity|n halfway up.|/
A overly ornate |Ydoor|n with letters in rows and columns in a grid matrix indicates the exit. Placed above the door, a bronze |Yplaque|n, shows its age with a coat of patina.
@desc here = A large room formed from intricately placed |Ystone blocks|n, tapered to form a |Ydome|n above you. In the center you see a large |Yobelisk|n with an empty |Ycavity|n halfway up. There seems to be no visible way to escape.
# Puzzle Two:2 ends here
@ -438,7 +437,7 @@ A overly ornate |Ydoor|n with letters in rows and columns in a grid matrix indic
# [[file:../../../projects/mud-adventure.org::*Puzzle Two][Puzzle Two:4]]
@detail stone blocks = While the stones are tightly placed, a curious blue fungus grows where moisture seeps between the seams.
@detail stone blocks;blocks = While the stones are tightly placed, a curious blue fungus grows where moisture seeps between the seams.
# Puzzle Two:4 ends here
@ -460,30 +459,41 @@ A overly ornate |Ydoor|n with letters in rows and columns in a grid matrix indic
# The default description will be replaced:
# And pin it down:
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:2]]
@desc obelisk = A granite obelisk grazes the top of the dome. Each of its four sides show a different image.
@lock obelisk = get:false()
#
@set obelisk/get_err_msg = "That is way too big to lift."
# Puzzle Three:2 ends here
# The default description will be replaced:
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:3]]
@desc obelisk = A granite obelisk grazes the top of the dome. Each of its four sides show a different image.
# Puzzle Three:3 ends here
# We build a /changlings/ description from a =_prefix=, a random =descs=, and a =_postfix=:
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:3]]
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:4]]
@set obelisk/desc_prefix = "A << granite ^ large ^ stone >> obelisk grazes the top of the dome. The surface of the obelisk seem to waver, shift and writhe under your gaze."
#
@set obelisk/desc_postfix = " And << quickly ^ soon ^ swiftly >>, the << image ^ visage ^ vision ^ carving >> << is gone ^ fades ^ disappears ^ vanishes >>."
# Puzzle Three:3 ends here
# Puzzle Three:4 ends here
# And a list of differences that gives a hint to the password:
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:4]]
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:5]]
@set obelisk/descs = (
"You can briefly make out the image of ocean waves.",
"For the briefest moment you make out an icy engravings of crystals.",
@ -491,90 +501,138 @@ A overly ornate |Ydoor|n with letters in rows and columns in a grid matrix indic
"The surface for a moment seems to portray clouds passing by.",
"Trees bordering a flowing river show up on the surface.",
)
# Puzzle Three:4 ends here
# Puzzle Three:5 ends here
# If they say the /magic word/, they get the maguffin.
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:5]]
@set obelisk/say = { r"^[Ww]ater[^A-z]*$": "gm Upon uttering that phrase, sparks of octarine magic and mist appear on the opening on the obelisk. ;; gm A conch materializes in the opening. ;; teleport conch = Antechamber", r"^tidal surge.*": "gm You hear an audible click from the ornate door! ;; tag_all open_ornate_door" }
# Puzzle Three:5 ends here
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:6]]
@set obelisk/say = { r".*\b[Ww]ater\b": "gm Upon uttering that phrase, sparks of octarine magic and mist appear on the opening on the obelisk. ;; gm A conch materializes in the opening. ;; teleport conch = Antechamber ;; gm You also notice a secret door! ;; tag_all hidden_antechamber_door" }
# Puzzle Three:6 ends here
# Of course, we need a conch for this magic:
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:6]]
@create conch:typeclasses.sailing.CallingHorn
# Puzzle Three:6 ends here
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:7]]
@desc conch = A shimmering, otherworldly shell.
@create conch:typeclasses.sailing.CallingHorn
# Puzzle Three:7 ends here
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:8]]
@desc conch = A shimmering, otherworldly shell.
# Puzzle Three:8 ends here
# This conch _belongs_ in the obelisk:
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:8]]
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:9]]
@set obelisk/objects_here = "conch"
# Puzzle Three:8 ends here
# Puzzle Three:9 ends here
# And put it away:
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:9]]
py me.search('obelisk').cleanup()
# Puzzle Three:9 ends here
# [[file:../../../projects/mud-adventure.org::*Puzzle Three][Puzzle Three:10]]
py me.search('#610', global_search=True).cleanup()
# Puzzle Three:10 ends here
# Puzzle Four
# We need another door in order to escape.
# Another puzzle, another room:
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:1]]
@detail plaque = Through the green patina, you can barely make out the text:
@dig Escape Hallway;gr04:typeclasses.rooms_dark.DarkRoom = secret door;door
# Puzzle Four:1 ends here
# And we describe the secret door…
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:2]]
@desc secret door = An door, you didn't notice before, looks like stone blocks. Beyond looks like another chamber.
# Puzzle Four:2 ends here
# And the description of entering:
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:3]]
@set secret door/traverse_msg = "You slightly stoop to enter the dark chamber beyond..."
# Puzzle Four:3 ends here
# Lets hide and lock this down:
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:4]]
@set secret door/hidden_tag = "hidden_antechamber_door"
#
@lock secret door = view:tag(hidden_antechamber_door)
# Puzzle Four:4 ends here
# Lets go:
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:5]]
@teleport gr04
#
@desc here = This stone hallway ends with an overly |Yornate door|n covered with letters in rows and columns forming a grid matrix. Placed above the door, a bronze |Yplaque|n, shows its age with a coat of patina.
# Puzzle Four:5 ends here
# We need another door in order to escape.
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:6]]
@detail plaque = Through the green patina, you can barely make out the text:|/
A spoken word unseals me.
It starts with a T.
Halfway between twins.
The next character lies.
# Puzzle Four:1 ends here
# Puzzle Four:6 ends here
# The door leads back out.
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:2]]
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:7]]
@open ornate door;door = Lonely Island
# Puzzle Four:2 ends here
# Puzzle Four:7 ends here
# The dock is locked:
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:3]]
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:8]]
@lock ornate door = traverse:tag(open_ornate_door)
# Puzzle Four:3 ends here
# Puzzle Four:8 ends here
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:4]]
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:9]]
@set ornate door/err_traverse = "The door is locked."
# Puzzle Four:4 ends here
# Puzzle Four:9 ends here
# Look at the grid to find the two Ts:
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:5]]
@desc ornate door = The grid of letters look like:
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:10]]
@desc ornate door = The grid of letters look like:|/
| Y | B | Q | X | D | Q |
| Y | A | K | D | X | B |
| D | E | L | G | W | X |
@ -584,13 +642,35 @@ py me.search('obelisk').cleanup()
| H | X | R | G | R | X |
| K | S | M | U | T | N |
| W | X | M | W | Z | Z |
# Puzzle Four:5 ends here
# Puzzle Four:10 ends here
# We use a =StoryCube= to lock the door until the password is said:
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:11]]
@create/drop gr04ctl:typeclasses.puzzles.StoryCube
#
@desc gr04ctl = Opens the door when someone says Tidal Surge
#
@lock gr04ctl = view:false()
# Puzzle Four:11 ends here
# If they say, /Tidal Surge/, the *Locker* unlocks the door, and they can go through.
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:6]]
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:12]]
@set gr04ctl/say = {r"^tidal ?surge.*": "gm You hear an audible click from the ornate door! ;; tag_all open_ornate_door"}
# Puzzle Four:12 ends here
# And the description of passing through:
# [[file:../../../projects/mud-adventure.org::*Puzzle Four][Puzzle Four:13]]
@set ornate door/traverse_msg = "You open the door, and see that the door exits next to the statue..."
# Puzzle Four:6 ends here
# Puzzle Four:13 ends here

View file

@ -342,29 +342,6 @@ nick ticket = say/regrettably All ticket holders drink free here.
@set bartender/arrive:dabbler = "5 ;; say/to old gnome = Ah, welcome, sir. I've acquired another one of those whiskys from the Mud World. This one claims to taste like a... hrm... << burning hosptial ^ seagull's armpit, er wingpit, I guess ^ going down on a mermaid, wait, I believe you've done that ^ licking a salty ashtray >>. ;; 10 ;; emote takes a brown glass bottle from a chest, and pours some into a glass. ;; shake whisky = gnome"
# Automated Responses:1 ends here
# Dice Game
# Trolls and Hobbits
# Create some dice:
# [[file:../../../projects/mud-rpg.org::*Dice Game][Dice Game:1]]
@create pair of dice: typeclasses.things.Dice
#
@desc dice = Two cubes with black dots
# Dice Game:1 ends here
# Need to specify the number and size:
# [[file:../../../projects/mud-rpg.org::*Dice Game][Dice Game:2]]
@set dice/number = 2
#
@set dice/size = 6
# Dice Game:2 ends here
# Pixie Quartet
# A haughty elf named Elendil
@ -562,39 +539,41 @@ pose default dragon = twirling a tendril near his mouth like a mustache
# Dragon:5 ends here
# And give him the powers he deserves:
# And the ability to fly:
# [[file:../../../projects/mud-rpg.org::*Dragon][Dragon:7]]
@create magic short sword:typeclasses.things.Wand
# [[file:../../../projects/mud-rpg.org::*Dragon][Dragon:6]]
@create magic short sword;sword:typeclasses.things.Wand
#
@desc sword = A decorative dagger that seems to be a sword in the hands, er, claws of this tiny dragon.
# Dragon:7 ends here
#
@teleport/quiet magic short sword = Sir Roblees
# Dragon:6 ends here
# And the flying messages:
# [[file:../../../projects/mud-rpg.org::*Dragon][Dragon:8]]
# [[file:../../../projects/mud-rpg.org::*Dragon][Dragon:7]]
@set me/disappear_msg = "After a raspberry sound, the gnome, Dabbler, disappears in a wisp of smoke."
#
@set gnome/reappear_msg = "<<White ^ Light blue ^ Gray>> mist appears...along with the smell of sulphur... ;; When the smoke clears, an old gnome <<emerges ^ materializes ^ shows up, looking a bit confused>>."
#
@set gnome/magic_msg = "$You() $conj(<< strike ^ tap ^ hit ^ whack >>) the << floor ^ ground >> with $pron(your) << gnarled ^ old ^ magic ^ >> staff. ;; << Sparks ^ Colored lights ^ Flashes ^ Flares >> of |moctarine|n << appear ^ emerge ^ materialize >> as << the ^ >> magic << coalesces ^ blends >>..."
# Dragon:7 ends here
# And lets put him in the Workshop:
# [[file:../../../projects/mud-rpg.org::*Dragon][Dragon:8]]
@teleport/quiet Sir Roblees = Wyldwood Bar
# Dragon:8 ends here
# Abilities
# We could GM the dragons telepathy like:
# [[file:../../../projects/mud-rpg.org::*Abilities][Abilities:1]]
gm/char You hear a voice in your head that sounds like the dragon saying, "I'm still here."
gm/char You hear that voice in your head again say, ""
gm/char That voice in your head again says, ""
# Abilities:1 ends here
# Cocktails
# Lets create a sign for the list of cocktails: