From a1427fdb8411cc742d94107e1b9289f76630bbf0 Mon Sep 17 00:00:00 2001 From: Brenden Tuck Date: Thu, 4 Aug 2022 10:22:38 -0400 Subject: [PATCH] Add inventory tagging --- evennia/commands/default/general.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/commands/default/general.py b/evennia/commands/default/general.py index 98ad671e7a..d3eb913a71 100644 --- a/evennia/commands/default/general.py +++ b/evennia/commands/default/general.py @@ -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):