#include "scripts/common.txt"
#include "scripts/BP_common.txt"

class BP_PickupChrono : BP_Pickup
{
	//------------------------------------------------------------------------------------------------------------------------
    BP_PickupChrono(kActor @actor)
	{
        super(@actor);
    }
	//------------------------------------------------------------------------------------------------------------------------
	void OnPickup() override
	{
		Game.PlaySound("sounds/shaders/pickupSpecial.ksnd");
		Game.PrintLine(LTKey(15), 0);
		SetPlayerChronoUpgrade(true);
		self.MarkPersistentBit(false);
		self.Remove();
	}
	//------------------------------------------------------------------------------------------------------------------------
}
