misc.tin

misc.tin
#alias {shoes} { remove boots;wear shoes }
#alias {boots} { remove shoes; wear boots }
#alias {cloak} { remove fur; wear cloak }
#alias {fur} {remove cloak; wear fur }
 
#alias {brd} {get runed sable; wield runed; put nimble sable}
#alias {nim} {get nimble sable; wield nimble; put runed sable}
 
#alias {md} {
  get tail all; put tail kit;
  get fur all; put fur kit;
  get leaves all; put leaves kit;
  get vial all; put vial kit;
  mix kit
}

misc.tin
#action {^{Nah\.\.\. You feel too relaxed to do that\.|Maybe you should get on your feet first\?|Not from your present position\!}$} {#send {stand}}
#action {^You have been idle, and are pulled into a void.$} {#send {wake\nstand\nlead\ntrain all}}
#action {^ACK! %1 didn't follow you, you lost {him|her|it}.$} {#bell}
#action {^{You can\'t do this sitting\!|You can\'t concentrate enough while resting\.}$} {#send {stand}}
#action {^Prompt set to None.$} {#send {change prompt points}}
#action {^You can only gain one level at a time... Reduced experience.$} {#bell}
#action {^Text will be word-wrapped.$} {#send {change wordwrap off}}
 
#alias {cpouch} {#send {remove cloak\nremove fur\nget cloak pouch\nwear cloak\nput cloak pouch\nput fur pouch}}
#alias {fpack} {#send {remove cloak\nremove fur\nget fur pack\nwear fur\nput cloak pack\nput fur pack}}
#alias {ws} {#send {wake\nstand}}
#alias {cpack} {#send {remove cloak\nremove fur\nget cloak pack\nwear cloak\nput cloak pack\nput fur pack}}
#alias {bpouch} {#send {remove boots\nget boots pouch\nwear boots\nput boots pouch}}
 
#python
 
from pyLib import hatch
 
#gts
 
#alias {hatchdirs} {#python hatch.send_dirs("%0")}
hatch.py
from .tintin import TinTin
 
permutations = {
  'N': [('Forostar', 'north'), ('Orrostar', 'east'), ('Hyarrostar', 'southeast'), ('Hyarnustar', 'southwest'), ('Andustar', 'west')],
  'E': [('Andustar', 'north'), ('Forostar', 'east'), ('Orrostar', 'southeast'), ('Hyarrostar', 'southwest'), ('Hyarnustar', 'west')],
  'SE': [('Hyarnustar', 'north'), ('Andustar', 'east'), ('Forostar', 'southeast'), ('Orrostar', 'southwest'), ('Hyarrostar', 'west')],
  'SW': [('Hyarrostar', 'north'), ('Hyarnustar', 'east'), ('Andustar', 'southeast'), ('Forostar', 'southwest'), ('Orrostar', 'west')],
  'W': [('Orrostar', 'north'), ('Hyarrostar', 'east'), ('Hyarnustar', 'southeast'), ('Andustar', 'southwest'), ('Forostar', 'west')],
}
 
def send_dirs(d):
  p = permutations.get(d.upper(), None)
  if not p:
    TinTin.echo("Haven't heard of a direction named {0}.  Try N, E, S, W, SE, or SW".format(d), 'mume')
    return
  for move in p:
    TinTin.send('move {0} {1}'.format(move[0], move[1]), 'mume')
  TinTin.send('move mittalmar centre', 'mume')
  • tin/misc.tin.txt
  • Last modified: 2022-09-12 15:39
  • by Admin