// Tome of Might: an alternate type of Tome of Power
Actor TomeOfMightAmmo : PowerInfiniteAmmo
{
	Powerup.Duration -40
	Inventory.Icon "SPINTM0"
}


Actor TomeOfMightSpeed : PowerDoubleFiringSpeed {Powerup.Duration -40}



Actor ArtiTomeOfMight : CustomInventory 19999
{
	//$Category Artifacts
	//$Title Tome of Might
	+COUNTITEM
	+FLOATBOB
	+INVENTORY.INVBAR
	+INVENTORY.PICKUPFLASH
	+INVENTORY.FANCYPICKUPSOUND
	Inventory.Icon "ARTITOME"
	Inventory.DefMaxAmount
	Inventory.PickupSound "misc/p_pkup"
	Inventory.UseSound "misc/invuse"
	Inventory.PickupMessage "$TXT_ARTITOMEOFMIGHT"
	Tag "$TAG_ARTITOMEOFMIGHT"
	States
	{
	Spawn:
		ATOM A 350
		Loop
	Use:
		TNT1 A 0 A_GiveInventory("TomeOfMightAmmo", 1)
		TNT1 A 0 A_GiveInventory("TomeOfMightSpeed", 1)
		Stop
	}
}
