9 public virtual Thing EQ {
get;
set; }
12 public override bool OnUse(
Chara c)
14 if (this.EQ == this.owner)
17 Msg.Say(
"unequipItem", c, this.owner,
null,
null);
18 EClass.pc.PlaySound(
"equip", 1f,
true);
23 Msg.Say(
"equipItem", c, this.owner,
null,
null);
24 this.EQ = this.owner.Thing;
25 EClass.pc.PlaySound(
"equip", 1f,
true);
28 WidgetCurrentTool.dirty =
true;
33 public override void OnSetCardGrid(
ButtonGrid b)
35 if (
EClass.player.eqBait ==
this.owner &&
EClass.player.eqBait.GetRootCard() ==
EClass.pc)
37 b.Attach(
"equip",
false);