Esempio n. 1
0
        public static void Init()
        {
            string     name         = "Wyrm Poison";
            string     resourcePath = "katmod/Resources/WyrmSet/poison2";
            GameObject gameObject   = new GameObject(name);
            WyrmBlood  item         = gameObject.AddComponent <WyrmBlood>();

            ItemBuilder.AddSpriteToObject(name, resourcePath, gameObject);
            string shortDesc = "Higher beings";
            string longDesc  = "Heavily decreases enemy health on hit.\n\nMany researchers come to the Gungeon, with the goal of manipulating the Gungeon's bizarre concept of time. However, after the wyrm was created, all we knew went missing with it's creator.\n\nA vial of this was found in the top floor of the breach.";

            ItemBuilder.SetupItem(item, shortDesc, longDesc, "psm");
            item.quality = PickupObject.ItemQuality.S;
            item.SetupUnlockOnStat(TrackedStats.TIMES_CLEARED_FORGE, DungeonPrerequisite.PrerequisiteOperation.GREATER_THAN, 15);
            Prismatism.Unlocks.Add(item.PickupObjectId, "Clear the forge 15 times");
            item.PlaceItemInAmmonomiconAfterItemById(167);
        }