3 const string TEXTURE_FLAME =
"dz\\gear\\cooking\\data\\flame_butane_ca.paa";
18 m_Light.AttachOnMemoryPoint(
this,
"light");
50 SetObjectTexture(0,
"");
67 if (!super.CanPutInCargo(parent))
72 return !GetCompEM().IsSwitchedOn();
82 return GetCompEM().IsWorking();
100 return ignite_target.CanBeIgnitedBy(
this);
120 if (GetInventory().AttachmentCount() != 0)
122 return GetInventory().GetAttachmentFromIndex(0);
135 return canisterEM.
GetEnergy() > GetCompEM().GetEnergyUsage() * pTime;
144 GetInventory().CreateInInventory(
"LargeGasCanister");
ActionLightItemOnFireWithBlowtorchCB ActionLightItemOnFireCB ActionLightItemOnFireWithBlowtorch()
ActionRepairBoatEngineCB ActionRepairVehiclePartCB ActionRepairBoatEngine()
ActionRepairCarChassisWithBlowtorchCB ActionRepairCarChassisCB ActionRepairCarChassisWithBlowtorch()
ActionRepairCarEngineWithBlowtorchCB ActionRepairCarEngineCB ActionRepairCarEngineWithBlowtorch()
ActionRepairCarPartWithBlowtorchCB ActionRepairCarPartCB ActionRepairCarPartWithBlowtorch()
ActionRepairItemWithBlowtorchCB ActionContinuousBaseCB ActionRepairItemWithBlowtorch()
ActionRepairMotorbikeChassisWithBlowtorchCB ActionRepairCarChassisCB ActionRepairMotorbikeChassisWithBlowtorch()
ActionRepairMotorbikeEngineWithBlowtorchCB ActionRepairCarEngineCB ActionRepairMotorbikeEngineWithBlowtorch()
ActionRepairMotorbikePartWithBlowTorchCB ActionRepairMotorbikePartCB ActionRepairMotorbikePartWithBlowTorch()
void AddAction(typename actionName)
float AddEnergy(float added_energy)
Energy manager: Adds energy to this device and clamps it within its min/max storage limits....
float GetEnergy()
Energy manager: Returns the amount of stored energy this device has.
Wrapper class for managing sound through SEffectManager.
override void OnWorkStart()
EntityAI GetGasCanister()
override void SetActions()
void RefreshFlameVisual(bool working=false)
const string SOUND_BURNING
EffectSound m_SoundBurningLoop
override bool IsIgnited()
override void OnWorkStop()
override void OnIgnitedTarget(EntityAI target_item)
const string ANIM_PHASE_FLAME
override bool CanRemoveFromCargo(EntityAI parent)
bool HasEnoughEnergyForRepair(float pTime)
override bool CanPutInCargo(EntityAI parent)
override void OnDebugSpawn()
const string TEXTURE_FLAME
override bool CanIgniteItem(EntityAI ignite_target=NULL)
const float FIREPLACE_IGNITE