# :PROPERTIES: # :header-args:evennia: :tangle world/my-nicks.ev :comments both # :END: # While we can’t tangle his /nicks/ and other shortcuts to the Evennia file (as we are currently puppeting the Avatar), we can create these as a separate file, and batch command them later. # Let’s pretend we are in an IRC: # [[file:../moss-n-puddles.org::*Nicks][Nicks:1]] @nick /me $1 = emote $1 # Nicks:1 ends here # Have the shrub, in the bar, write out a message: # [[file:../moss-n-puddles.org::*Nicks][Nicks:2]] @nick write $1 = py me.search('shrub').write("$1") # Nicks:2 ends here # Create a note in the cozy transcripts in the house: # [[file:../moss-n-puddles.org::*Nicks][Nicks:3]] @nick note $1 = py me.search('golden butterfly').note("$1") # Nicks:3 ends here # Special places that I want to quickly move to: # [[file:../moss-n-puddles.org::*Nicks][Nicks:4]] @nick meadow = fly Frog Meadow # @nick bar = fly Wyldwood Bar # @nick grove = fly Grove of the Matriarchs # @nick grotto = fly Grotto # @nick secret = fly mp12 # @nick hut = fly Homey Hut # @nick marsh = fly Mellow Marsh # @nick dock = fly Lazy Dock # @nick lair = fly Lair # @nick myroom = fly Dabbler's House # Nicks:4 ends here # Where is a certain thing or character located: # [[file:../moss-n-puddles.org::*Nicks][Nicks:5]] @nick where $1 = py me.search("$1", global_search=True).location # Nicks:5 ends here # Tell a particular NPC to come to the house: # [[file:../moss-n-puddles.org::*Nicks][Nicks:6]] @nick come $1 = py me.search("$1", global_search=True).come() # Nicks:6 ends here # In case I end up in the meadow without a scone, I can make one for the BHB: # [[file:../moss-n-puddles.org::*Nicks][Nicks:7]] @nick scone = py me.search("cabinet", global_search=True).do_make(me, words=scone") # Nicks:7 ends here