protected void AddEventItemToShop(string shopName, int itemId, int amount = 1, int price = -1, int stock = -1) { var shop = ChannelServer.Instance.ScriptManager.NpcShopScripts.Get(shopName); if (shop == null) { Log.Error("{0}.AddEventItemToShop: Shop '{1}' not found.", this.GetType().Name, shopName); return; } shop.Add(Localization.Get("Event"), itemId, amount, price, stock); }