Elin Decompiled Documentation EA 23.102 Nightly
|
Public Types | |
enum | ConvertType { Default , Campaign } |
Public Member Functions | |
virtual SourceElement.Row | GetFeat (int i) |
void | Init () |
void | OnLoad () |
void | OnAdvanceDay () |
Sprite | GetSprite () |
void | SetTextRelation (UIText text) |
string | GetTextBenefit () |
string | GetTextTemper (int _temper=-99999) |
void | Revelation (string idTalk, int chance=100) |
void | Talk (string idTalk, Card c=null, Card agent=null) |
string | GetGodTalk (string suffix) |
virtual int | GetOfferingMtp (Thing t) |
int | GetOfferingValue (Thing t, int num=-1) |
bool | TryGetGift () |
bool | IsValidArtifact (string id) |
virtual void | OnBecomeBranchFaith () |
void | JoinFaith (Chara c, ConvertType type=ConvertType.Default) |
void | LeaveFaith (Chara c, Religion newFaith, ConvertType type) |
void | Punish (Chara c) |
void | PunishTakeOver (Chara c) |
virtual void | OnJoinFaith () |
virtual void | OnLeaveFaith () |
void | OnChangeHour () |
Static Public Member Functions | |
static Thing | Reforge (string id, Point pos=null, bool first=true) |
![]() | |
static int | rnd (int a) |
static int | curve (int a, int start, int step, int rate=75) |
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 | |
int | relation |
int | giftRank |
int | mood |
SourceReligion.Row | _source |
Static Public Attributes | |
static Religion | recentWrath |
![]() | |
static Core | core |
Properties | |
virtual string | id [get] |
virtual bool | IsAvailable [get] |
string | Name [get] |
SourceReligion.Row | source [get] |
string | NameShort [get] |
string | NameDomain [get] |
string | TextType [get] |
string | TextGodGender [get] |
string | TextMood [get] |
bool | IsEyth [get] |
bool | IsEhekatl [get] |
bool | IsOpatos [get] |
virtual bool | IsMinorGod [get] |
virtual bool | CanJoin [get] |
![]() | |
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] |
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 54 of file Religion.cs.
References SourceManager.elements, and EClass.sources.
|
inline |
Definition at line 162 of file Religion.cs.
References SourceManager.dataGodTalk, ExcelData.GetText(), and EClass.sources.
Referenced by DramaActor.ConvertAdv(), and Talk().
|
inlinevirtual |
Reimplemented in ReligionMoonShadow, and ReligionTrickery.
Definition at line 167 of file Religion.cs.
Referenced by GetOfferingValue().
|
inline |
Definition at line 172 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().
|
inline |
Definition at line 72 of file Religion.cs.
References source.
Referenced by UIHomeInfo.RefreshInfo(), Portrait.SetChara(), and UIFactionInfo.SetReligion().
|
inline |
Definition at line 93 of file Religion.cs.
References SourceManager.elements, IsEyth, source, EClass.sources, and Lang.space.
Referenced by DramaActor.ConvertAdv().
|
inline |
Definition at line 107 of file Religion.cs.
References Lang.GetList(), IsEyth, and mood.
Referenced by UIHomeInfo.RefreshInfo().
|
inline |
Definition at line 59 of file Religion.cs.
|
inline |
Definition at line 255 of file Religion.cs.
References ReligionManager.Earth, ReligionManager.Element, EClass.game, giftRank, ReligionManager.Harvest, ReligionManager.Healing, ReligionManager.Luck, ReligionManager.Machine, ReligionManager.MoonShadow, Game.religions, ReligionManager.Strife, ReligionManager.Trickery, and ReligionManager.Wind.
|
inline |
Definition at line 386 of file Religion.cs.
References Faction.charaElements, Card.elements, Chara.faction, Chara.faith, Card.HasElement(), IsEyth, Chara.IsPC, ElementContainer.Learn(), LeaveFaith(), mood, Name, ElementContainerFaction.OnJoinFaith(), OnJoinFaith(), EClass.pc, Card.PlayEffect(), Chara.RefreshFaithElement(), Msg.Say(), EClass.Sound, and Talk().
Referenced by DramaOutcome.convert_Jure(), and DramaManager.ParseLine().
|
inline |
Definition at line 429 of file Religion.cs.
References Faction.charaElements, Card.elements, Card.Evalue(), Chara.faction, EClass.game, IsEyth, Chara.IsPC, ReligionManager.MoonShadow, ElementContainerFaction.OnLeaveFaith(), OnLeaveFaith(), EClass.pc, Punish, Chara.RefreshFaithElement(), Game.religions, Msg.Say(), ElementContainer.SetBase(), Talk(), and ReligionManager.Trickery.
Referenced by JoinFaith().
|
inline |
Definition at line 68 of file Religion.cs.
|
inlinevirtual |
Reimplemented in ReligionEarth, ReligionHealing, and ReligionLuck.
Definition at line 382 of file Religion.cs.
|
inline |
Definition at line 537 of file Religion.cs.
References IsEyth, mood, and EClass.rnd().
Referenced by Player.OnAdvanceHour().
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
Definition at line 461 of file Religion.cs.
References Card.ChangeWeight(), ThingGen.Create(), Card.DamageHP(), Card.Evalue(), EClass.game, Chara.HasCondition(), item, ReligionManager.list, EClass.pc, recentWrath, Game.religions, Card.SayNothingHappans(), Talk(), and Chara.WeightLimit.
|
inline |
Definition at line 497 of file Religion.cs.
References Chara.AddCondition(), Card.AddThing(), ThingGen.Create(), Card.DamageHP(), Card.Evalue(), Chara.HasCondition(), Chara.mana, recentWrath, Card.SayNothingHappans(), Card.SetDirtyWeight(), Chara.stamina, Talk(), and Stats.value.
Referenced by TraitAltar.OnOffer().
Definition at line 279 of file Religion.cs.
References EClass._zone, Zone.AddCard(), Point.Copy(), ThingGen.Create(), ReligionManager.Earth, ReligionManager.Element, EClass.game, ReligionManager.Harvest, ReligionManager.Healing, Element.id, ReligionEarth.id, ReligionElement.id, ReligionHarvest.id, ReligionHealing.id, ReligionLuck.id, ReligionMachine.id, ReligionMoonShadow.id, ReligionStrife.id, ReligionTrickery.id, ReligionWind.id, ReligionManager.Luck, ReligionManager.Machine, ReligionManager.MoonShadow, EClass.pc, Card.PlayEffect(), Card.pos, Game.religions, Point.Set(), ReligionManager.Strife, ReligionManager.Trickery, and ReligionManager.Wind.
Referenced by TraitAltar.OnOffer(), and TryGetGift().
|
inline |
Definition at line 145 of file Religion.cs.
References IsEyth, EClass.pc, EClass.rnd(), and Talk().
Referenced by Chara.Die(), Scene.Init(), ActPray.Pray(), and LayerSleep.Sleep().
|
inline |
Definition at line 77 of file Religion.cs.
References relation, and UIText.SetText().
Referenced by ContentFaction.RefreshFactions().
Definition at line 153 of file Religion.cs.
References Msg.colors, GetGodTalk(), IsEyth, 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(), and TryGetGift().
|
inline |
Definition at line 222 of file Religion.cs.
References EClass._zone, Zone.AddCard(), CharaGen.Create(), EClass.debug, CoreDebug.enable, Card.Evalue(), Point.GetNearestPoint(), giftRank, IsEyth, Chara.MakeAlly(), EClass.pc, Card.PlayEffect(), Card.pos, Reforge(), source, and Talk().
SourceReligion.Row Religion._source |
Definition at line 24 of file Religion.cs.
int Religion.giftRank |
Definition at line 17 of file Religion.cs.
Referenced by IsValidArtifact(), 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 Card.DamageHP(), 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 52 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(), ReligionManager.Find(), AI_Pray.GetAltar(), TraitGodStatue.OnChangeMaterial(), TraitAltar.OnCreate(), TraitAltar.OnImportMap(), TraitAltar.OnOffer(), FactionBranch.OnSimulateDay(), Person.Person(), 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 46 of file Religion.cs.
|
get |
Definition at line 44 of file Religion.cs.
Referenced by AI_Pray.GetAltar(), GetTextBenefit(), GetTextTemper(), JoinFaith(), LeaveFaith(), OnChangeHour(), FactionBranch.OnSimulateDay(), Revelation(), Talk(), TryGetGift(), and ActPray.TryPray().
|
get |
Definition at line 50 of file Religion.cs.
Referenced by ReligionManager.GetRandomReligion(), and ContentFaction.RefreshFactions().
|
get |
Definition at line 48 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 36 of file Religion.cs.
|
get |
Definition at line 34 of file Religion.cs.
Referenced by Chara.Die().
|
get |
Definition at line 32 of file Religion.cs.
Referenced by LayerFaith.AddReligion(), DramaActor.ConvertAdv(), GetOfferingValue(), FactionBranch.GetResidentTax(), GetSprite(), GetTextBenefit(), Init(), TraitAltar.SetDeity(), UIFactionInfo.SetReligion(), and TryGetGift().
|
get |
Definition at line 40 of file Religion.cs.
Referenced by TraitAltar._OnOffer(), and TraitAltar.OnOffer().
|
get |
Definition at line 42 of file Religion.cs.
Referenced by WidgetStatsBar.Build().
|
get |
Definition at line 38 of file Religion.cs.
Referenced by ContentFaction.RefreshFactions().