Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
TraitCauldron.cs
Go to the documentation of this file.
2{
3 public override string IDReqEle(RecipeSource r)
4 {
5 object obj;
6 if (!((r.row as CardRow)?._origin == "dish"))
7 {
8 obj = GetParam(1);
9 if (obj == null)
10 {
11 return "handicraft";
12 }
13 }
14 else
15 {
16 obj = "cooking";
17 }
18 return (string)obj;
19 }
20
21 public override bool Contains(RecipeSource r)
22 {
23 if (!(r.idFactory == "cauldron"))
24 {
25 return r.idFactory == "camppot";
26 }
27 return true;
28 }
29}
RenderRow row
Definition: RecipeSource.cs:5
string idFactory
Definition: RecipeSource.cs:85
override string IDReqEle(RecipeSource r)
Definition: TraitCauldron.cs:3
override bool Contains(RecipeSource r)
string GetParam(int i, string def=null)
Definition: Trait.cs:515