Ejemplo n.º 1
0
        // Token: 0x0600008B RID: 139 RVA: 0x00005B8C File Offset: 0x00003D8C
        public static void Init()
        {
            string       name         = "Blade Bullets";
            string       resourcePath = "CakeMod/Resources/BladeBullets";
            GameObject   gameObject   = new GameObject(name);
            BladeBullets catSnack     = gameObject.AddComponent <BladeBullets>();

            ItemBuilder.AddSpriteToObject(name, resourcePath, gameObject);
            string shortDesc = "Sharp Wit";
            string longDesc  = "Quips may cut the mind, but these bullets cut the flesh.";

            catSnack.SetupItem(shortDesc, longDesc, "cak");
            catSnack.quality = PickupObject.ItemQuality.EXCLUDED;
            List <string> mandatoryConsoleIDs = new List <string>
            {
                "cak:bladebullets",
                "excaliber"
            };
        }