Example #1
0
        public static void GiveAquariumTrophy1(Event e, GameLocation loc, GameTime time, string[] args)
        {
            int    id     = JsonAssets.GetBigCraftableId("Stardew Aquarium Trophy");
            Object trophy = new Object(Vector2.Zero, id);

            e.farmer.holdUpItemThenMessage(trophy, true);
            ++e.CurrentCommand;
        }
Example #2
0
        public static void GiveAquariumTrophy2(Event e, GameLocation loc, GameTime time, string[] args)
        {
            int    id     = JsonAssets.GetBigCraftableId("Stardew Aquarium Trophy");
            Object trophy = new Object(Vector2.Zero, id);

            e.farmer.addItemByMenuIfNecessary(trophy);
            if (Game1.activeClickableMenu == null)
            {
                ++e.CurrentCommand;
            }
            ++e.CurrentCommand;
        }