From a498c2c23f115f9762d8004b31c30f9535fb1639 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Thu, 10 Jul 2025 22:18:59 -0700 Subject: [PATCH] Announce "pick" actions. --- typeclasses/consumables.py | 2 +- world/version1.ev | 75 ++++--- world/version2.ev | 392 +++++++++++++++++++++++++++++++------ 3 files changed, 390 insertions(+), 79 deletions(-) diff --git a/typeclasses/consumables.py b/typeclasses/consumables.py index 4ca2534..c781c3e 100755 --- a/typeclasses/consumables.py +++ b/typeclasses/consumables.py @@ -123,7 +123,7 @@ class Producer(Object): consumable.db.finish_msgs = self.db.make_finish_msgs consumable.location = picker - picker.msg(f"You {self.db.make_verb or 'get'} {self.db.make_name}.") + picker.announce_action(f"$You() {self.db.make_verb or '$conj(get)'} {self.db.make_name}{self.db.make_note or ''}.") # ---------------------------------------------------------------------- diff --git a/world/version1.ev b/world/version1.ev index efebee4..b8cc5ca 100644 --- a/world/version1.ev +++ b/world/version1.ev @@ -339,32 +339,41 @@ py timed_script = evennia.create_script(key="Create Sticks", # [[file:../../../projects/mud.org::*Vines][Vines:4]] -@set vines/make_verb = "yank and shape a" +@set vines/make_verb = "$conj(yank) and $conj(shape) a" # Vines:4 ends here +# And a commentary: + + +# [[file:../../../projects/mud.org::*Vines][Vines:5]] +@set vines/make_note = " from the vines" +# Vines:5 ends here + + + # This one is optional as it defaults to Consumable: -# [[file:../../../projects/mud.org::*Vines][Vines:5]] +# [[file:../../../projects/mud.org::*Vines][Vines:6]] @set vines/make_class = "typeclasses.things.Rope" -# Vines:5 ends here +# Vines:6 ends here # And the vines needs to know the /description/ of the Consumable, so that it can attach that: -# [[file:../../../projects/mud.org::*Vines][Vines:6]] +# [[file:../../../projects/mud.org::*Vines][Vines:7]] @set vines/make_desc = "Made from vines, but could be a good lasso." -# Vines:6 ends here +# Vines:7 ends here # How much is there when you pick them? -# [[file:../../../projects/mud.org::*Vines][Vines:7]] +# [[file:../../../projects/mud.org::*Vines][Vines:8]] @set vines/make_amount = 1 -# Vines:7 ends here +# Vines:8 ends here # Field # To the east, let’s make a nice meadow. Start at the Forest: @@ -941,24 +950,33 @@ py timed_script = evennia.create_script(key="Create Sticks", # And a verb when they /get/ the consumable: # [[file:../../../projects/mud.org::*Ten-foot Poles][Ten-foot Poles:4]] -@set reeds/make_verb = "pluck and shape a" +@set reeds/make_verb = "$conj(pluck) and $conj(shape) a" # Ten-foot Poles:4 ends here +# And a commentary: + + +# [[file:../../../projects/mud.org::*Ten-foot Poles][Ten-foot Poles:5]] +@set reeds/make_note = " from a marsh reed." +# Ten-foot Poles:5 ends here + + + # And the reeds needs to know the /description/ of the Consumable, so that it can attach that: -# [[file:../../../projects/mud.org::*Ten-foot Poles][Ten-foot Poles:6]] +# [[file:../../../projects/mud.org::*Ten-foot Poles][Ten-foot Poles:7]] @set reeds/make_desc = "A long pole shaved from a marsh reed." -# Ten-foot Poles:6 ends here +# Ten-foot Poles:7 ends here # How much is there when you pick them? -# [[file:../../../projects/mud.org::*Ten-foot Poles][Ten-foot Poles:7]] +# [[file:../../../projects/mud.org::*Ten-foot Poles][Ten-foot Poles:8]] @set reeds/make_amount = 1 -# Ten-foot Poles:7 ends here +# Ten-foot Poles:8 ends here # Purple Heron # Create a puppet of the bird hunting frogs and pixies. :-D @@ -1282,33 +1300,42 @@ py timed_script = evennia.create_script(key="Create Sticks", # [[file:../../../projects/mud.org::*Torches][Torches:4]] -@set bucket/make_verb = "take a" +@set bucket/make_verb = "$conj(take) a" # Torches:4 ends here +# And a commentary: + + +# [[file:../../../projects/mud.org::*Torches][Torches:5]] +@set bucket/make_note = " from the bucket" +# Torches:5 ends here + + + # This one is optional as it defaults to Consumable: -# [[file:../../../projects/mud.org::*Torches][Torches:5]] +# [[file:../../../projects/mud.org::*Torches][Torches:6]] @set bucket/make_class = "typeclasses.lightables.LightSource" -# Torches:5 ends here +# Torches:6 ends here # And the bucket needs to know the /description/ of the Consumable, so that it can attach that: -# [[file:../../../projects/mud.org::*Torches][Torches:6]] +# [[file:../../../projects/mud.org::*Torches][Torches:7]] @set bucket/make_desc = "Made from marsh grass and reeds." -# Torches:6 ends here +# Torches:7 ends here # How much is there when you pick them? -# [[file:../../../projects/mud.org::*Torches][Torches:7]] +# [[file:../../../projects/mud.org::*Torches][Torches:8]] @set bucket/make_amount = 1 -# Torches:7 ends here +# Torches:8 ends here # Trampoli the Witch # Create a puppet of the lady that owns the hut. @@ -1664,14 +1691,14 @@ Someone has set a nice chair for viewing. # We have to have the bush describe what it /makes/: # [[file:../../../projects/mud.org::*Berry Bush][Berry Bush:4]] -@set bush/make_name = "berries" +@set bush/make_name = "berry" # Berry Bush:4 ends here # Including some plural aliases: # [[file:../../../projects/mud.org::*Berry Bush][Berry Bush:5]] -@set bush/make_aliases = ["berry", "brambleberry", "brambleberries"] +@set bush/make_aliases = ["berries", "brambleberry", "brambleberries"] # Berry Bush:5 ends here @@ -1679,7 +1706,7 @@ Someone has set a nice chair for viewing. # And a verb when they /get/ the consumable: # [[file:../../../projects/mud.org::*Berry Bush][Berry Bush:6]] -@set bush/make_verb = "pick some" +@set bush/make_verb = "$conj(pick) a" # Berry Bush:6 ends here @@ -2394,7 +2421,9 @@ pose gnome/default = smoking his pipe # [[file:../../../projects/mud.org::*Sconce][Sconce:4]] -@set sconce/make_verb = "take the candle, but another appears in its place!" +@set sconce/make_verb = "$conj(take) the" +# +@set sconce/make_note = ", but another appears in its place" # Sconce:4 ends here diff --git a/world/version2.ev b/world/version2.ev index 134abfd..74ae6bb 100644 --- a/world/version2.ev +++ b/world/version2.ev @@ -12,41 +12,164 @@ # [[file:../../../projects/mud-rpg.org::*Bar Lobby][Bar Lobby:2]] -@desc here = An amazing room formed from a ring of living trees. The canopy of boughs above twinkle with the lights of small, glowing orbs. Working the bar, a haughty-looking elf; waiting on tables, a smiling mushroom man, er...person. +@desc here = An amazing room formed from a ring of living |Ytrees|n. The canopy of |Yboughs|n above twinkle with the |Ylights|n of small, glowing orbs. Working the bar, a haughty-looking |Yelf|n; waiting on tables, a smiling |Ymushroom man|n, er...person. # Bar Lobby:2 ends here # [[file:../../../projects/mud-rpg.org::*Bar Lobby][Bar Lobby:5]] -@detail trees;tree;trunk;trunks = You've never see black elder tree trunks so large or that grow so close together. The course, dark gray trunks the absorb soft light from the orbs making the room appear much larger. +@detail trees;tree;trunk;trunks = You've never see black elder tree trunks so large or that grow so close together. The course, dark gray trunks the absorb soft light from the |Yorbs|n making the room appear much larger. # Bar Lobby:5 ends here # [[file:../../../projects/mud-rpg.org::*Bar Lobby][Bar Lobby:6]] -@detail boughs;bough;branches;canopy = The branches of the black elder trees sport slender leaves and cluster of elder berries. +@detail boughs;bough;branches;canopy = The branches of the black elder |Ytrees|n sport slender leaves and cluster of elder |Yberries|n. # Bar Lobby:6 ends here # [[file:../../../projects/mud-rpg.org::*Bar Lobby][Bar Lobby:7]] -@detail berries;berry = The cluster of berries from the canopy above are high and out of reach. +@detail berries;berry = The cluster of berries from the |Ycanopy|n above are high and out of reach. # Bar Lobby:7 ends here # [[file:../../../projects/mud-rpg.org::*Bar Lobby][Bar Lobby:8]] -@detail lights;light;orbs = Hundreds of small, dancing orbs float around the canopy above the room, casting a soft glow of light. +@detail lights;light;orbs = Hundreds of small, dancing orbs float around the |Ycanopy|n above the room, casting a soft glow of light. # Bar Lobby:8 ends here -# [[file:../../../projects/mud-rpg.org::*Bar Lobby][Bar Lobby:9]] -@detail bar = Shaped from the trunk of a fallen tree, the bar has a golden laquer. -# Bar Lobby:9 ends here - # Catch all for tables, if we want to create separate rooms for tables: -# [[file:../../../projects/mud-rpg.org::*Bar Lobby][Bar Lobby:10]] +# [[file:../../../projects/mud-rpg.org::*Bar Lobby][Bar Lobby:9]] @detail tables;table = Formed from the stumps of giant trees, but strange the roots grew in a way to make easy access for chairs. +# Bar Lobby:9 ends here + +# [[file:../../../projects/mud-rpg.org::*Bar Lobby][Bar Lobby:10]] +@detail chairs;chair = Didn't know that trees could grow in the shape of a chair, and yet, you're looking at examples. # Bar Lobby:10 ends here -# [[file:../../../projects/mud-rpg.org::*Bar Lobby][Bar Lobby:11]] -@detail chairs;chair = Didn't know that trees could grow in the shape of a chair, and yet, you're looking at examples. -# Bar Lobby:11 ends here +# Bowl of Candy +# Gives out candy, as there is a never-ending bowl of them on the bar. + + +# [[file:../../../projects/mud-rpg.org::*Bowl of Candy][Bowl of Candy:1]] +@create/drop bowl of candies;bowl : typeclasses.consumables.Producer +# Bowl of Candy:1 ends here + + + +# With a description: + +# [[file:../../../projects/mud-rpg.org::*Bowl of Candy][Bowl of Candy:2]] +@desc bowl = A large white daisy forms a bowl holding a collection of colored hard candies. +# Bowl of Candy:2 ends here + + +# Hold off on the viewing: + + +# [[file:../../../projects/mud-rpg.org::*Bowl of Candy][Bowl of Candy:4]] +@set bowl/hidden_tag = "hidden_bowl" +# +@lock bowl = view:tag(hidden_bowl) +# Bowl of Candy:4 ends here + + + +# We have to have the bowl of candy describe what it /makes/: + + +# [[file:../../../projects/mud-rpg.org::*Bowl of Candy][Bowl of Candy:5]] +@set bowl/make_name = "candy" +# Bowl of Candy:5 ends here + + +# Including some plural aliases: + +# [[file:../../../projects/mud-rpg.org::*Bowl of Candy][Bowl of Candy:6]] +@set bowl/make_aliases = ["candies"] +# Bowl of Candy:6 ends here + + + +# And a verb when they /get/ the consumable: + +# [[file:../../../projects/mud-rpg.org::*Bowl of Candy][Bowl of Candy:7]] +@set bowl/make_verb = "$conj(grab) a" +# +@set bowl/make_note = " from the bowl" +# Bowl of Candy:7 ends here + + + +# And the bowl needs to know the /description/ of the Consumable, so that it can attach that: + +# [[file:../../../projects/mud-rpg.org::*Bowl of Candy][Bowl of Candy:9]] +@set bowl/make_desc = "Bright << red ^ orange ^ yellow ^ blue ^ violet >> candy with << flecks ^ spots ^ stripes >> of << red ^ orange ^ purple ^ violet ^ orange >>." +# Bowl of Candy:9 ends here + + + +# How many candies are there when you pick them? + +# [[file:../../../projects/mud-rpg.org::*Bowl of Candy][Bowl of Candy:10]] +@set bowl/make_amount = 1 +# Bowl of Candy:10 ends here + + + +# How many candies do you eat at a time: + +# [[file:../../../projects/mud-rpg.org::*Bowl of Candy][Bowl of Candy:11]] +@set bowl/make_eat_amount = 1 +# Bowl of Candy:11 ends here + + + +# Messages can be randomly selected: + +# [[file:../../../projects/mud-rpg.org::*Bowl of Candy][Bowl of Candy:12]] +@set bowl/make_eat_msgs = [ + "Tastes of elderberry. Do I even know what that tastes like?", + "Tastes of elderflower...certainly not youngerflower.", + "Tastes of forest berry. I believe I got lucky with this one.", + "Wildflower, as that intense flavor is not tame.", + "Tastes of eggnog, with an aftertaste of Cousin Eddie's RV.", + "Tastes like pickled cucumber.", + "Tastes like maple bacon.", + "That burning horseradish is clearing the sinuses!", + "Sriracha flavor!? Wow!", + "Taste of cotton candy covered bacon. Two flavors distinct flavors for sure.", + "Tastes like a bowl of borscht.", + "Dill pickle candy!?", + "Curry flavored candy!?", + "Tastes uniquely of smoked paprika.", + "Tastes of blue cheese, without all the calories.", + "Tastes like charcoal.", + "Tastes like olive oil.", + "Tastes like honeycomb... with bits of bee.", + "Tastes like cereal milk.", + "Tastes like avocado. A very ripe avocado.", + "Tastes like dirt...and worm.", + "Tastes like fish sauce...anchovy? mackeral? carp?", + "Garlic flavored hard candy, a favorite of witches.", + "Tastes like fermented soybean. I'm sure this is a delicacy somewhere.", + "Tastes like tomato... sauce.", + "Tastes like sauerkraut.", + "Tastes like honey mustard.", + "Tastes like charred pineapple.", + "Tastes like smoked salmon.", + "Tastes like pumpkin curry, and rice...with a hint of spice.", + "Tastes like miso caramel and wasp. Candy-covered insects is an odd choice.", + "Tastes like celery.", + "Tastes like pumpernickel.", + "Tastes like spicy kimchi.", + ] +# Bowl of Candy:12 ends here + + + +# Let the user know when they consumed them all. + +# [[file:../../../projects/mud-rpg.org::*Bowl of Candy][Bowl of Candy:13]] +@set bowl/make_finish_msg = +# Bowl of Candy:13 ends here # Portal # An exit, is always a /way out/, not a way in, obviously. @@ -91,27 +214,26 @@ You also notice a glowing orb... and then another, and another. The field, fille # [[file:../../../projects/mud-rpg.org::*Opening the Portal][Opening the Portal:7]] -@set/character Raven/triggers:session0 = { +@set/character me/triggers:session1 = { "open": {"desc": "Open the Portal to the Wyldwood Bar", - "timer": 1, + "timer": 3, "events": [ - "@fly Frog Meadow", + "@teleport/quiet Frog Meadow", "The big, hairy beast trembles with the appearance of the raven, and flees behind the waterfall.", - "@teleport beast = Lair", "You notice a glowing orb dancing in front of you... and then another, and another. The field, filled with soft light, illuminates a different path into the forest...", - "@teleport follow the glowing orbs = Frog Meadow", + "@teleport/quiet follow the glowing orbs = Frog Meadow", "@roomstate portal_open", - "@fly Radiant Workshop", + "@teleport/quiet Radiant Workshop", ] }, "close": {"desc": "Close the Portal to the Wyldwood Bar", - "timer": 1, + "timer": 3, "events": [ - "@fly Frog Meadow", + "@teleport/quiet Frog Meadow", "The glowing orbs that filled the field start to wink out.", "@teleport/tonone follow the glowing orbs", "@roomstate portal_open", - "@fly Radiant Workshop", + "@teleport/quiet Radiant Workshop", ] }, } @@ -152,41 +274,105 @@ You also notice a glowing orb... and then another, and another. The field, fille # [[file:../../../projects/mud-rpg.org::*Bartender][Bartender:3]] -py bt = self.search('Bartender'); bt.db.gender = 'male'; bt.db._sdesc = 'blonde elf'; bt.db.pose_default = 'working behind the bar'; bt.db.pose = 'working behind the bar' +py bt = self.search('Bartender'); bt.db.gender = 'male'; bt.db._sdesc = 'blonde elf'; bt.db.pose = 'working behind the bar' # Bartender:3 ends here + + +# And default pose: + + # [[file:../../../projects/mud-rpg.org::*Bartender][Bartender:4]] -@desc Bartender = A haughty-looking elf with green eyes and long blond hair with two intricate braids accentuating incredibly pointed ears. His nose, pointed, often points straight up. +pose default bartender = working behind the bar # Bartender:4 ends here -# And give him the powers he deserves: +# And an unpuppeted pose: # [[file:../../../projects/mud-rpg.org::*Bartender][Bartender:5]] -@perm Bartender = Admin +@set bartender/pose_sleep = "fiddling with something behind the bar" # Bartender:5 ends here +# And a good description: + + +# [[file:../../../projects/mud-rpg.org::*Bartender][Bartender:6]] +@desc Bartender = A haughty-looking elf with green eyes and long blond hair with two intricate braids accentuating incredibly pointed ears. His nose, pointed, often points straight up in order to look down on you. +# Bartender:6 ends here + + + # And let’s make him initially invisible: -# [[file:../../../projects/mud-rpg.org::*Bartender][Bartender:6]] +# [[file:../../../projects/mud-rpg.org::*Bartender][Bartender:8]] @set Bartender/hidden_tag = "hidden_bartender" # @lock Bartender = view:tag(hidden_bartender) -# Bartender:6 ends here +# Bartender:8 ends here -# And give him the powers he deserves: +# Helpful commands: -# [[file:../../../projects/mud-rpg.org::*Or a Mushroom Bartender][Or a Mushroom Bartender:4]] -@detail mushroom person;mushroom man = A stubby mushroom with an enormous red cap and a friendly looking face. Amazing how he can balance cocktails on its head. -# Or a Mushroom Bartender:4 ends here +# [[file:../../../projects/mud-rpg.org::*Bartender][Bartender:9]] +nick write $1 = py me.search('shrub').write("$1") +nick hi $1 = say/to $1 = Greetings and welcome to the Wyldwood. +nick ticket = say/regrettably All ticket holders drink free here. +# Bartender:9 ends here + +# Automated Responses +# Seems that different triggering hooks could have different delayed responses. What sort of events? + +# - arrive +# - leave +# - say +# - sayto : where the =say= command targets a particular puppet +# - give + +# Start with the bartender. + + +# [[file:../../../projects/mud-rpg.org::*Automated Responses][Automated Responses:1]] +@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 + + + +# And the lady: + + +# [[file:../../../projects/mud-rpg.org::*Automated Responses][Automated Responses:2]] +@set bartender/arrive:Lady = "15 ;; say/to lady = Good evening, Lady. Your usual? ;; 5 ;; emote finds a glass bottle, and removes a cork stopper. ;; shake red wine = lady" +# Automated Responses:2 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 @@ -211,27 +397,41 @@ py bt = self.search('pixies'); bt.db._sdesc = "quartet of pixies"; bt.db.pose_de @desc pixies = Atop a giant fieldcap mushroom, a quartet of pixies playing the strangest instruments you've never seen, fill the room with music. # Pixie Quartet:3 ends here + + +# And default pose: + + # [[file:../../../projects/mud-rpg.org::*Pixie Quartet][Pixie Quartet:4]] -@detail mushroom = A giant, beige-colored mushroom grows on the side of this room providing a perfect stage for the pixie musicians. +pose default pixies = drinking at the bar instead of performing # Pixie Quartet:4 ends here -# And give him the powers he deserves: +# And an unpuppeted pose: # [[file:../../../projects/mud-rpg.org::*Pixie Quartet][Pixie Quartet:5]] -@perm pixies = Admin +@set pixies/pose_sleep = "playing music atop a giant mushroom" # Pixie Quartet:5 ends here +# And details: + + +# [[file:../../../projects/mud-rpg.org::*Pixie Quartet][Pixie Quartet:6]] +@detail mushroom = A giant, beige-colored mushroom grows on the side of this room providing a perfect stage for the pixie musicians. +# Pixie Quartet:6 ends here + + + # And when Dabbler arrives … -# [[file:../../../projects/mud-rpg.org::*Pixie Quartet][Pixie Quartet:6]] -@set pixies/arrive:dabbler = "8 ;; gm The quartet on the mushroom start playing an << interesting ^ odd >> << composition ^ song ^ arrangment >>. ;; 20 ;; The pixie leader says, \"As you can tell, we're playing << a jazz standard ^ a jazz melody ^ something the Mudders call, jazz fusion >>. That's right, something we picked up from << our travels in ^ >> the Mud World." -# Pixie Quartet:6 ends here +# [[file:../../../projects/mud-rpg.org::*Pixie Quartet][Pixie Quartet:8]] +@set pixies/arrive:dabbler = "12 ;; gm The quartet on the mushroom start playing an << interesting ^ odd >> << composition ^ song ^ arrangment >>. ;; The pixie leader says, \"As you can tell, we're playing << a jazz standard ^ a jazz melody ^ something the Mudders call, jazz fusion >>. That's right, something we picked up from << our travels in ^ >> the Mud World." +# Pixie Quartet:8 ends here # Awakened Shrub # Next great NPC will a cameo from the Awakened Shrub. @@ -260,26 +460,44 @@ py bt = self.search('shrub'); bt.db.gender = 'neutral'; bt.db._sdesc = 'shrub'; -# And let’s not let anyone pick it up: +# And default pose: # [[file:../../../projects/mud-rpg.org::*Awakened Shrub][Awakened Shrub:4]] -@set shrub/get_err_msg = "It doesn't seem to appreciate your advances and shakes a top branch, no. Remember, no means, no." +pose default shrub = writing something in a notebook # Awakened Shrub:4 ends here +# And an unpuppeted pose: + + +# [[file:../../../projects/mud-rpg.org::*Awakened Shrub][Awakened Shrub:5]] +@set shrub/pose_sleep = "nursing a glass of water" +# Awakened Shrub:5 ends here + + + +# And let’s not let anyone pick it up: + + +# [[file:../../../projects/mud-rpg.org::*Awakened Shrub][Awakened Shrub:6]] +@set shrub/get_err_msg = "It doesn't seem to appreciate your advances and shakes a top branch, no. Remember, no means, no." +# Awakened Shrub:6 ends here + + + # Be cool if it could write something: -# [[file:../../../projects/mud-rpg.org::*Awakened Shrub][Awakened Shrub:7]] -@set shrub/inside = "Hello, My name is Shrub McShrubberson. What's yours?" -# Awakened Shrub:7 ends here - # [[file:../../../projects/mud-rpg.org::*Awakened Shrub][Awakened Shrub:9]] -@detail chalkboard = The shrub is holding a small chalkboard with a wood frame. +@set shrub/inside = "The chalkboard reads,|/|/ Hello, My name is Shrub McShrubberson. What's yours?" # Awakened Shrub:9 ends here +# [[file:../../../projects/mud-rpg.org::*Awakened Shrub][Awakened Shrub:11]] +@detail chalkboard = The shrub is holding a small chalkboard with a wood frame. +# Awakened Shrub:11 ends here + # A GM should have /events/ and at least interesting NPCs show up. Keep in mind, all ideas need to be Feywild themed. @@ -313,6 +531,79 @@ py bt = self.search('shrub'); bt.db.gender = 'neutral'; bt.db._sdesc = 'shrub'; } # Dabbler:2 ends here +# Dragon +# Sir Tavolar Roblees. + + +# [[file:../../../projects/mud-rpg.org::*Dragon][Dragon:1]] +@create Sir Roblees;faery dragon: typeclasses.puppets.Puppet +# Dragon:1 ends here + + + +# And all the RP system stuff: + + +# [[file:../../../projects/mud-rpg.org::*Dragon][Dragon:2]] +py bt = self.search('dragon'); bt.db.gender = 'male'; bt.db._sdesc = 'tiny, orange dragon'; bt.db.pose_default = 'staring into space'; bt.db.pose = 'twirling a tendril near his mouth like a mustache' +# Dragon:2 ends here + +# [[file:../../../projects/mud-rpg.org::*Dragon][Dragon:3]] +@desc dragon = A dragon with orange-spotted wings like a butterfly. He makes up for his tiny size with machismo. He wears a white plumed hat and a fancy dagger like a sword. He sports a sharp-toothed grin. Like a cat, he expresses his delight by the twitching of his barbed tail. +# Dragon:3 ends here + + + +# And his default pose: + + +# [[file:../../../projects/mud-rpg.org::*Dragon][Dragon:4]] +pose default dragon = twirling a tendril near his mouth like a mustache +# Dragon:4 ends here + + + +# And an unpuppeted pose: + + +# [[file:../../../projects/mud-rpg.org::*Dragon][Dragon:5]] +@set dragon/pose_sleep = "staring into space" +# Dragon:5 ends here + + + +# And the ability to fly: + + +# [[file:../../../projects/mud-rpg.org::*Dragon][Dragon:7]] +@create magic short 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 + + + +# And the flying messages: + + +# [[file:../../../projects/mud-rpg.org::*Dragon][Dragon:8]] +@set me/disappear_msg = "After a raspberry sound, the gnome, Dabbler, disappears in a wisp of smoke." +# +@set gnome/reappear_msg = "<> mist appears...along with the smell of sulphur... ;; When the smoke clears, an old gnome <>." +# +@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:8 ends here + +# Abilities +# We could GM the dragon’s 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 # Let’s create a sign for the list of cocktails: @@ -336,16 +627,7 @@ py bt = self.search('shrub'); bt.db.gender = 'neutral'; bt.db._sdesc = 'shrub'; # [[file:../../../projects/mud-rpg.org::*Cocktails][Cocktails:3]] -@set sign/inside = |wCocktails|n - - Moonlit Mirage - - Puck's Revenge - - Glimmering Gossamer - - Whimsical Willow - - Charmed Chalice - - Enchanted Elixir - - Sylvan Serenade - - Brambleberry Bliss - - Twilight Tonic +@set sign/inside = "|wCocktails|n|/ - Moonlit Mirage|/ - Puck's Revenge|/ - Glimmering Gossamer|/ - Whimsical Willow|/ - Charmed Chalice|/ - Enchanted Elixir|/ - Sylvan Serenade|/ - Brambleberry Bliss|/ - Twilight Tonic|/" # Cocktails:3 ends here