30 : base(
owner, container, _currency)
41 return t.id ==
"money";
45 return t.category.id ==
"mushroom";
55 bool flag = t.id ==
"bill_tax";
56 bool flag2 = t.id ==
"bill_debt";
58 bool flag3 = flag2 && questDebt !=
null && !questDebt.paid && questDebt.
IsValidBill(t);
76 EClass.player.debt -= t.
c_bill;
79 EClass.player.debt = 0;
81 questDebt.paid =
true;
86 EClass.player.stats.taxBillsPaid += t.
c_bill;
90 EClass.player.taxBills = 0;
92 int num = t.
GetInt(35) / 1000;
97 Msg.
Say(
"getSalary", thing);
103 EClass.player.unpaidBill -= t.
c_bill;
125 if (questHarvest !=
null)
127 questHarvest.weightDelivered += t.SelfWeight * t.
Num;
int GetInt(int id, int? defaultInt=null)
Thing AddThing(string id, int lv=-1)
void ModCurrency(int a, string id="money")
bool TryPay(int a, string id="money")
SourceCategory.Row category
Thing Pick(Thing t, bool msg=true, bool tryStack=true)
override void _OnProcess(Thing t)
override bool ShouldShowGuide(Thing t)
override string langTransfer
InvOwnerDeliver(Card owner=null, Card container=null, CurrencyType _currency=CurrencyType.Money)
override bool SingleTarget
static void PayBill(Thing t, bool fromBank=false)
override ProcessType processType
static string _weight(int a, int b, bool showUnit=true, int unitSize=0)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
bool IsValidBill(Thing t)
static Thing CreateParcel(string idLang=null, params Thing[] things)
static Thing Create(string id, int idMat=-1, int lv=-1)
void SendPackage(Thing p)