Elin Decompiled Documentation EA 23.268 Nightly
Loading...
Searching...
No Matches
TraitAgingShelf.cs
Go to the documentation of this file.
2{
3 public override Type type => Type.Food;
4
5 public override string idMsg => "agedFood";
6
7 public override string GetProductID(Card c)
8 {
9 return "cheese";
10 }
11
12 public override void OnProduce(Card c)
13 {
14 if (c.Evalue(73) >= -30)
15 {
16 c.elements.SetTo(73, -10);
17 }
18 }
19}
Definition: Card.cs:11
ElementContainerCard elements
Definition: Card.cs:42
int Evalue(int ele)
Definition: Card.cs:2574
void SetTo(int id, int v)
override void OnProduce(Card c)
override string GetProductID(Card c)
override string idMsg
override Type type