From 075fc996a370eb83cd114a4e0ba7a7b92613815b 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):