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

class BP_PickupLavaArmor : BP_Pickup
{
	//------------------------------------------------------------------------------------------------------------------------
    BP_PickupLavaArmor(kActor @actor)
	{
        super(@actor);
		self.RunFxEvent("LavaArmor");
    }
	//------------------------------------------------------------------------------------------------------------------------
	void OnPickup() override
	{
		Game.PlaySound("sounds/shaders/health_pickup_1.ksnd");
		Game.PlaySound("sounds/shaders/heartoffire.ksnd");
		Game.PrintLine(LTKey(4), 0);
		SetPlayerLavaArmor(true);
		self.MarkPersistentBit(false);
		self.Remove();
	}
	//------------------------------------------------------------------------------------------------------------------------
}
