Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
TraitFollower.cs
Go to the documentation of this file.
1
public
class
TraitFollower
:
TraitChara
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
}
EClass
Definition:
EClass.cs:5
EClass.game
static Game game
Definition:
EClass.cs:8
Game.religions
ReligionManager religions
Definition:
Game.cs:158
ReligionManager.dictAll
Dictionary< string, Religion > dictAll
Definition:
ReligionManager.cs:7
TraitChara
Definition:
TraitChara.cs:4
TraitFollower
Definition:
TraitFollower.cs:2
TraitFollower.OnCreate
override void OnCreate(int lv)
Definition:
TraitFollower.cs:3
TraitFollower.SetName
override void SetName(ref string s)
Definition:
TraitFollower.cs:8
Elin
TraitFollower.cs
Generated by
1.9.6