Elin Decompiled Documentation EA 23.319 Nightly Patch 1
Loading...
Searching...
No Matches
ReligionMachine.cs
Go to the documentation of this file.
2{
3 public override string id => "machine";
4
5 public override bool IsIgnoreReforge(Thing t)
6 {
7 return t.id == "gun_mani";
8 }
9
10 public override bool IsValidArtifact(string id)
11 {
12 if (!(id == "gun_mani"))
13 {
14 return id == "cloak_mani";
15 }
16 return true;
17 }
18
19 public override string[] GetValidArtifacts()
20 {
21 return new string[2] { "gun_mani", "cloak_mani" };
22 }
23
24 public override bool IsFaithElement(Element e)
25 {
26 switch (e.id)
27 {
28 case 105:
29 case 427:
30 case 466:
31 case 664:
32 case 957:
33 return true;
34 default:
35 return false;
36 }
37 }
38}
int id
Definition: ELEMENT.cs:257
override string[] GetValidArtifacts()
override bool IsValidArtifact(string id)
override bool IsFaithElement(Element e)
override bool IsIgnoreReforge(Thing t)
Definition: Thing.cs:8