Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
QuestTax.cs
Go to the documentation of this file.
2{
3 public override bool CanUpdateOnTalk(Chara c)
4 {
5 return phase switch
6 {
7 0 => EClass.player.stats.taxBills > 0,
8 1 => EClass.player.stats.taxBillsPaid > 0,
9 _ => false,
10 };
11 }
12
13 public override void OnDropReward()
14 {
15 DropReward("mailpost");
16 }
17
18 public override void OnComplete()
19 {
20 }
21}
Definition: Chara.cs:10
override void OnDropReward()
Definition: QuestTax.cs:13
override bool CanUpdateOnTalk(Chara c)
Definition: QuestTax.cs:3
override void OnComplete()
Definition: QuestTax.cs:18
int phase
Definition: Quest.cs:40
Thing DropReward(string id)
Definition: Quest.cs:506