Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
InvOwnerDeliverBox.cs
Go to the documentation of this file.
2{
3 public override string langTransfer => "invDeliver";
4
5 public InvOwnerDeliverBox(Card owner = null, Card container = null, CurrencyType _currency = CurrencyType.None)
6 : base(owner, container, _currency)
7 {
8 }
9
10 public override bool ShouldShowGuide(Thing t)
11 {
12 return t.category.IsChildOf("currency");
13 }
14
15 public override void _OnProcess(Thing t)
16 {
17 SE.Play("offering");
18 }
19}
CurrencyType
Definition: CurrencyType.cs:2
Definition: Card.cs:11
SourceCategory.Row category
Definition: Card.cs:1925
override void _OnProcess(Thing t)
override bool ShouldShowGuide(Thing t)
InvOwnerDeliverBox(Card owner=null, Card container=null, CurrencyType _currency=CurrencyType.None)
override string langTransfer
Card owner
Definition: InvOwner.cs:538
Definition: Thing.cs:8