public static void Init(AssetBundle expandSharedAssets1)
        {
            TableTechAssassinHook.TableExplosionData = ExpandUtility.GenerateExplosionData(damage: 60);

            TableTechAssasinObject = expandSharedAssets1.LoadAsset <GameObject>("Table Tech Assassin");
            TableTechAssassin tableTechAssassin = TableTechAssasinObject.AddComponent <TableTechAssassin>();

            ItemBuilder.AddSpriteToObject(TableTechAssasinObject, expandSharedAssets1.LoadAsset <Texture2D>("tabletech_assassin"), false, false);

            string shortDesc = "Betray the Flipper";
            string longDesc  = "A forbidden technique thought lost was recoverd in the Gungeon.\n\nAll that was written was this: \n\n 'Do upon the flipper that which the flipper had done to you'";

            ItemBuilder.SetupItem(tableTechAssassin, shortDesc, longDesc, "ex");
            tableTechAssassin.quality = ItemQuality.D;
        }
Exemple #2
0
        public static void Init(AssetBundle expandSharedAssets1)
        {
            TableTechAssassinHook.TableExplosionData = ExpandUtility.GenerateExplosionData(damage: 60);

            TableTechAssasinObject = expandSharedAssets1.LoadAsset <GameObject>("Table Tech Assassin");
            SpriteSerializer.AddSpriteToObject(TableTechAssasinObject, ExpandPrefabs.EXItemCollection, "tabletech_assassin");

            TableTechAssassin tableTechAssassin = TableTechAssasinObject.AddComponent <TableTechAssassin>();

            string shortDesc = "Betray the Flipper";
            string longDesc  = "A forbidden technique thought lost was recovered in the Gungeon.\n\nAll that was written was this: \n\n 'Do upon the flipper that which the flipper had done to you'";

            ItemBuilder.SetupItem(tableTechAssassin, shortDesc, longDesc, "ex");
            tableTechAssassin.quality = ItemQuality.D;
            if (!ExpandSettings.EnableEXItems)
            {
                tableTechAssassin.quality = ItemQuality.EXCLUDED;
            }
            TableTechAssasinID = tableTechAssassin.PickupObjectId;
        }