|
Elin Decompiled Documentation EA 23.317 Nightly
|
Public Types | |
| enum | ConvertType { Default , Campaign } |
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 | 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.
|
inlinevirtual |
Definition at line 68 of file Religion.cs.
References SourceManager.elements, and EClass.sources.
|
inlinevirtual |
Definition at line 234 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 174 of file Religion.cs.
References GodTalkDataList.GetTalk(), and MOD.listGodTalk.
Referenced by DramaActor.ConvertAdv(), and Talk().
|
inlinevirtual |
Reimplemented in ReligionCustom, ReligionMoonShadow, and ReligionTrickery.
Definition at line 179 of file Religion.cs.
Referenced by GetOfferingValue().
|
inlinevirtual |
Reimplemented in ReligionCustom.
Definition at line 184 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 86 of file Religion.cs.
References source.
Referenced by UIHomeInfo.RefreshInfo(), Portrait.SetChara(), and UIFactionInfo.SetReligion().
|
inlinevirtual |
Definition at line 107 of file Religion.cs.
References SourceManager.elements, IsEyth, source, EClass.sources, and Lang.space.
Referenced by DramaActor.ConvertAdv().
|
inlinevirtual |
Definition at line 122 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 321 of file Religion.cs.
|
inlinevirtual |
Definition at line 73 of file Religion.cs.
|
inlinevirtual |
Reimplemented in ReligionCustom, ReligionEarth, ReligionElement, ReligionHarvest, ReligionHealing, ReligionLuck, ReligionMachine, ReligionMoonShadow, ReligionStrife, ReligionTrickery, and ReligionWind.
Definition at line 316 of file Religion.cs.
Referenced by OnReforge().
|
inlinevirtual |
Reimplemented in ReligionMachine, and ReligionWind.
Definition at line 306 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 311 of file Religion.cs.
Referenced by TraitAltar.CanOffer(), and ReligionManager.GetArtifactDeity().
|
inlinevirtual |
Definition at line 330 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 397 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, Msg.Say(), ElementContainer.SetBase(), Talk(), and ReligionManager.Trickery.
Referenced by if_faith(), and JoinFaith().
|
inlinevirtual |
Definition at line 82 of file Religion.cs.
|
inlinevirtual |
Reimplemented in ReligionEarth, ReligionHealing, and ReligionLuck.
Definition at line 326 of file Religion.cs.
|
inlinevirtual |
Definition at line 509 of file Religion.cs.
References IsEyth, mood, and EClass.rnd().
Referenced by Player.OnAdvanceHour().
|
inlinevirtual |
|
inlinevirtual |
Definition at line 505 of file Religion.cs.
Referenced by LeaveFaith(), and ReligionEyth.LeaveFaith().
|
inlinevirtual |
|
inlinevirtual |
Definition at line 289 of file Religion.cs.
References Element.id, id, IsFaithElement(), and IsIgnoreReforge().
Referenced by ReligionManager.Reforge().
|
inlinevirtual |
Reimplemented in ReligionCustom.
Definition at line 425 of file Religion.cs.
References Card.ChangeWeight(), ThingGen.Create(), Card.DamageHP(), Card.Evalue(), EClass.game, Chara.HasCondition(), item, Condition.Kill(), ReligionManager.list, Chara.mimicry, EClass.pc, recentWrath, Game.religions, Card.SayNothingHappans(), Talk(), and Chara.WeightLimit.
|
inlinevirtual |
Reimplemented in ReligionCustom.
Definition at line 465 of file Religion.cs.
References Chara.AddCondition(), Card.AddThing(), ThingGen.Create(), Card.DamageHP(), Card.Evalue(), Chara.HasCondition(), Condition.Kill(), Chara.mana, Chara.mimicry, recentWrath, Card.SayNothingHappans(), Card.SetDirtyWeight(), Chara.stamina, Talk(), and Stats.value.
Referenced by TraitAltar.OnOffer().
|
inlinevirtual |
Definition at line 160 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 91 of file Religion.cs.
References relation, and UIText.SetText().
Referenced by ContentFaction.RefreshFactions().
Definition at line 168 of file Religion.cs.
References Msg.colors, GetGodTalk(), EClass.pc, Msg.Say(), Msg.SetColor(), and MsgColors.TalkGod.
Referenced by TraitAltar._OnOffer(), TraitGodStatue._OnUse(), JoinFaith(), LeaveFaith(), ActEffect.Proc(), Punish(), PunishTakeOver(), Revelation(), TraitAltar.TakeOver(), CoreDebug.Test_GodTalk(), TryGetGift(), and DramaOutcome.wedding_success().
|
inlinevirtual |
Definition at line 252 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 24 of file Religion.cs.
| int Religion.giftRank |
Definition at line 17 of file Religion.cs.
Referenced by GetGiftRank(), and TryGetGift().
| int Religion.mood |
Definition at line 20 of file Religion.cs.
Referenced by GetTextTemper(), JoinFaith(), and OnChangeHour().
|
static |
Definition at line 22 of file Religion.cs.
Referenced by Chara.Die(), Punish(), and PunishTakeOver().
| int Religion.relation |
Definition at line 14 of file Religion.cs.
Referenced by Init(), UIFactionInfo.SetReligion(), and SetTextRelation().
|
get |
Definition at line 66 of file Religion.cs.
Referenced by ReligionManager.GetRandomReligion(), and TraitAltar.TrySetAct().
|
get |
Definition at line 26 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 28 of file Religion.cs.
Referenced by LayerFaith.AddReligion().
|
get |
Definition at line 60 of file Religion.cs.
|
get |
Definition at line 58 of file Religion.cs.
Referenced by AI_Pray.GetAltar(), GetGiftRank(), GetTextBenefit(), GetTextTemper(), JoinFaith(), OnChangeHour(), FactionBranch.OnSimulateDay(), Revelation(), and ActPray.TryPray().
|
get |
Definition at line 64 of file Religion.cs.
Referenced by ReligionManager.GetRandomReligion(), and ContentFaction.RefreshFactions().
|
get |
Definition at line 62 of file Religion.cs.
|
get |
Definition at line 30 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 50 of file Religion.cs.
|
get |
Definition at line 48 of file Religion.cs.
Referenced by Chara.Die().
|
get |
Definition at line 32 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 54 of file Religion.cs.
Referenced by TraitAltar._OnOffer(), and TraitAltar.OnOffer().
|
get |
Definition at line 56 of file Religion.cs.
Referenced by WidgetStatsBar.Build().
|
get |
Definition at line 52 of file Religion.cs.
Referenced by ContentFaction.RefreshFactions().