48 GetCompEM().SetEnergy0To1(GetHealth01(
"",
""));
62 GetCompEM().SetEnergy0To1(GetHealth01());
85 float max_energy = GetCompEM().GetEnergyMaxPristine();
88 GetCompEM().SetEnergy(
time);
138 return "DZ\\gear\\tools\\data\\broom_emissive.rvmat";
143 return "DZ\\gear\\tools\\data\\broom_burn.rvmat";
Param4< int, int, string, int > TSelectableActionInfoWithColor
void AddAction(typename actionName)
override string GetBurntMaterial()
BroomBase FlammableBase GetBurningMaterial()
class BoxCollidingParams component
ComponentInfo for BoxCollidingResult.
override float GetQuantity()
override int GetQuantityMax()
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
override void ApplyResultModifications(ItemBase result)
override void GetDebugActions(out TSelectableActionInfoArrayEx outputList)
override bool CanReceiveUpgrade()
override void SetActions()
override void EEHitBy(TotalDamageResult damageResult, int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos, float speedCoef)
override void CalculateQuantity()
override bool OnAction(int action_id, Man player, ParamsReadContext ctx)
override void OnWorkStart()
void DebugSetHealthAndEnergy(float time)
override void UpdateParticle()
override bool CanTransformIntoStick()
vector m_ParticleLocalPos
override bool IsIgnited()
override void OnIgnitedThis(EntityAI fire_source)
void ScaleParticleParamFromOriginal(int parameter_id, float coef)
Scales the given parameter on all emitors relatively to their ORIGINAL value.
static const int BROOM_TORCH_T1
Serialization general interface. Serializer API works with:
proto native CGame GetGame()
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
static proto float Max(float x, float y)
Returns bigger of two given values.
static proto float Min(float x, float y)
Returns smaller of two given values.
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
const int SAT_DEBUG_ACTION