870cfdee by Barry

Added display of weapon in equip

1 parent 16ec09b0
...@@ -11,6 +11,7 @@ def equip(id, players, tokens, mud): ...@@ -11,6 +11,7 @@ def equip(id, players, tokens, mud):
11 mud.send_message(id, ' %green|%reset {} {} %green|'.format("%-51s" % 'None', item.rjust(8, ' '))) 11 mud.send_message(id, ' %green|%reset {} {} %green|'.format("%-51s" % 'None', item.rjust(8, ' ')))
12 else: 12 else:
13 mud.send_message(id, ' %green|%reset {} {} %green|'.format("%-51s" % item_list or "None", item.rjust(8, ' '))) 13 mud.send_message(id, ' %green|%reset {} {} %green|'.format("%-51s" % item_list or "None", item.rjust(8, ' ')))
14 mud.send_message(id, ' %green|%reset {} {} %green|'.format("%-51s" % players[id]['weapon'] or "None", 'weapon'.rjust(8, ' ')))
14 mud.send_message(id, " %green+--------------------------------------------------------------+", nowrap=True) 15 mud.send_message(id, " %green+--------------------------------------------------------------+", nowrap=True)
15 else: 16 else:
16 if tokens[0] not in players[id]["inventory"]: 17 if tokens[0] not in players[id]["inventory"]:
......