Add inventory tagging

This commit is contained in:
Brenden Tuck 2022-08-04 10:22:38 -04:00
parent 940c9909a2
commit a1427fdb84

View file

@ -390,7 +390,7 @@ class CmdInventory(COMMAND_DEFAULT_CLASS):
"{}|n".format(utils.crop(raw_ansi(item.db.desc or ""), width=50) or ""),
)
string = f"|wYou are carrying:\n{table}"
self.caller.msg(string)
self.caller.msg(text=(string, {"type": "inventory"}))
class CmdGet(COMMAND_DEFAULT_CLASS):