Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
GrowSystemCrop.cs
Go to the documentation of this file.
1
public
class
GrowSystemCrop
:
GrowSystem
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
}
Chara
Definition:
Chara.cs:10
GrowSystemCrop
Definition:
GrowSystemCrop.cs:2
GrowSystemCrop.HarvestStage
override int HarvestStage
Definition:
GrowSystemCrop.cs:5
GrowSystemCrop.IsCrimeToHarvest
override bool IsCrimeToHarvest
Definition:
GrowSystemCrop.cs:3
GrowSystemCrop.OnMineObj
override void OnMineObj(Chara c=null)
Definition:
GrowSystemCrop.cs:7
GrowSystem
Definition:
GrowSystem.cs:4
GrowSystem.TryPick
void TryPick(Cell cell, Thing t, Chara c, bool applySeed=false)
Definition:
GrowSystem.cs:528
GrowSystem.source
SourceObj.Row source
Definition:
GrowSystem.cs:49
GrowSystem.cell
static Cell cell
Definition:
GrowSystem.cs:45
Elin
GrowSystemCrop.cs
Generated by
1.9.6