870cfdee by Barry

Added display of weapon in equip

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