BagBoy2 = AceLibrary("AceAddon-2.0"):new("AceDB-2.0", "AceEvent-2.0", "AceHook-2.0", "AceDebug-2.0", "AceLocale-2.0", "AceConsole-2.0", "AceCoreAddon-2.0") BagBoy2:RegisterDB("BagBoy2DB", "BagBoy2CharDB") local compost = CompostLib:GetInstance("compost-1") local quartermaster = AceLibrary:GetInstance("QuartermasterLib-2.0") function BagBoy2:OnInitialize() self.super.OnInitialize(self) self.Items = self.db.char.Items -- Items["item!enchant"] = action code self.ItemData = quartermaster:GetItemCache() self:Print("%s initialized!", tostring(self)) end function BagBoy2.modulePrototype:GetItemCache() return BagBoy2.ItemData end function BagBoy2:OnEnable() self:Print("%s enabled!", tostring(self)) end function BagBoy2:OnDisable() end