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

class BP_LifeForce1 : ScriptObject
{
    kActor @self;
	//------------------------------------------------------------------------------------------------------------------------
    BP_LifeForce1(kActor @actor)
	{
        @self = actor;
    }
	//------------------------------------------------------------------------------------------------------------------------
	void OnTouch(kActor @touchedActor)
	{
		SetLifeForce(GetLifeForce() + 1);
	}
	//------------------------------------------------------------------------------------------------------------------------
    void OnTick()
	{
    }
	//------------------------------------------------------------------------------------------------------------------------
    void OnSpawn()
	{
    }
	//------------------------------------------------------------------------------------------------------------------------
}
