// This unlocks all items in the base shop, but it's not given by the give all
// cheat, so it's a seeeeecreeeeet!

class PassToDreamworld : Inventory {
	Default {
		Inventory.Icon "ARTISUIT";
		Inventory.PickupMessage "\c[fire]You got it all! ...but you still gotta buy it.";
		Inventory.MaxAmount 1;
		Inventory.Amount 1;
		Inventory.PickupSound "";
		Inventory.UseSound "";

		+INVENTORY.UNDROPPABLE;
		+INVENTORY.AUTOACTIVATE;
		+INVENTORY.ALWAYSPICKUP;
	}

	override void AttachToOwner (Actor user) {
		super.AttachToOwner(user);
		Gcs_BaseShop.UnlockAll();
	}
}

// And you get this one via give all, but it doesn't unlock absolutely all
// items ever.

class DragonsDontCheatTheyOnlyGrabMoney : CustomInventory {
	Default {
		Inventory.Icon "ARTISUIT";
		Inventory.PickupMessage "\c[Fire]You unlocked all items, too! except for one hu";
		Inventory.MaxAmount 2;
		Inventory.Amount 1;
		Inventory.PickupSound "";
		Inventory.UseSound "";
		+INVENTORY.UNDROPPABLE;
		+INVENTORY.AUTOACTIVATE;
		+INVENTORY.ALWAYSPICKUP;
	}

	States
	{
	Spawn:
		SUIT A -1;
		Stop;
	
	Use:
	Pickup:
		TNT1 A 0 {
		//Items you should get.
			A_GiveInventory("PhilosophersTome",1);
			If(!CountInv("PowersuitItem2")) { A_GiveInventory("PowersuitItem"); }
			A_GiveInventory("DraughTome");
			
		//Items you should get not. [/Yoda]
			A_TakeInventory("ManaShieldTome",9);
			A_TakeInventory("VoidwalkersTouch",9);
			A_TakeInventory("StridersLantern",9); // (9)

		//Stratocasters.
			A_GiveInventory("BrimstoneStrat");
			A_GiveInventory("LonghornStrat");
			A_GiveInventory("StruckerStrat");
			A_GiveInventory("IronblastStrat");
			A_GiveInventory("PulverizerStrat");
			A_GiveInventory("MatriarchStrat");
			A_GiveInventory("AugurStrat");
			A_GiveInventory("OldDreadfulStrat");
			A_GiveInventory("DynamiteStrat");
		
		//Splelz.
			A_GiveInventory("SkullfireTome");
			A_GiveInventory("FlamewaveTome");
			A_GiveInventory("FrostbiteTome");
			A_GiveInventory("GumpopTome");
			A_GiveInventory("ThunderTome");
			A_GiveInventory("ThreadcutterTome");
			A_GiveInventory("SkypunchTome");
			A_GiveInventory("CrowsTome");
			A_GiveInventory("BreathTome");
			A_GiveInventory("CorpseTome");
			A_GiveInventory("ChillgraspTome");
			A_GiveInventory("AnnihilationTome");
			A_GiveInventory("MeteorfistTome");
			A_GiveInventory("SheepshieldTome");
			A_GiveInventory("SpiritcannonTome");
			A_GiveInventory("PrismTome");
			A_GiveInventory("ApocalypseTome");
			A_GiveInventory("DarkpathTome");
			//_GiveInventory("DragonshoutTome");
			A_GiveInventory("HammersmiteTome");
		
			Gcs_BaseShop.Unlock("PowersuitItem");
			Gcs_BaseShop.Unlock("DraughTome");
			Gcs_BaseShop.Unlock("VoidwalkersTouch");
			Gcs_BaseShop.Unlock("CroesusBlessing");
			Gcs_BaseShop.Unlock("CarnageCollector");
			Gcs_BaseShop.Unlock("StridersLantern");
			Gcs_BaseShop.Unlock("HeavyDutyStompers");
			Gcs_BaseShop.Unlock("PhilosophersTome");
			Gcs_BaseShop.Unlock("ManaShieldTome");
			Gcs_BaseShop.Unlock("TravelersJournal");
			Gcs_BaseShop.Unlock("SupermagJohnson");
			Gcs_BaseShop.Unlock("SupermagTheta");
			Gcs_BaseShop.Unlock("PowerAutoCannon");
		}
		Stop;
	}
}