Decompiled source of PixelPort V2 v2.0.1

PixelPort.dll

Decompiled 11 hours ago
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using DiskCardGame;
using HarmonyLib;
using InscryptionAPI.Card;
using NevernamedsSigils;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
[assembly: AssemblyCompany("PixelPort")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("PixelPort")]
[assembly: AssemblyTitle("PixelPort")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace PixelPort;

public class BeastCards
{
	public static void Init()
	{
		//IL_003a: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d2: Unknown result type (might be due to invalid IL or missing references)
		//IL_00f4: Unknown result type (might be due to invalid IL or missing references)
		//IL_018a: Unknown result type (might be due to invalid IL or missing references)
		//IL_02ee: Unknown result type (might be due to invalid IL or missing references)
		//IL_038d: Unknown result type (might be due to invalid IL or missing references)
		//IL_041c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0435: Unknown result type (might be due to invalid IL or missing references)
		//IL_04cf: Unknown result type (might be due to invalid IL or missing references)
		//IL_0518: Unknown result type (might be due to invalid IL or missing references)
		//IL_0524: Unknown result type (might be due to invalid IL or missing references)
		//IL_0530: Unknown result type (might be due to invalid IL or missing references)
		//IL_05c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_05ce: Unknown result type (might be due to invalid IL or missing references)
		//IL_05da: Unknown result type (might be due to invalid IL or missing references)
		//IL_0728: Unknown result type (might be due to invalid IL or missing references)
		//IL_07ed: Unknown result type (might be due to invalid IL or missing references)
		//IL_07ff: Unknown result type (might be due to invalid IL or missing references)
		//IL_08a6: Unknown result type (might be due to invalid IL or missing references)
		//IL_0972: Unknown result type (might be due to invalid IL or missing references)
		//IL_0984: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a13: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d46: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d6e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ec9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f7d: Unknown result type (might be due to invalid IL or missing references)
		//IL_102e: Unknown result type (might be due to invalid IL or missing references)
		//IL_10d9: Unknown result type (might be due to invalid IL or missing references)
		//IL_118d: Unknown result type (might be due to invalid IL or missing references)
		//IL_1235: Unknown result type (might be due to invalid IL or missing references)
		//IL_12e0: Unknown result type (might be due to invalid IL or missing references)
		//IL_138b: Unknown result type (might be due to invalid IL or missing references)
		//IL_1432: Unknown result type (might be due to invalid IL or missing references)
		//IL_14d0: Unknown result type (might be due to invalid IL or missing references)
		//IL_1580: Unknown result type (might be due to invalid IL or missing references)
		//IL_1656: Unknown result type (might be due to invalid IL or missing references)
		//IL_171e: Unknown result type (might be due to invalid IL or missing references)
		CardTools.SetRareBeastAct2Only(CardExtensions.SetExtendedProperty(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 1, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability> { BloodBorn.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort Child13", displayname: "Child 13", power: 0, health: 1, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Child13.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, tribes: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0), "BloodBornTransformation", (object)"PixelPort Child13Awakened"));
		CardExtensions.SetExtendedProperty(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>(), description: "", bloodCost: 1, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			BloodBorn.ability,
			(Ability)19
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelRareBackground }, internalName: "PixelPort Child13Awakened", displayname: "Child 13", power: 2, health: 1, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Child13Awakened.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, tribes: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0), "BloodBornTransformation", (object)"PixelPort Child13");
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 1, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability> { Caustic.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe> { (Tribe)6 }, appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort RingWorm", displayname: "Ring Worm", power: 0, health: 1, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_RingWorm.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 1, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)5 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe> { (Tribe)6 }, appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort StrangeLarva", displayname: "Strange Larva", power: 0, health: 3, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_StrangeLarva.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: "PixelPort StrangePupa", defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>(), description: "", bloodCost: 1, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)5 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe> { (Tribe)6 }, appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelRareBackground }, internalName: "PixelPort StrangePupa", displayname: "Strange Pupa", power: 0, health: 3, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_StrangePupa.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: "PixelPort Mothman", defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>(), description: "", bloodCost: 1, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)19 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe> { (Tribe)6 }, appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelRareBackground }, internalName: "PixelPort Mothman", displayname: "Mothman", power: 7, health: 3, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Mothman.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 2, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability> { Act2TrinketBearer.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe> { NevernamedsTribes.Rodent }, appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort PackRat", displayname: "Pack Rat", power: 2, health: 2, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_PackRat.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 2, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability> { Hypermorphic.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>
		{
			(Tribe)2,
			(Tribe)1,
			(Tribe)3,
			(Tribe)5,
			(Tribe)4,
			(Tribe)6,
			NevernamedsTribes.Crustacean,
			NevernamedsTribes.Arachnid,
			NevernamedsTribes.Rodent
		}, appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort Amalgam", displayname: "Amalgam", power: 3, health: 3, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Amalgam.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 2, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			GiftBearerCustom.ability,
			GiftBearerCustom.ability,
			GiftBearerCustom.ability,
			(Ability)3
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe> { (Tribe)4 }, appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort PackMule", displayname: "Pack Mule", power: 0, health: 5, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_PackMule.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 1, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)106 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort CuriousEgg", displayname: "Curious Egg", power: 0, health: 1, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_CuriousEgg.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardExtensions.SetExtendedProperty(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 2, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability> { GiftBearerCustom.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait> { (Trait)12 }, tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort CagedWolf", displayname: "Caged Wolf", power: 0, health: 6, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_CagedWolf.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0), "GiftBearerCustomPoolIdentifier", (object)"PP_CagedWolfGiftBearer");
		CardExtensions.SetExtendedProperty(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>(), defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), specialAbilities: new List<SpecialTriggeredAbility> { BetterRandomCard.ability }, appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelStaticCardAppearance }, internalName: "PixelPort !STATIC!GLITCH", displayname: "!STATIC!GLITCH", power: 0, health: 1, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_StaticGlitch.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, variableStat: (SpecialStatIcon)0), "ExcludeFromFairHand", (object)"TRUE");
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)13,
			Quickdraw.ability
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe> { (Tribe)1 }, appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort Aquasquirrel", displayname: "Aquasquirrel", power: 0, health: 1, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Aquasquirrel.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>(), defaultTex: null, emissionTex: null, traits: new List<Trait>
		{
			(Trait)13,
			(Trait)12
		}, tribes: new List<Tribe>(), specialAbilities: new List<SpecialTriggeredAbility> { Act2SpawnLice.ability }, appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelGoldBackground }, internalName: "PixelPort GoldenPelt", displayname: "Golden Pelt", power: 0, health: 3, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_GoldenPelt.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, variableStat: (SpecialStatIcon)0);
		CardTools.SetRareBeastAct2Only(CardExtensions.SetExtendedProperty(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 4, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			CardShedder.ability,
			(Ability)4
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe> { (Tribe)4 }, appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort LongElk", displayname: "Long Elk", power: 1, health: 2, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_LongElk.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0), "CardShedderLeaveBehind", (object)"PixelPort Vertebrae"));
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>(), description: "", bloodCost: 0, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>(), defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe> { (Tribe)4 }, appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort Vertebrae", displayname: "Vertebrae", power: 0, health: 1, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Verbetrae.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 4, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)83 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe> { (Tribe)6 }, appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort Stinkbug", displayname: "Stinkbug", power: 1, health: 2, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Stinkbug.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 1, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>(), defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe> { (Tribe)3 }, appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort StuntedWolf", displayname: "Stunted Wolf", power: 2, health: 3, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_StuntedWolf.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 1, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)26 }, defaultTex: null, emissionTex: null, traits: new List<Trait> { (Trait)12 }, tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort FrozenOpossum", displayname: "Frozen Opossum", power: 0, health: 5, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_FrozenOpossum.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: "Opossum", tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 1, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)26,
			Unhammerable.ability
		}, defaultTex: null, emissionTex: null, traits: new List<Trait> { (Trait)12 }, tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelBloodDecal }, internalName: "PixelPort BaitBucket", displayname: "Bait Bucket", power: 0, health: 2, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_BaitBucket.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: "Shark", tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 2, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)23,
			(Ability)8
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort MoleSeaman", displayname: "Mole Seaman", power: 1, health: 8, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_MoleSeaman.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 1, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)3,
			(Ability)13
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelAbilityStitchDecal }, internalName: "PixelPort Louis", displayname: "Louis", power: 1, health: 1, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Louis.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 1, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)24,
			(Ability)15
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelAbilityStitchDecal }, internalName: "PixelPort Kaycee", displayname: "Kaycee", power: 1, health: 2, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Kaycee.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 2, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)26,
			(Ability)18
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelAbilityStitchDecal }, internalName: "PixelPort Berke", displayname: "Berke", power: 2, health: 1, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Berke.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 2, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)8,
			(Ability)10
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelAbilityStitchDecal }, internalName: "PixelPort Cody", displayname: "Cody", power: 3, health: 1, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Cody.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 2, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)16,
			(Ability)15
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelAbilityStitchDecal }, internalName: "PixelPort David", displayname: "David", power: 2, health: 4, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_David.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 2, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)25 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelAbilityStitchDecal }, internalName: "PixelPort Tahnee", displayname: "Tahnee", power: 1, health: 3, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Tahnee.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 3, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)2,
			(Ability)15
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelAbilityStitchDecal }, internalName: "PixelPort Jonah", displayname: "Jonah", power: 2, health: 5, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Jonah.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 2, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)100 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelAbilityStitchDecal }, internalName: "PixelPort Daniel", displayname: "Daniel", power: 2, health: 2, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Daniel.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 2, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>(), defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelAbilityStitchDecal }, internalName: "PixelPort LukeCarder", displayname: "Luke Carder", power: 4, health: 4, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_LukeCarder.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 4, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)33,
			Giant.ability
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort TheMoon", displayname: "The Moon", power: 1, health: 15, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_TheMoon.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardTools.SetRareBeastAct2Only(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 4, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)100,
			Drop.ability
		}, defaultTex: null, emissionTex: null, traits: new List<Trait> { (Trait)22 }, tribes: new List<Tribe> { (Tribe)6 }, appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort PeltLice", displayname: "Pelt Lice", power: 2, health: 1, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_PeltLice.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0));
		CardTools.SetRareBeastAct2Only(CardExtensions.SetExtendedProperty(CardExtensions.SetExtendedProperty(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 1, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)8,
			(Ability)23
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), specialAbilities: new List<SpecialTriggeredAbility> { Act2Shapeshifter.ability }, tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort MoleManIjiraq", displayname: "Mole Man?", power: 0, health: 6, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_MoleManIjiraq.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, variableStat: (SpecialStatIcon)0), "Act2ShapeshifterOverride", (object)"PixelPort Ijiraq"), "InfAct2ExcludeFromBattle", (object)"true"));
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>(), description: "", bloodCost: 0, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)21 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), specialAbilities: new List<SpecialTriggeredAbility>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelRareBackground }, internalName: "PixelPort Ijiraq", displayname: "Ijiraq", power: 4, health: 1, temple: (CardTemple)0, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Ijiraq.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, variableStat: (SpecialStatIcon)0);
	}
}
public static class MagicCards
{
	public static void Init()
	{
		//IL_006b: Unknown result type (might be due to invalid IL or missing references)
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 0, gemsCost: new List<GemType>
		{
			(GemType)0,
			(GemType)1
		}, abilities: new List<Ability>
		{
			(Ability)102,
			(Ability)10
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelAbilityStitchDecal }, internalName: "PixelPort Tamara", displayname: "Tamara", power: 2, health: 3, temple: (CardTemple)3, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Tamara.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
	}
}
public static class TechCards
{
	public static void Init()
	{
		//IL_0032: Unknown result type (might be due to invalid IL or missing references)
		//IL_00cc: Unknown result type (might be due to invalid IL or missing references)
		//IL_0205: Unknown result type (might be due to invalid IL or missing references)
		//IL_029c: Unknown result type (might be due to invalid IL or missing references)
		//IL_033a: Unknown result type (might be due to invalid IL or missing references)
		//IL_03d1: Unknown result type (might be due to invalid IL or missing references)
		//IL_046f: Unknown result type (might be due to invalid IL or missing references)
		//IL_04fd: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a34: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c1d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0cde: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d78: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e1a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e26: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ec8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ed4: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ef3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f05: Unknown result type (might be due to invalid IL or missing references)
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 2, gemsCost: null, abilities: new List<Ability> { GiftBearerCustom.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort GiftBot", displayname: "Gift Bot", power: 0, health: 2, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_GiftBot.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 2, gemsCost: null, abilities: new List<Ability> { GiftWhenPoweredCustom.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort KindCell", displayname: "Kind Cell", power: 1, health: 1, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_KindCell.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 2, gemsCost: null, abilities: new List<Ability> { (Ability)88 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort LonelyWizbot", displayname: "Lonely Wizbot", power: 2, health: 1, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_LonelyWizbot.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 3, gemsCost: null, abilities: new List<Ability> { TransformerCustom.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort S0N1A", displayname: "S0N1A", power: 1, health: 1, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Sonia.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0, hideStats: false, onePerDeck: false, animatedPortrait: null, flipPortraitWhenStrafing: false, overrideDamID: null, overrideDamBlockedDialogue: null, overrideFactoryConduitSpawn: null, overrideRabbitHoleSpawn: null, overrideAntSpawnerSpawn: null, overrideBellistID: null, overrideBellistBlockedDialogue: null, overrideSquirrelShedderId: null, overrideSkeletonCrewID: null, overrideBeesWithinID: null, twisterForm: null, transformerForm: "PixelPort S0N1A Transformed");
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>(), description: "", bloodCost: 0, bonesCost: 0, energyCost: 3, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)19,
			TransformerCustom.ability
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort S0N1A Transformed", displayname: "S0N1A", power: 2, health: 1, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_SoniaBeast.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0, hideStats: false, onePerDeck: false, animatedPortrait: null, flipPortraitWhenStrafing: false, overrideDamID: null, overrideDamBlockedDialogue: null, overrideFactoryConduitSpawn: null, overrideRabbitHoleSpawn: null, overrideAntSpawnerSpawn: null, overrideBellistID: null, overrideBellistBlockedDialogue: null, overrideSquirrelShedderId: null, overrideSkeletonCrewID: null, overrideBeesWithinID: null, twisterForm: null, transformerForm: "PixelPort S0N1A");
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 5, gemsCost: null, abilities: new List<Ability> { TransformerCustom.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort QU177", displayname: "QU177", power: 2, health: 2, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Quill.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0, hideStats: false, onePerDeck: false, animatedPortrait: null, flipPortraitWhenStrafing: false, overrideDamID: null, overrideDamBlockedDialogue: null, overrideFactoryConduitSpawn: null, overrideRabbitHoleSpawn: null, overrideAntSpawnerSpawn: null, overrideBellistID: null, overrideBellistBlockedDialogue: null, overrideSquirrelShedderId: null, overrideSkeletonCrewID: null, overrideBeesWithinID: null, twisterForm: null, transformerForm: "PixelPort QU177 Transformed");
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>(), description: "", bloodCost: 0, bonesCost: 0, energyCost: 5, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)15,
			TransformerCustom.ability
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort QU177 Transformed", displayname: "QU177", power: 1, health: 2, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_QuillBeast.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0, hideStats: false, onePerDeck: false, animatedPortrait: null, flipPortraitWhenStrafing: false, overrideDamID: null, overrideDamBlockedDialogue: null, overrideFactoryConduitSpawn: null, overrideRabbitHoleSpawn: null, overrideAntSpawnerSpawn: null, overrideBellistID: null, overrideBellistBlockedDialogue: null, overrideSquirrelShedderId: null, overrideSkeletonCrewID: null, overrideBeesWithinID: null, twisterForm: null, transformerForm: "PixelPort QU177");
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 6, gemsCost: null, abilities: new List<Ability> { TransformerCustom.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort GR1ZZ", displayname: "GR1ZZ", power: 0, health: 4, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Grizz.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0, hideStats: false, onePerDeck: false, animatedPortrait: null, flipPortraitWhenStrafing: false, overrideDamID: null, overrideDamBlockedDialogue: null, overrideFactoryConduitSpawn: null, overrideRabbitHoleSpawn: null, overrideAntSpawnerSpawn: null, overrideBellistID: null, overrideBellistBlockedDialogue: null, overrideSquirrelShedderId: null, overrideSkeletonCrewID: null, overrideBeesWithinID: null, twisterForm: null, transformerForm: "PixelPort GR1ZZ Transformed");
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>(), description: "", bloodCost: 0, bonesCost: 0, energyCost: 6, gemsCost: null, abilities: new List<Ability> { TransformerCustom.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort GR1ZZ Transformed", displayname: "GR1ZZ", power: 4, health: 4, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_GrizzBeast.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0, hideStats: false, onePerDeck: false, animatedPortrait: null, flipPortraitWhenStrafing: false, overrideDamID: null, overrideDamBlockedDialogue: null, overrideFactoryConduitSpawn: null, overrideRabbitHoleSpawn: null, overrideAntSpawnerSpawn: null, overrideBellistID: null, overrideBellistBlockedDialogue: null, overrideSquirrelShedderId: null, overrideSkeletonCrewID: null, overrideBeesWithinID: null, twisterForm: null, transformerForm: "PixelPort GR1ZZ");
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 2, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)37,
			(Ability)39
		}, defaultTex: null, emissionTex: null, traits: new List<Trait> { (Trait)17 }, tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort BleenesVessel", displayname: "Bleene's Vessel", power: 0, health: 1, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_BleeneVessel.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0, hideStats: false, onePerDeck: false, animatedPortrait: null, flipPortraitWhenStrafing: false, overrideDamID: null, overrideDamBlockedDialogue: null, overrideFactoryConduitSpawn: null, overrideRabbitHoleSpawn: null, overrideAntSpawnerSpawn: null, overrideBellistID: null, overrideBellistBlockedDialogue: null, overrideSquirrelShedderId: null, overrideSkeletonCrewID: null, overrideBeesWithinID: null, twisterForm: null, transformerForm: null, overrideLeftClaw: null, overrideRightClaw: null, customDoomedLifespan: null, customGutSpewerGuts: null, customExplodingCorpseGuts: null, customOrganThiefGuts: null, harbingerLeaveBehind: null, tramplerLeaveBehind: null, flightyLeaveBehind: null, parthenogenesisOverride: null, sigilShedderDef: null, preventBones: false, preventCampfire: false, preventSigilVictim: false, preventSigilHost: false, customGiftBearerSpawnsRares: false, erraticLeaveBehind: null, preventPlay: false, fatalFlankDef: null, allStrikesDoubled: false, phantasmicLeaveBehind: null, preventCampfireHealth: false, preventCampfireDamage: false, venatorForm: null, bloodbornForm: null, isGemified: true);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 2, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)38,
			(Ability)37
		}, defaultTex: null, emissionTex: null, traits: new List<Trait> { (Trait)17 }, tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort GoranjsVessel", displayname: "Goranj's Vessel", power: 0, health: 1, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_GoranjVessel.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0, hideStats: false, onePerDeck: false, animatedPortrait: null, flipPortraitWhenStrafing: false, overrideDamID: null, overrideDamBlockedDialogue: null, overrideFactoryConduitSpawn: null, overrideRabbitHoleSpawn: null, overrideAntSpawnerSpawn: null, overrideBellistID: null, overrideBellistBlockedDialogue: null, overrideSquirrelShedderId: null, overrideSkeletonCrewID: null, overrideBeesWithinID: null, twisterForm: null, transformerForm: null, overrideLeftClaw: null, overrideRightClaw: null, customDoomedLifespan: null, customGutSpewerGuts: null, customExplodingCorpseGuts: null, customOrganThiefGuts: null, harbingerLeaveBehind: null, tramplerLeaveBehind: null, flightyLeaveBehind: null, parthenogenesisOverride: null, sigilShedderDef: null, preventBones: false, preventCampfire: false, preventSigilVictim: false, preventSigilHost: false, customGiftBearerSpawnsRares: false, erraticLeaveBehind: null, preventPlay: false, fatalFlankDef: null, allStrikesDoubled: false, phantasmicLeaveBehind: null, preventCampfireHealth: false, preventCampfireDamage: false, venatorForm: null, bloodbornForm: null, isGemified: true);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 2, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)39,
			(Ability)38
		}, defaultTex: null, emissionTex: null, traits: new List<Trait> { (Trait)17 }, tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort OrlusVessel", displayname: "Orlu's Vessel", power: 0, health: 1, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_OrluVessel.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0, hideStats: false, onePerDeck: false, animatedPortrait: null, flipPortraitWhenStrafing: false, overrideDamID: null, overrideDamBlockedDialogue: null, overrideFactoryConduitSpawn: null, overrideRabbitHoleSpawn: null, overrideAntSpawnerSpawn: null, overrideBellistID: null, overrideBellistBlockedDialogue: null, overrideSquirrelShedderId: null, overrideSkeletonCrewID: null, overrideBeesWithinID: null, twisterForm: null, transformerForm: null, overrideLeftClaw: null, overrideRightClaw: null, customDoomedLifespan: null, customGutSpewerGuts: null, customExplodingCorpseGuts: null, customOrganThiefGuts: null, harbingerLeaveBehind: null, tramplerLeaveBehind: null, flightyLeaveBehind: null, parthenogenesisOverride: null, sigilShedderDef: null, preventBones: false, preventCampfire: false, preventSigilVictim: false, preventSigilHost: false, customGiftBearerSpawnsRares: false, erraticLeaveBehind: null, preventPlay: false, fatalFlankDef: null, allStrikesDoubled: false, phantasmicLeaveBehind: null, preventCampfireHealth: false, preventCampfireDamage: false, venatorForm: null, bloodbornForm: null, isGemified: true);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 6, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)23,
			(Ability)4
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort Sean", displayname: "Sean", power: 1, health: 6, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Sean.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>(), defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort JamesCobb", displayname: "James Cobb", power: 0, health: 3, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_JamesCobb.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 3, gemsCost: null, abilities: new List<Ability> { (Ability)7 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort Inspector", displayname: "Inspector", power: 1, health: 1, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Inspector.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 6, gemsCost: null, abilities: new List<Ability> { (Ability)26 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort Melter", displayname: "Melter", power: 2, health: 2, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Melter.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: "MeatBot", tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardExtensions.SetExtendedProperty(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 3, gemsCost: null, abilities: new List<Ability> { GiftBearerCustom.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort Fishbot", displayname: "Fishbot", power: 1, health: 3, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Fishbot.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0), "GiftBearerCustomPoolIdentifier", (object)"PP_FishbotGiftBearer");
		CardExtensions.SetExtendedProperty(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>(), description: "", bloodCost: 0, bonesCost: 0, energyCost: 3, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)76,
			(Ability)35
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort BadFish", displayname: "Bad Fish", power: 0, health: 1, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_BadFish.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0), "PP_FishbotGiftBearer", (object)"True");
		CardExtensions.SetExtendedProperty(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>(), description: "", bloodCost: 0, bonesCost: 0, energyCost: 6, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)23,
			(Ability)62,
			(Ability)15,
			(Ability)53
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort GoodFish", displayname: "Good Fish", power: 2, health: 2, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_GoodFish.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0), "PP_FishbotGiftBearer", (object)"True");
		CardExtensions.SetExtendedProperty(CardExtensions.SetExtendedProperty(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>(), description: "", bloodCost: 0, bonesCost: 0, energyCost: 3, gemsCost: null, abilities: new List<Ability> { GiftBearerCustom.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort MoreFish", displayname: "More Fish", power: 0, health: 1, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_MoreFish.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0), "GiftBearerCustomPoolIdentifier", (object)"PP_FishbotGiftBearer"), "PP_FishbotGiftBearer", (object)"True");
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 5, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)23,
			DataBreach.ability
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort Librarian", displayname: "Librarian", power: 1, health: 2, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Librarian.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 4, gemsCost: null, abilities: new List<Ability> { FileExplorer.ability }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort CaptiveFile", displayname: "Captive File", power: 0, health: 1, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_CaptiveFile.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 6, gemsCost: null, abilities: new List<Ability>
		{
			Mycology.ability,
			InstantEffect.ability
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort Mycobot", displayname: "Mycobot", power: 0, health: 1, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Mycobot.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardExtensions.SetExtendedProperty(CardExtensions.SetExtendedProperty(CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 0, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			InstantEffect.ability,
			Annihilation.ability
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), specialAbilities: new List<SpecialTriggeredAbility> { ReactiveAudioBehaviour.ability }, appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelLonelyWizBackground }, internalName: "PixelPort !CORRUPTED", displayname: "!CORRUPTED", power: 0, health: 0, temple: (CardTemple)2, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Corrupted.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, variableStat: (SpecialStatIcon)0), "DisplayCorruptedDescription", (object)"true"), "ReactiveAudioBehaviour_ResolveAudio", (object)"glitch_card_played");
	}
}
public static class UndeadCards
{
	public static void Init()
	{
		//IL_018e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0238: Unknown result type (might be due to invalid IL or missing references)
		//IL_02db: Unknown result type (might be due to invalid IL or missing references)
		//IL_0386: Unknown result type (might be due to invalid IL or missing references)
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 2, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)35 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort SkeletonCrew", displayname: "Skeleton Crew", power: 2, health: 1, temple: (CardTemple)1, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_SkeletonCrew.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 2, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)35,
			(Ability)19
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort ZombieParrot", displayname: "Zombie Parrot", power: 2, health: 3, temple: (CardTemple)1, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_ZombieParrot.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 1, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)18,
			(Ability)15
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelAbilityStitchDecal }, internalName: "PixelPort Kaminski", displayname: "Kaminski", power: 0, health: 1, temple: (CardTemple)1, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Kaminski.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 3, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)4 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelAbilityStitchDecal }, internalName: "PixelPort Reginald", displayname: "Reginald", power: 1, health: 3, temple: (CardTemple)1, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Reginald.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5
		}, description: "", bloodCost: 0, bonesCost: 2, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)12 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelSmokeDecal }, internalName: "PixelPort Smoke", displayname: "Smoke", power: 0, health: 1, temple: (CardTemple)1, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_Smoke.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 2, energyCost: 0, gemsCost: null, abilities: new List<Ability> { (Ability)12 }, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance> { CustomAppearances.PixelSmokeDecal }, internalName: "PixelPort GreaterSmoke", displayname: "Greater Smoke", power: 1, health: 3, temple: (CardTemple)1, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_GreaterSmoke.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0);
		CardSetupUtility.NewCard(categories: new List<CardMetaCategory>
		{
			(CardMetaCategory)4,
			(CardMetaCategory)5,
			(CardMetaCategory)3
		}, description: "", bloodCost: 0, bonesCost: 13, energyCost: 0, gemsCost: null, abilities: new List<Ability>
		{
			(Ability)33,
			(Ability)36
		}, defaultTex: null, emissionTex: null, traits: new List<Trait>(), tribes: new List<Tribe>(), appearanceBehaviour: new List<Appearance>(), internalName: "PixelPort TheLimoncello", displayname: "The Limoncello", power: 1, health: 10, temple: (CardTemple)1, pixelTex: Tex.LoadTex("PixelPort/Resources/PP_TheLimoncello.png"), altTexture: null, altTextureEmission: null, titleGraphic: null, decals: null, preventSignature: false, defaultTailCard: null, defaultEvolutionCard: null, defaultEvolutionName: null, defaultEvolutionTurns: 1, defaultFrozenCard: null, tailLostTexture: null, specialAbilities: null, variableStat: (SpecialStatIcon)0, hideStats: false, onePerDeck: false, animatedPortrait: null, flipPortraitWhenStrafing: false, overrideDamID: null, overrideDamBlockedDialogue: null, overrideFactoryConduitSpawn: null, overrideRabbitHoleSpawn: null, overrideAntSpawnerSpawn: null, overrideBellistID: null, overrideBellistBlockedDialogue: null, overrideSquirrelShedderId: null, overrideSkeletonCrewID: "PixelPort SkeletonCrew");
	}
}
[BepInPlugin("nevernamed.inscryption.pixelport", "PixelPort", "2.0.0.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class MainModule : BaseUnityPlugin
{
	public const string PluginGuid = "nevernamed.inscryption.pixelport";

	private const string PluginName = "PixelPort";

	private const string PluginVersion = "2.0.0.0";

	public static List<string> CagedWolfPool = new List<string> { "Wolf", "WolfCub", "DireWolf", "DireWolfCub" };

	public static List<string> CardsToMakeObtainable = new List<string>
	{
		"Kingfisher", "RavenEgg", "Sparrow", "Magpie", "Vulture", "Cuckoo", "Wolf", "Coyote", "Alpha", "Goat",
		"Pronghorn", "Moose", "Beehive", "Mantis", "AntQueen", "Ant", "Cockroach", "Maggots", "Opossum", "Geck",
		"Skink", "Snapper", "Rattler", "Daus", "Amoeba", "Porcupine", "Otter", "Skunk", "Beaver", "RatKing",
		"Shark", "Bat", "SquidBell", "SquidCards", "SquidMirror", "TrapFrog", "Lammergeier", "DireWolf", "DireWolfCub", "RedHart",
		"Bull", "AntFlying", "MealWorm", "Tadpole", "MudTurtle", "Raccoon", "Wolverine", "Kraken", "BurrowingTrap", "DrownedSoul",
		"MoxTriple", "LatcherBomb", "RoboSkeleton", "LatcherShield", "LatcherBrittle", "GemsConduit", "CellBuff", "CellTri", "GemRipper", "GemExploder",
		"GemShielder", "Amoebot", "GiftBot", "AlarmBot", "BustedPrinter", "Shieldbot", "Sniper", "SwapBot"
	};

	public static Dictionary<string, string> NewPortraits = new Dictionary<string, string>
	{
		{ "Sparrow", "PP_Sparrow" },
		{ "Vulture", "PP_TurkeyVulture" },
		{ "Pronghorn", "PP_Pronghorn" },
		{ "Beehive", "PP_Beehive" },
		{ "Mantis", "PP_Mantis" },
		{ "Cockroach", "PP_Cockroach" },
		{ "Maggots", "PP_CorpseMaggots" },
		{ "Skink", "PP_Skink" },
		{ "Snapper", "PP_RiverSnapper" },
		{ "Rattler", "PP_Rattler" },
		{ "Daus", "PP_Daus" },
		{ "Amoeba", "PP_Amoeba" },
		{ "Porcupine", "PP_Porcupine" },
		{ "Beaver", "PP_Beaver" },
		{ "Shark", "PP_GreatWhite" },
		{ "Bat", "PP_Bat" },
		{ "TrapFrog", "PP_StrangeFrog" },
		{ "Trap", "PP_LeapingTrap" },
		{ "Hydra", "PP_Hydra" },
		{ "LatcherBomb", "PP_BombLatcher" },
		{ "RoboSkeleton", "PP_Exeskeleton" },
		{ "LatcherShield", "PP_ShieldLatcher" },
		{ "LatcherBrittle", "PP_SkeleLatcher" },
		{ "GemsConduit", "PP_GemsConduit" },
		{ "CellBuff", "PP_ToughCell" },
		{ "CellTri", "PP_SplinterCell" },
		{ "GemRipper", "PP_GemboundRipper" },
		{ "GemExploder", "PP_GemDetonator" },
		{ "GemShielder", "PP_GemGuardian" },
		{ "Amoebot", "PP_Amoebot" },
		{ "AlarmBot", "PP_AlarmBot" },
		{ "BustedPrinter", "PP_Busted3DPrinter" },
		{ "Shieldbot", "PP_Shieldbot" },
		{ "SwapBot", "PP_Swapbot" }
	};

	private void Awake()
	{
		//IL_0017: Unknown result type (might be due to invalid IL or missing references)
		//IL_001d: Expected O, but got Unknown
		//IL_0053: Unknown result type (might be due to invalid IL or missing references)
		//IL_0059: Expected I4, but got Unknown
		((BaseUnityPlugin)this).Logger.LogInfo((object)"Loaded PixelPort!");
		Harmony val = new Harmony("nevernamed.inscryption.pixelport.harmonypatcher");
		val.PatchAll();
		BeastCards.Init();
		UndeadCards.Init();
		MagicCards.Init();
		TechCards.Init();
		CardExtensions.AddAppearances(CardExtensions.CardByName((IEnumerable<CardInfo>)CardManager.BaseGameCards, "Shark"), (Appearance[])(object)new Appearance[1] { (Appearance)(int)CustomAppearances.PixelBloodDecal });
		CardExtensions.CardByName((IEnumerable<CardInfo>)CardManager.BaseGameCards, "MoxTriple").gemsCost.AddRange(new List<GemType>
		{
			(GemType)1,
			(GemType)0,
			(GemType)2
		});
		CardManager.ModifyCardList += delegate(List<CardInfo> cards)
		{
			foreach (CardInfo item in cards.FindAll((CardInfo x) => CardsToMakeObtainable.Contains(((Object)x).name)))
			{
				item.metaCategories.Add((CardMetaCategory)4);
				item.metaCategories.Add((CardMetaCategory)5);
			}
			foreach (CardInfo item2 in cards.FindAll((CardInfo x) => CagedWolfPool.Contains(((Object)x).name)))
			{
				CardExtensions.SetExtendedProperty(item2, "PP_CagedWolfGiftBearer", (object)"TRUE");
			}
			foreach (CardInfo item3 in cards.FindAll((CardInfo x) => NewPortraits.ContainsKey(((Object)x).name)))
			{
				CardExtensions.SetPixelPortrait(item3, Tex.LoadTex("PixelPort/Resources/" + NewPortraits[((Object)item3).name] + ".png"), (FilterMode?)null);
			}
			return cards;
		};
	}
}
public static class Tex
{
	public static Texture2D LoadTex(string path)
	{
		//IL_000a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0010: Expected O, but got Unknown
		byte[] array = ExtractEmbeddedResource(path);
		Texture2D val = new Texture2D(2, 2);
		ImageConversion.LoadImage(val, array);
		((Texture)val).filterMode = (FilterMode)0;
		return val;
	}

	public static byte[] ExtractEmbeddedResource(string filePath)
	{
		filePath = filePath.Replace("/", ".");
		filePath = filePath.Replace("\\", ".");
		Assembly callingAssembly = Assembly.GetCallingAssembly();
		using Stream stream = callingAssembly.GetManifestResourceStream(filePath);
		if (stream == null)
		{
			return null;
		}
		byte[] array = new byte[stream.Length];
		stream.Read(array, 0, array.Length);
		return array;
	}
}
internal class CardSetupUtility
{
	public static CardInfo NewCard(string internalName, string displayname, int power, int health, List<CardMetaCategory> categories, CardTemple temple, string description, int bloodCost = 0, int bonesCost = 0, int energyCost = 0, List<GemType> gemsCost = null, List<Ability> abilities = null, Texture2D defaultTex = null, Texture2D emissionTex = null, Texture2D pixelTex = null, Texture2D altTexture = null, Texture2D altTextureEmission = null, Texture2D titleGraphic = null, List<Texture> decals = null, List<Appearance> appearanceBehaviour = null, List<Tribe> tribes = null, bool preventSignature = false, List<Trait> traits = null, string defaultTailCard = null, string defaultEvolutionCard = null, string defaultEvolutionName = null, int defaultEvolutionTurns = 1, string defaultFrozenCard = null, Texture2D tailLostTexture = null, List<SpecialTriggeredAbility> specialAbilities = null, SpecialStatIcon variableStat = (SpecialStatIcon)0, bool hideStats = false, bool onePerDeck = false, GameObject animatedPortrait = null, bool flipPortraitWhenStrafing = false, string overrideDamID = null, string overrideDamBlockedDialogue = null, string overrideFactoryConduitSpawn = null, string overrideRabbitHoleSpawn = null, string overrideAntSpawnerSpawn = null, string overrideBellistID = null, string overrideBellistBlockedDialogue = null, string overrideSquirrelShedderId = null, string overrideSkeletonCrewID = null, string overrideBeesWithinID = null, string twisterForm = null, string transformerForm = null, string overrideLeftClaw = null, string overrideRightClaw = null, string customDoomedLifespan = null, string customGutSpewerGuts = null, string customExplodingCorpseGuts = null, string customOrganThiefGuts = null, string harbingerLeaveBehind = null, string tramplerLeaveBehind = null, string flightyLeaveBehind = null, string parthenogenesisOverride = null, string sigilShedderDef = null, bool preventBones = false, bool preventCampfire = false, bool preventSigilVictim = false, bool preventSigilHost = false, bool customGiftBearerSpawnsRares = false, string erraticLeaveBehind = null, bool preventPlay = false, string fatalFlankDef = null, bool allStrikesDoubled = false, string phantasmicLeaveBehind = null, bool preventCampfireHealth = false, bool preventCampfireDamage = false, string venatorForm = null, string bloodbornForm = null, bool isGemified = false)
	{
		//IL_001b: Unknown result type (might be due to invalid IL or missing references)
		//IL_001d: Unknown result type (might be due to invalid IL or missing references)
		//IL_002c: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b0: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b3: Invalid comparison between Unknown and I4
		//IL_00ba: Unknown result type (might be due to invalid IL or missing references)
		//IL_00bc: Unknown result type (might be due to invalid IL or missing references)
		//IL_011e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0123: Unknown result type (might be due to invalid IL or missing references)
		//IL_0135: Expected O, but got Unknown
		//IL_06a2: Unknown result type (might be due to invalid IL or missing references)
		//IL_06a7: Unknown result type (might be due to invalid IL or missing references)
		//IL_06b3: Expected O, but got Unknown
		CardInfo val = CardManager.New("PixelPort", internalName, displayname, power, health, description);
		val.metaCategories = categories;
		val.temple = temple;
		val.cost = bloodCost;
		val.cardComplexity = (CardComplexity)1;
		val.bonesCost = bonesCost;
		val.gemsCost = ((gemsCost != null) ? gemsCost : new List<GemType>());
		val.energyCost = energyCost;
		val.abilities = ((abilities != null) ? abilities : new List<Ability>());
		val.tribes = ((tribes != null) ? tribes : new List<Tribe>());
		val.traits = ((traits != null) ? traits : new List<Trait>());
		if (specialAbilities != null && specialAbilities.Count > 0)
		{
			CardExtensions.AddSpecialAbilities(val, specialAbilities.ToArray());
		}
		if ((int)variableStat > 0)
		{
			val.specialStatIcon = variableStat;
		}
		if (!string.IsNullOrEmpty(defaultEvolutionName))
		{
			val.defaultEvolutionName = defaultEvolutionName;
		}
		if (!string.IsNullOrEmpty(defaultEvolutionCard))
		{
			CardExtensions.SetEvolve(val, defaultEvolutionCard, defaultEvolutionTurns, (IEnumerable<CardModificationInfo>)null);
		}
		if (!string.IsNullOrEmpty(defaultFrozenCard))
		{
			CardExtensions.SetIceCube(val, defaultFrozenCard, (IEnumerable<CardModificationInfo>)null);
		}
		if (!string.IsNullOrEmpty(defaultTailCard))
		{
			val.tailParams = new TailParams
			{
				tail = CardLoader.GetCardByName(defaultTailCard)
			};
		}
		if (!string.IsNullOrEmpty(overrideDamID))
		{
			CardExtensions.SetExtendedProperty(val, "CustomDamDefinition", (object)overrideDamID);
		}
		if (!string.IsNullOrEmpty(overrideDamBlockedDialogue))
		{
			CardExtensions.SetExtendedProperty(val, "CustomDamDefinitionDialogue", (object)overrideDamID);
		}
		if (!string.IsNullOrEmpty(overrideRabbitHoleSpawn))
		{
			CardExtensions.SetExtendedProperty(val, "CustomRabbitHoleDefinition", (object)overrideRabbitHoleSpawn);
		}
		if (!string.IsNullOrEmpty(overrideAntSpawnerSpawn))
		{
			CardExtensions.SetExtendedProperty(val, "CustomAntSpawnerDefinition", (object)overrideAntSpawnerSpawn);
		}
		if (!string.IsNullOrEmpty(overrideFactoryConduitSpawn))
		{
			CardExtensions.SetExtendedProperty(val, "CustomFactoryConduitDefinition", (object)overrideFactoryConduitSpawn);
		}
		if (!string.IsNullOrEmpty(overrideBellistID))
		{
			CardExtensions.SetExtendedProperty(val, "CustomBellDefinition", (object)overrideBellistID);
		}
		if (!string.IsNullOrEmpty(overrideBellistBlockedDialogue))
		{
			CardExtensions.SetExtendedProperty(val, "CustomBellDefinitionDialogue", (object)overrideBellistBlockedDialogue);
		}
		if (!string.IsNullOrEmpty(overrideSquirrelShedderId))
		{
			CardExtensions.SetExtendedProperty(val, "CustomSquirrelShedderDefinition", (object)overrideSquirrelShedderId);
		}
		if (!string.IsNullOrEmpty(overrideSkeletonCrewID))
		{
			CardExtensions.SetExtendedProperty(val, "CustomSkeletonCrewDefinition", (object)overrideSkeletonCrewID);
		}
		if (!string.IsNullOrEmpty(overrideBeesWithinID))
		{
			CardExtensions.SetExtendedProperty(val, "CustomBeesWithinDefinition", (object)overrideBeesWithinID);
		}
		if (!string.IsNullOrEmpty(twisterForm))
		{
			CardExtensions.SetExtendedProperty(val, "TwisterTransformation", (object)twisterForm);
		}
		if (!string.IsNullOrEmpty(venatorForm))
		{
			CardExtensions.SetExtendedProperty(val, "VenatorTransformation", (object)venatorForm);
		}
		if (!string.IsNullOrEmpty(bloodbornForm))
		{
			CardExtensions.SetExtendedProperty(val, "BloodBornTransformation", (object)bloodbornForm);
		}
		if (!string.IsNullOrEmpty(transformerForm))
		{
			CardExtensions.SetExtendedProperty(val, "CustomTransformerTransformation", (object)transformerForm);
		}
		if (!string.IsNullOrEmpty(overrideLeftClaw))
		{
			CardExtensions.SetExtendedProperty(val, "ClawedLeftClawOverride", (object)overrideLeftClaw);
		}
		if (!string.IsNullOrEmpty(overrideRightClaw))
		{
			CardExtensions.SetExtendedProperty(val, "ClawedRightClawOverride", (object)overrideRightClaw);
		}
		if (!string.IsNullOrEmpty(customGutSpewerGuts))
		{
			CardExtensions.SetExtendedProperty(val, "GutSpewerGutOverride", (object)customGutSpewerGuts);
		}
		if (!string.IsNullOrEmpty(customExplodingCorpseGuts))
		{
			CardExtensions.SetExtendedProperty(val, "ExplodingCorpseGutOverride", (object)customExplodingCorpseGuts);
		}
		if (!string.IsNullOrEmpty(customOrganThiefGuts))
		{
			CardExtensions.SetExtendedProperty(val, "OrganThiefGutOverride", (object)customOrganThiefGuts);
		}
		if (!string.IsNullOrEmpty(parthenogenesisOverride))
		{
			CardExtensions.SetExtendedProperty(val, "ParthenogenesisOverride", (object)parthenogenesisOverride);
		}
		if (!string.IsNullOrEmpty(sigilShedderDef))
		{
			CardExtensions.SetExtendedProperty(val, "OverrideSigilShedderDefinition", (object)sigilShedderDef);
		}
		if (!string.IsNullOrEmpty(fatalFlankDef))
		{
			CardExtensions.SetExtendedProperty(val, "FatalFlankOverride", (object)fatalFlankDef);
		}
		if (!string.IsNullOrEmpty(harbingerLeaveBehind))
		{
			CardExtensions.SetExtendedProperty(val, "HarbingerLeaveBehind", (object)harbingerLeaveBehind);
		}
		if (!string.IsNullOrEmpty(tramplerLeaveBehind))
		{
			CardExtensions.SetExtendedProperty(val, "TramplerLeaveBehind", (object)tramplerLeaveBehind);
		}
		if (!string.IsNullOrEmpty(flightyLeaveBehind))
		{
			CardExtensions.SetExtendedProperty(val, "FlightyLeaveBehind", (object)flightyLeaveBehind);
		}
		if (!string.IsNullOrEmpty(erraticLeaveBehind))
		{
			CardExtensions.SetExtendedProperty(val, "ErraticLeaveBehind", (object)erraticLeaveBehind);
		}
		if (!string.IsNullOrEmpty(phantasmicLeaveBehind))
		{
			CardExtensions.SetExtendedProperty(val, "PhantasmicLeaveBehind", (object)phantasmicLeaveBehind);
		}
		if (!string.IsNullOrEmpty(customDoomedLifespan))
		{
			CardExtensions.SetExtendedProperty(val, "CustomDoomedDuration", (object)customDoomedLifespan);
		}
		if (preventBones)
		{
			CardExtensions.SetExtendedProperty(val, "PreventBones", (object)"Yes");
		}
		if (preventCampfire)
		{
			CardExtensions.SetExtendedProperty(val, "BannedFromCampfire", (object)"Yes");
		}
		if (preventCampfireDamage)
		{
			CardExtensions.SetExtendedProperty(val, "BannedFromCampfireDamage", (object)"Yes");
		}
		if (preventCampfireHealth)
		{
			CardExtensions.SetExtendedProperty(val, "BannedFromCampfireHealth", (object)"Yes");
		}
		if (preventSigilVictim)
		{
			CardExtensions.SetExtendedProperty(val, "BannedSigilTransferVictim", (object)"Yes");
		}
		if (preventSigilHost)
		{
			CardExtensions.SetExtendedProperty(val, "BannedSigilTransferTarget", (object)"Yes");
		}
		if (customGiftBearerSpawnsRares)
		{
			CardExtensions.SetExtendedProperty(val, "CustomGiftBearerSpawnsRare", (object)"Yes");
		}
		if (preventPlay)
		{
			CardExtensions.SetExtendedProperty(val, "PreventPlay", (object)"Yes");
		}
		if (allStrikesDoubled)
		{
			CardExtensions.SetExtendedProperty(val, "AllStrikesDoubled", (object)"Yes");
		}
		if ((Object)(object)defaultTex != (Object)null)
		{
			CardExtensions.SetPortrait(val, defaultTex, (FilterMode?)null);
		}
		if ((Object)(object)emissionTex != (Object)null)
		{
			CardExtensions.SetEmissivePortrait(val, emissionTex, (FilterMode?)null);
		}
		if ((Object)(object)pixelTex != (Object)null)
		{
			CardExtensions.SetPixelPortrait(val, pixelTex, (FilterMode?)null);
		}
		if ((Object)(object)altTexture != (Object)null)
		{
			CardExtensions.SetAltPortrait(val, altTexture, (FilterMode?)null);
		}
		if ((Object)(object)altTextureEmission != (Object)null)
		{
			CardExtensions.SetEmissiveAltPortrait(val, altTextureEmission, (FilterMode?)null);
		}
		if ((Object)(object)titleGraphic != (Object)null)
		{
			val.titleGraphic = (Texture)(object)titleGraphic;
		}
		if ((Object)(object)tailLostTexture != (Object)null)
		{
			CardExtensions.SetLostTailPortrait(val, tailLostTexture, (FilterMode?)(FilterMode)0);
		}
		val.hideAttackAndHealth = hideStats;
		val.onePerDeck = onePerDeck;
		val.animatedPortrait = animatedPortrait;
		val.flipPortraitForStrafe = flipPortraitWhenStrafing;
		val.decals = ((decals != null) ? decals : new List<Texture>());
		if (appearanceBehaviour != null)
		{
			CardExtensions.AddAppearances(val, appearanceBehaviour.ToArray());
		}
		if (isGemified)
		{
			val.Mods.Add(new CardModificationInfo
			{
				gemify = true
			});
		}
		CardManager.Add("PixelPort", val);
		return val;
	}
}