Elin Decompiled Documentation EA 23.102 Nightly
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
TraitToolMusic.cs
Go to the documentation of this file.
2{
3 public override void TrySetHeldAct(ActPlan p)
4 {
5 if (p.IsSelf)
6 {
7 TrySetAct(p);
8 }
9 }
10
11 public override void TrySetAct(ActPlan p)
12 {
14 {
15 tool = owner.Thing
16 }, owner);
17 }
18}
bool IsSelf
Definition: ActPlan.cs:173
bool TrySetAct(string lang, Func< bool > onPerform, Card tc, CursorInfo cursor=null, int dist=1, bool isHostileAct=false, bool localAct=true, bool canRepeat=false)
Definition: ActPlan.cs:344
override void TrySetAct(ActPlan p)
override void TrySetHeldAct(ActPlan p)
Card owner
Definition: Trait.cs:26