BaseItem

Actor BaseItem : SwitchableDecoration { 	+USESPECIAL Activation THINGSPEC_ThingActs | THINGSPEC_Switch | THINGSPEC_Deactivate States { 		Spawn: TNT1 A 0 Active: TNT1 A -1 stop Inactive: TNT1 A 1 ACS_NamedExecute("PickUpItem", 0) stop } } All pickup items inherit from BaseItem in order to run PickUpItem, which puts them in the player inventory and removes the actor.