Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
TraitHoard.cs
Go to the documentation of this file.
1public class TraitHoard : Trait
2{
3 public override bool CanBeHeld => true;
4
5 public override void TrySetAct(ActPlan p)
6 {
7 if (p.IsSelf)
8 {
9 p.TrySetAct("actNewZone", delegate
10 {
12 return false;
14 }
15 }
16}
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
static CursorInfo MoveZone
Definition: CursorSystem.cs:86
Definition: EClass.cs:5
static UI ui
Definition: EClass.cs:16
Layer AddLayer(string id)
Definition: Layer.cs:337
override bool CanBeHeld
Definition: TraitHoard.cs:3
override void TrySetAct(ActPlan p)
Definition: TraitHoard.cs:5
Definition: Trait.cs:7
Card owner
Definition: Trait.cs:26