Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
TraitNewspaper.cs
Go to the documentation of this file.
2{
3 public override void OnRead(Chara c)
4 {
6 }
7
8 public override void TrySetAct(ActPlan p)
9 {
10 if (!p.altAction && CanRead(EClass.pc))
11 {
12 p.TrySetAct("invRead", delegate
13 {
15 return false;
16 }, owner);
17 }
18 }
19}
bool altAction
Definition: ActPlan.cs:155
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
Definition: Chara.cs:10
Definition: EClass.cs:5
static Chara pc
Definition: EClass.cs:14
static UI ui
Definition: EClass.cs:16
Layer AddLayer(string id)
Definition: Layer.cs:337
override void TrySetAct(ActPlan p)
override void OnRead(Chara c)
override bool CanRead(Chara c)
Definition: TraitScroll.cs:28
Card owner
Definition: Trait.cs:26