7 public override bool IsOn
25 return base.Electricity;
54 owner.hp = Mathf.Clamp(
owner.
hp + a, 1, 100);
68 owner.isBroken =
false;
77 owner.isBroken =
true;
83 public override void SetName(ref
string s)
87 s =
"gen_broken".lang(s);
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
void Say(string lang, string ref1=null, string ref2=null)
override bool UseAltTiles
override void OnSimulateHour(VirtualDate date)
override void SetName(ref string s)
void RefreshElectricity()