Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
GrowSystemPlant.cs
Go to the documentation of this file.
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}
Definition: Chara.cs:10
Definition: EClass.cs:5
static int rnd(int a)
Definition: EClass.cs:50
static SourceManager sources
Definition: EClass.cs:42
override void OnMineObj(Chara c=null)
void TryPick(Cell cell, Thing t, Chara c, bool applySeed=false)
Definition: GrowSystem.cs:528
static Cell cell
Definition: GrowSystem.cs:45
SourceMaterial materials