Elin Decompiled Documentation EA 23.317 Nightly
Loading...
Searching...
No Matches
ReligionElement Class Reference
Inheritance diagram for ReligionElement:
Religion EClass

Public Member Functions

override bool IsValidArtifact (string id)
 
override string[] GetValidArtifacts ()
 
override bool IsFaithElement (Element e)
 
- Public Member Functions inherited from Religion
virtual SourceElement.Row GetFeat (int i)
 
virtual void Init ()
 
virtual void OnLoad ()
 
virtual void OnAdvanceDay ()
 
virtual Sprite GetSprite ()
 
virtual void SetTextRelation (UIText text)
 
virtual string GetTextBenefit ()
 
virtual string GetTextTemper (int _temper=-99999)
 
virtual void Revelation (string idTalk, int chance=100)
 
virtual void Talk (string idTalk, Card c=null, Card agent=null)
 
virtual string GetGodTalk (string idTalk)
 
virtual int GetOfferingMtp (Thing t)
 
virtual int GetOfferingValue (Thing t, int num=-1)
 
virtual int GetGiftRank ()
 
virtual bool TryGetGift ()
 
virtual void OnReforge (Thing t)
 
virtual bool IsIgnoreReforge (Thing t)
 
virtual bool IsValidArtifact (string id)
 
virtual bool IsFaithElement (Element e)
 
virtual string[] GetValidArtifacts ()
 
virtual void OnBecomeBranchFaith ()
 
virtual void JoinFaith (Chara c, ConvertType type=ConvertType.Default)
 
virtual void LeaveFaith (Chara c, Religion newFaith, ConvertType type)
 
virtual void Punish (Chara c)
 
virtual void PunishTakeOver (Chara c)
 
virtual void OnJoinFaith ()
 
virtual void OnLeaveFaith ()
 
virtual void OnChangeHour ()
 

Properties

override string id [get]
 
- Properties inherited from Religion
virtual string id [get]
 
virtual bool IsAvailable [get]
 
virtual string Name [get]
 
SourceReligion.Row source [get]
 
virtual string NameShort [get]
 
virtual string NameDomain [get]
 
virtual string TextType [get]
 
virtual string TextGodGender [get]
 
virtual string TextMood [get]
 
bool IsEyth [get]
 
bool IsEhekatl [get]
 
bool IsOpatos [get]
 
virtual bool IsMinorGod [get]
 
virtual bool CanJoin [get]
 
- Properties inherited from EClass
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Faction Wilds [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Additional Inherited Members

- Public Types inherited from Religion
enum  ConvertType { Default , Campaign }
 
- Static Public Member Functions inherited from EClass
static int rndSeed (int a, int seed)
 
static int rnd (long a)
 
static int rnd (int a)
 
static int curve (long _a, int start, int step, int rate=75)
 
static int sqrt (int a)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 
- Public Attributes inherited from Religion
int relation
 
int giftRank
 
int mood
 
- Static Public Attributes inherited from Religion
static Religion recentWrath
 
- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 1 of file ReligionElement.cs.

Member Function Documentation

◆ GetValidArtifacts()

override string[] ReligionElement.GetValidArtifacts ( )
inlinevirtual

Reimplemented from Religion.

Definition at line 10 of file ReligionElement.cs.

11 {
12 return new string[1] { "staff_element" };
13 }

◆ IsFaithElement()

override bool ReligionElement.IsFaithElement ( Element  e)
inlinevirtual

Reimplemented from Religion.

Definition at line 15 of file ReligionElement.cs.

16 {
17 if (e.id != 411)
18 {
19 if (e is Resistance)
20 {
21 return e.id != 959;
22 }
23 return false;
24 }
25 return true;
26 }
int id
Definition: ELEMENT.cs:257

References Element.id.

◆ IsValidArtifact()

override bool ReligionElement.IsValidArtifact ( string  id)
inlinevirtual

Reimplemented from Religion.

Definition at line 5 of file ReligionElement.cs.

6 {
7 return id == "staff_element";
8 }

Property Documentation

◆ id

override string ReligionElement.id
get

Definition at line 3 of file ReligionElement.cs.


The documentation for this class was generated from the following file: