|
Elin Decompiled Documentation EA 23.331 Nightly
|
Public Types | |
| enum | ConvertType { Default , Campaign } |
| enum | PunishType { Wrath , Takeover , Pervert } |
Public Member Functions | |
| 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 | PunishPerverseWretch (Chara c) |
| void | DoPunish (Chara c, PunishType type) |
| virtual void | OnJoinFaith () |
| virtual void | OnLeaveFaith () |
| virtual void | OnChangeHour () |
Public Attributes | |
| int | relation |
| int | giftRank |
| int | mood |
Static Public Attributes | |
| static Religion | recentWrath |
Static Public Attributes inherited from EClass | |
| static Core | core |
Properties | |
| 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] |
Private Attributes | |
| SourceReligion.Row | _source |
Additional Inherited Members | |
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) |
Definition at line 5 of file Religion.cs.
| enum Religion.ConvertType |
| Enumerator | |
|---|---|
| Default | |
| Campaign | |
Definition at line 7 of file Religion.cs.
| enum Religion.PunishType |
| Enumerator | |
|---|---|
| Wrath | |
| Takeover | |
| Pervert | |
Definition at line 13 of file Religion.cs.
|
inline |
Definition at line 448 of file Religion.cs.
References Chara.AddCondition(), Card.AddThing(), Card.ChangeWeight(), ThingGen.Create(), Card.DamageHP(), Card.Evalue(), EClass.game, Chara.HasCondition(), item, Condition.Kill(), ReligionManager.list, Chara.mana, Chara.mimicry, EClass.pc, recentWrath, Game.religions, Card.SayNothingHappans(), Chara.stamina, Talk(), Stats.value, and Chara.WeightLimit.
Referenced by Punish(), PunishPerverseWretch(), and PunishTakeOver().
|
inlinevirtual |
Definition at line 75 of file Religion.cs.
References SourceManager.elements, and EClass.sources.
|
inlinevirtual |
Definition at line 241 of file Religion.cs.
References EClass.debug, CoreDebug.enable, Card.Evalue(), giftRank, IsEyth, EClass.pc, and source.
Referenced by TraitAltar._OnOffer(), and TryGetGift().
|
inlinevirtual |
Definition at line 181 of file Religion.cs.
References GodTalkDataList.GetTalk(), and MOD.listGodTalk.
Referenced by DramaActor.ConvertAdv(), and Talk().
|
inlinevirtual |
Reimplemented in ReligionCustom, ReligionLuck, ReligionMoonShadow, and ReligionTrickery.
Definition at line 186 of file Religion.cs.
Referenced by GetOfferingValue().
|
inlinevirtual |
Reimplemented in ReligionCustom.
Definition at line 191 of file Religion.cs.
References SourceManager.categories, Card.category, Card.CheckJustCooked(), GetOfferingMtp(), Card.HasElement(), Card.IsDecayed, Card.LV, Card.Num, Card.refCard, Thing.SelfWeight, source, Thing.source, and EClass.sources.
Referenced by TraitAltar._OnOffer(), TraitAltar.CanOffer(), and TraitAltar.OnOffer().
|
inlinevirtual |
Reimplemented in ReligionCustom.
Definition at line 93 of file Religion.cs.
References source.
Referenced by UIHomeInfo.RefreshInfo(), Portrait.SetChara(), and UIFactionInfo.SetReligion().
|
inlinevirtual |
Definition at line 114 of file Religion.cs.
References SourceManager.elements, IsEyth, source, EClass.sources, and Lang.space.
Referenced by DramaActor.ConvertAdv().
|
inlinevirtual |
Definition at line 129 of file Religion.cs.
References Lang.GetList(), IsEyth, and mood.
Referenced by UIHomeInfo.RefreshInfo().
|
inlinevirtual |
Reimplemented in ReligionCustom, ReligionEarth, ReligionElement, ReligionHarvest, ReligionHealing, ReligionLuck, ReligionMachine, ReligionMoonShadow, ReligionStrife, ReligionTrickery, and ReligionWind.
Definition at line 328 of file Religion.cs.
|
inlinevirtual |
Definition at line 80 of file Religion.cs.
|
inlinevirtual |
Reimplemented in ReligionCustom, ReligionEarth, ReligionElement, ReligionHarvest, ReligionHealing, ReligionLuck, ReligionMachine, ReligionMoonShadow, ReligionStrife, ReligionTrickery, and ReligionWind.
Definition at line 323 of file Religion.cs.
Referenced by OnReforge().
|
inlinevirtual |
Reimplemented in ReligionMachine, and ReligionWind.
Definition at line 313 of file Religion.cs.
Referenced by OnReforge().
|
inlinevirtual |
Reimplemented in ReligionEarth, ReligionElement, ReligionHarvest, ReligionHealing, ReligionLuck, ReligionMachine, ReligionMoonShadow, ReligionStrife, ReligionTrickery, ReligionWind, and ReligionCustom.
Definition at line 318 of file Religion.cs.
Referenced by TraitAltar.CanOffer(), and ReligionManager.GetArtifactDeity().
|
inlinevirtual |
Definition at line 337 of file Religion.cs.
References EClass._zone, Faction.charaElements, Card.elements, Chara.faction, Chara.faith, EClass.game, Steam.GetAchievement(), Card.HasElement(), IsEyth, Chara.IsPC, ElementContainer.Learn(), LeaveFaith(), Spatial.lv, mood, ReligionManager.MoonShadow, Name, ElementContainerFaction.OnJoinFaith(), OnJoinFaith(), EClass.pc, Card.PlayEffect(), Card.PurgeEythArtifact(), Chara.RefreshFaithElement(), BaseGameScreen.RefreshWeather(), Game.religions, Msg.Say(), EClass.screen, EClass.Sound, ReligionManager.Strife, Talk(), and ReligionManager.Trickery.
Referenced by DramaOutcome.convert_Jure(), and if_faith().
|
inlinevirtual |
Reimplemented in ReligionEyth.
Definition at line 404 of file Religion.cs.
References Faction.charaElements, Card.elements, Card.Evalue(), Chara.faction, EClass.game, Chara.IsPC, ReligionManager.MoonShadow, ElementContainerFaction.OnLeaveFaith(), OnLeaveFaith(), EClass.pc, Punish, Chara.RefreshFaithElement(), Game.religions, Chara.RemoveAllStances(), Msg.Say(), ElementContainer.SetBase(), Talk(), and ReligionManager.Trickery.
Referenced by if_faith(), and JoinFaith().
|
inlinevirtual |
Definition at line 89 of file Religion.cs.
|
inlinevirtual |
Reimplemented in ReligionEarth, ReligionHealing, and ReligionLuck.
Definition at line 333 of file Religion.cs.
|
inlinevirtual |
Definition at line 534 of file Religion.cs.
References IsEyth, mood, and EClass.rnd().
Referenced by Player.OnAdvanceHour().
|
inlinevirtual |
|
inlinevirtual |
Definition at line 530 of file Religion.cs.
Referenced by LeaveFaith(), and ReligionEyth.LeaveFaith().
|
inlinevirtual |
|
inlinevirtual |
Definition at line 296 of file Religion.cs.
References Element.id, id, IsFaithElement(), and IsIgnoreReforge().
Referenced by ReligionManager.Reforge().
|
inlinevirtual |
Reimplemented in ReligionCustom.
Definition at line 433 of file Religion.cs.
References DoPunish().
|
inlinevirtual |
Definition at line 443 of file Religion.cs.
References DoPunish().
|
inlinevirtual |
Reimplemented in ReligionCustom.
Definition at line 438 of file Religion.cs.
References DoPunish().
Referenced by TraitAltar.OnOffer().
|
inlinevirtual |
Definition at line 167 of file Religion.cs.
References IsEyth, EClass.pc, EClass.rnd(), and Talk().
Referenced by Chara.Die(), Scene.Init(), ActPray.Pray(), and LayerSleep.Sleep().
|
inlinevirtual |
Definition at line 98 of file Religion.cs.
References relation, and UIText.SetText().
Referenced by ContentFaction.RefreshFactions().
Definition at line 175 of file Religion.cs.
References Msg.colors, GetGodTalk(), EClass.pc, Msg.Say(), Msg.SetColor(), and MsgColors.TalkGod.
Referenced by TraitAltar._OnOffer(), TraitGodStatue._OnUse(), DoPunish(), JoinFaith(), LeaveFaith(), ActEffect.Proc(), Revelation(), TraitAltar.TakeOver(), CoreDebug.Test_GodTalk(), TryGetGift(), and DramaOutcome.wedding_success().
|
inlinevirtual |
Definition at line 259 of file Religion.cs.
References EClass._zone, Zone.AddCard(), CharaGen.Create(), EClass.game, GetGiftRank(), Point.GetNearestPoint(), giftRank, Chara.MakeAlly(), EClass.pc, Card.PlayEffect(), Card.pos, ReligionManager.Reforge(), Game.religions, source, and Talk().
|
private |
Definition at line 31 of file Religion.cs.
| int Religion.giftRank |
Definition at line 24 of file Religion.cs.
Referenced by GetGiftRank(), and TryGetGift().
| int Religion.mood |
Definition at line 27 of file Religion.cs.
Referenced by GetTextTemper(), JoinFaith(), and OnChangeHour().
|
static |
Definition at line 29 of file Religion.cs.
Referenced by Chara.Die(), and DoPunish().
| int Religion.relation |
Definition at line 21 of file Religion.cs.
Referenced by Init(), UIFactionInfo.SetReligion(), and SetTextRelation().
|
get |
Definition at line 73 of file Religion.cs.
Referenced by ReligionManager.GetRandomReligion(), and TraitAltar.TrySetAct().
|
get |
Definition at line 33 of file Religion.cs.
Referenced by TraitGodStatue._OnUse(), TraitAltar.CanOffer(), AI_Pray.GetAltar(), TraitGodStatue.OnChangeMaterial(), TraitAltar.OnCreate(), TraitAltar.OnImportMap(), TraitAltar.OnOffer(), TraitBaseSpellbook.OnRead(), OnReforge(), FactionBranch.OnSimulateDay(), Person.Person(), Card.PurgeDuplicateArtifact(), ContentFaction.RefreshFactions(), ButtonElement.SetGrid(), UIFactionInfo.SetReligion(), TraitAltar.TakeOver(), and Element.BonusInfo.WriteNote().
|
get |
Definition at line 35 of file Religion.cs.
Referenced by LayerFaith.AddReligion().
|
get |
Definition at line 67 of file Religion.cs.
|
get |
Definition at line 65 of file Religion.cs.
Referenced by AI_Pray.GetAltar(), GetGiftRank(), GetTextBenefit(), GetTextTemper(), JoinFaith(), OnChangeHour(), TraitAltar.OnOffer(), FactionBranch.OnSimulateDay(), Revelation(), and ActPray.TryPray().
|
get |
Definition at line 71 of file Religion.cs.
Referenced by ReligionManager.GetRandomReligion(), and ContentFaction.RefreshFactions().
|
get |
Definition at line 69 of file Religion.cs.
|
get |
Definition at line 37 of file Religion.cs.
Referenced by LayerFaith.AddReligion(), DramaActor.ConvertAdv(), GameLang.ConvertDrama(), Chara.GetName(), JoinFaith(), TraitAltar.OnOffer(), Person.Person(), ActPray.Pray(), AI_Pray.Pray(), ContentPopulation.Refresh(), ContentFaction.RefreshFactions(), ContentHomeReport.RefreshInfo(), UIHomeInfo.RefreshInfo(), WindowChara.RefreshInfo(), WindowChara.RefreshNote(), UIFactionInfo.SetReligion(), and ActPray.TryPray().
|
get |
Definition at line 57 of file Religion.cs.
|
get |
Definition at line 55 of file Religion.cs.
Referenced by Chara.Die().
|
get |
Definition at line 39 of file Religion.cs.
Referenced by LayerFaith.AddReligion(), DramaActor.ConvertAdv(), GetGiftRank(), GetOfferingValue(), FactionBranch.GetResidentTax(), GetSprite(), GetTextBenefit(), Init(), TraitAltar.SetDeity(), UIFactionInfo.SetReligion(), and TryGetGift().
|
get |
Definition at line 61 of file Religion.cs.
Referenced by TraitAltar._OnOffer(), and TraitAltar.OnOffer().
|
get |
Definition at line 63 of file Religion.cs.
Referenced by WidgetStatsBar.Build().
|
get |
Definition at line 59 of file Religion.cs.
Referenced by ContentFaction.RefreshFactions().