diff --git a/src/strategy/actions/ChatActionContext.h b/src/strategy/actions/ChatActionContext.h index d56c5e6f..2f700a52 100644 --- a/src/strategy/actions/ChatActionContext.h +++ b/src/strategy/actions/ChatActionContext.h @@ -73,12 +73,14 @@ #include "UseMeetingStoneAction.h" #include "WhoAction.h" #include "WtsAction.h" +#include "OpenItemAction.h" class ChatActionContext : public NamedObjectContext { public: ChatActionContext() { + creators["open items"] = &ChatActionContext::open_items; creators["range"] = &ChatActionContext::range; creators["stats"] = &ChatActionContext::stats; creators["quests"] = &ChatActionContext::quests; @@ -178,6 +180,7 @@ public: } private: + static Action* open_items(PlayerbotAI* botAI) { return new OpenItemsAction(botAI); } static Action* range(PlayerbotAI* botAI) { return new RangeAction(botAI); } static Action* flag(PlayerbotAI* botAI) { return new FlagAction(botAI); } static Action* craft(PlayerbotAI* botAI) { return new SetCraftAction(botAI); }