8 public virtual bool CanUseFromInventory
18 public virtual bool CanUseInUserZone
22 return !this.owner.isNPCProperty;
27 public override bool CanUse(
Chara c)
29 return (this.CanUseFromInventory || this.owner.IsInstalled) && (this.CanUseInUserZone || !EClass._zone.IsUserZone || !this.owner.isNPCProperty) && (this.Electricity >= 0 || this.owner.isOn);
33 public override void WriteNote(UINote n,
bool identified)
35 if (!this.langNote.IsEmpty())
38 n.AddText(this.langNote.lang(), FontColor.Good);