actions.txt
441 Bytes
def actions(id, players, mud):
mud.send_message(id, '\r\n-Action----------=Actions=-----------Cost-\r\n')
for name, action in players[id]['at'].items():
mud.send_message(id, '{} {}'.format("%-37s" % name, action['cost']))
mud.send_message(id, '\r\n------------------------------------------\r\n')
mud.send_message(id, 'For more detail on a specific action use "help <action>"')
actions(id, players, mud)
del actions