class CandleController extends ScriptableDeviceComponent
{

	public const override function GetPS() : CandleControllerPS
	{
		return ( ( CandleControllerPS )( GetBasePS() ) );
	}

}

class CandleControllerPS extends ScriptableDeviceComponentPS
{
	default m_deviceName = "LocKey#45725";
	default m_tweakDBRecord = T"Devices.Candle";
	default m_tweakDBDescriptionRecord = T"device_descriptions.Candle";
	protected instanceeditable inlined var m_candleSkillChecks : EngDemoContainer;

	protected override function GetSkillCheckContainerForSetup() : BaseSkillCheckContainer
	{
		return m_candleSkillChecks;
	}

	protected override function GameAttached() {}

	public override function GetActions( out actions : array< DeviceAction >, context : GetActionsContext ) : Bool
	{
		actions.PushBack( ActionToggleON() );
		return true;
	}

	protected override function GetBackgroundTextureTweakDBID() : TweakDBID
	{
		return T"DeviceIcons.LightDeviceBackground";
	}

	protected override function GetDeviceIconTweakDBID() : TweakDBID
	{
		return T"DeviceIcons.LightDeviceIcon";
	}

}

