Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
TraitFollower.cs
Go to the documentation of this file.
2{
3 public override void OnCreate(int lv)
4 {
5 base.owner.SetFaith(EClass.game.religions.dictAll.RandomItem());
6 }
7
8 public override void SetName(ref string s)
9 {
10 s = "_of".lang(base.owner.faith.Name, s);
11 }
12}
Definition: EClass.cs:5
static Game game
Definition: EClass.cs:8
ReligionManager religions
Definition: Game.cs:158
Dictionary< string, Religion > dictAll
override void OnCreate(int lv)
Definition: TraitFollower.cs:3
override void SetName(ref string s)
Definition: TraitFollower.cs:8