Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
GrowSystemCrop.cs
Go to the documentation of this file.
2{
3 public override bool IsCrimeToHarvest => true;
4
5 public override int HarvestStage => 3;
6
7 public override void OnMineObj(Chara c = null)
8 {
9 if (source.alias == "grape" && (base.stage.idx == 2 || base.stage.idx == 3))
10 {
11 TryPick(GrowSystem.cell, "vine");
12 }
13 base.OnMineObj(c);
14 }
15}
Definition: Chara.cs:10
override int HarvestStage
override bool IsCrimeToHarvest
override void OnMineObj(Chara c=null)
void TryPick(Cell cell, Thing t, Chara c, bool applySeed=false)
Definition: GrowSystem.cs:528
SourceObj.Row source
Definition: GrowSystem.cs:49
static Cell cell
Definition: GrowSystem.cs:45