Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
GrowSystemPlant.cs
Go to the documentation of this file.
1
public
class
GrowSystemPlant
:
GrowSystem
2
{
3
public
bool
Bud
=> base.stage.idx == 0;
4
5
public
bool
Young
=> base.stage.idx == 1;
6
7
public
bool
Grown
=> base.stage.idx == 2;
8
9
public
bool
Mature
=> base.stage.idx == 3;
10
11
public
bool
Withered
=> base.stage.idx == 4;
12
13
public
override
void
OnMineObj
(
Chara
c =
null
)
14
{
15
TryPick
(
GrowSystem
.
cell
,
"grass"
,
EClass
.
sources
.
materials
.alias[
"grass"
].id,
EClass
.
rnd
(2));
16
base.OnMineObj(c);
17
}
18
}
Chara
Definition:
Chara.cs:10
EClass
Definition:
EClass.cs:5
EClass.rnd
static int rnd(int a)
Definition:
EClass.cs:50
EClass.sources
static SourceManager sources
Definition:
EClass.cs:42
GrowSystemPlant
Definition:
GrowSystemPlant.cs:2
GrowSystemPlant.Withered
bool Withered
Definition:
GrowSystemPlant.cs:11
GrowSystemPlant.OnMineObj
override void OnMineObj(Chara c=null)
Definition:
GrowSystemPlant.cs:13
GrowSystemPlant.Grown
bool Grown
Definition:
GrowSystemPlant.cs:7
GrowSystemPlant.Mature
bool Mature
Definition:
GrowSystemPlant.cs:9
GrowSystemPlant.Young
bool Young
Definition:
GrowSystemPlant.cs:5
GrowSystemPlant.Bud
bool Bud
Definition:
GrowSystemPlant.cs:3
GrowSystem
Definition:
GrowSystem.cs:4
GrowSystem.TryPick
void TryPick(Cell cell, Thing t, Chara c, bool applySeed=false)
Definition:
GrowSystem.cs:528
GrowSystem.cell
static Cell cell
Definition:
GrowSystem.cs:45
SourceManager.materials
SourceMaterial materials
Definition:
SourceManager.cs:38
Elin
GrowSystemPlant.cs
Generated by
1.9.6