Ejemplo n.º 1
0
        public static void Init()
        {
            string      itemName       = "Over-Shield";
            string      resourceName   = "BunnyMod/Resources/supershield.png";
            GameObject  obj            = new GameObject(itemName);
            SuperShield counterChamber = obj.AddComponent <SuperShield>();

            ItemBuilder.AddSpriteToObject(itemName, resourceName, obj);
            string shortDesc = "Green Power";
            string longDesc  = "Negates 2 hits. Recharges on entering a new floor.\n\nA downsized replica of the Super Shields used by military vessels. Although to actually generate one requires as much energy as one FTL jump, the elevators of the Gungeon are good enough to power one of a smaller scale.";

            counterChamber.SetupItem(shortDesc, longDesc, "bny");
            counterChamber.quality = PickupObject.ItemQuality.A;
        }