Elin Decompiled Documentation EA 23.319 Nightly Patch 1
Loading...
Searching...
No Matches
ReligionEarth.cs
Go to the documentation of this file.
1public class ReligionEarth : Religion
2{
3 public override string id => "earth";
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 == "blunt_earth";
14 }
15
16 public override string[] GetValidArtifacts()
17 {
18 return new string[1] { "blunt_earth" };
19 }
20
21 public override bool IsFaithElement(Element e)
22 {
23 switch (e.id)
24 {
25 case 55:
26 case 56:
27 case 70:
28 case 421:
29 case 423:
30 case 954:
31 return true;
32 default:
33 return false;
34 }
35 }
36}
int id
Definition: ELEMENT.cs:257
override bool IsAvailable
Definition: ReligionEarth.cs:5
override bool IsFaithElement(Element e)
override string[] GetValidArtifacts()
override void OnBecomeBranchFaith()
Definition: ReligionEarth.cs:7
override bool IsValidArtifact(string id)