DIFF

class Chemlight_ColorBaseSource

Chemlight_ColorBase ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constructors 1

Members 5

string m_DefaultMaterial
string m_GlowMaterial
Referenced by CreateLight(), OnWork(), and OnWorkStop()
private int m_Efficiency0To10

Synchronized variable

static private float m_EfficiencyDecayStart = 0.05

At this % of maximum energy the output of the light starts to weaken.

Methods 12

float GetEfficiency0To1()

Returns efficiency. The value is synchronized from server to all clients and is accurate down to 0.1 units.

Referenced by OnWork()
float GetEfficiencyDecayStart()

Returns efficiency. The value is synchronized from server to all clients and is accurate down to 0.1 units.

override void EEHealthLevelChanged(int oldLevel, int newLevel, string zone)
override void OnWorkStart()
override void OnInventoryExit(Man player)
override void SetActions()