Elin Decompiled Documentation EA 23.319 Nightly Patch 1
Loading...
Searching...
No Matches
TraitCard.cs
Go to the documentation of this file.
1public class TraitCard : TraitFigure
2{
3 public override bool ShowShadow => false;
4
5 public override int GetMatColor()
6 {
7 return -3;
8 }
9
10 public override void OnListInteraction(InvOwner.ListInteraction list, ButtonGrid b, bool context)
11 {
12 base.OnListInteraction(list, b, context);
13 if (context)
14 {
15 list.Add("invCollect", 150, delegate
16 {
18 });
19 }
20 }
21}
static void Collect(Thing t)
Definition: Thing.cs:8
override bool ShowShadow
Definition: TraitCard.cs:3
override int GetMatColor()
Definition: TraitCard.cs:5
override void OnListInteraction(InvOwner.ListInteraction list, ButtonGrid b, bool context)
Definition: TraitCard.cs:10
Card owner
Definition: Trait.cs:28