Elin Decompiled Documentation EA 23.333 Myaightly Patch 1
Loading...
Searching...
No Matches
ReligionLuck.cs
Go to the documentation of this file.
1public class ReligionLuck : Religion
2{
3 public override string id => "luck";
4
5 public override bool IsAvailable => true;
6
7 public override void OnBecomeBranchFaith()
8 {
9 }
10
11 public override bool IsValidArtifact(string id)
12 {
13 return id == "luckydagger";
14 }
15
16 public override string[] GetValidArtifacts()
17 {
18 return new string[1] { "luckydagger" };
19 }
20
21 public override int GetOfferingMtp(Thing t)
22 {
23 if (t.id == "taiyaki")
24 {
25 return 2;
26 }
27 return 0;
28 }
29
30 public override bool IsFaithElement(Element e)
31 {
32 return e.id != 426;
33 }
34}
string id
Definition: Card.cs:36
override bool IsAvailable
Definition: ReligionLuck.cs:5
override bool IsFaithElement(Element e)
Definition: ReligionLuck.cs:30
override int GetOfferingMtp(Thing t)
Definition: ReligionLuck.cs:21
override void OnBecomeBranchFaith()
Definition: ReligionLuck.cs:7
override bool IsValidArtifact(string id)
Definition: ReligionLuck.cs:11
override string[] GetValidArtifacts()
Definition: ReligionLuck.cs:16
Definition: Thing.cs:8