|
override bool | BlockPass (Cell cell) |
|
override bool | BlockSight (Cell cell) |
|
override int | GetShadow (int index) |
|
override void | SetGenericFirstStageTile (Stage s) |
|
override void | SetStageTile (Stage s) |
|
override void | OnHitFail (Chara c) |
|
override int | GetHp () |
|
int | GetPlantBonus (PlantData plant) |
|
override void | OnMineObj (Chara c=null) |
|
bool | IsLastStage () |
|
virtual bool | BlockSight (Cell cell) |
|
virtual bool | BlockPass (Cell cell) |
|
virtual string | GetSoundProgress () |
|
virtual Stage | CreateStage () |
|
void | Init (SourceObj.Row _row) |
|
virtual void | SetGenericFirstStageTile (Stage s) |
|
virtual void | SetStageTile (Stage s) |
|
virtual int | GetStageTile () |
|
virtual int | GetShadow (int index) |
|
virtual void | OnRenderTileMap (RenderParam p) |
|
void | SetRandomStage () |
|
void | SetDefaultStage () |
|
virtual void | OnSetObj () |
|
bool | CanGrow (VirtualDate date) |
|
void | TryGrow (VirtualDate date) |
|
void | EqualizePlants (Point pos) |
|
void | Grow (int mtp=1) |
|
virtual void | OnReachNextStage () |
|
virtual void | OnExceedLastStage () |
|
void | SetStage (int idx, bool renewHarvest=false) |
|
virtual void | OnSetStage (int idx) |
|
bool | HaltGrowth () |
|
void | Perish () |
|
bool | IsWithered () |
|
bool | CanHarvest () |
|
virtual bool | CanReapSeed () |
|
virtual void | OnHit (Chara c) |
|
virtual void | OnHitFail (Chara c) |
|
void | OnProgressComplete (Chara c) |
|
void | PopMineObj (Chara c=null) |
|
virtual void | OnMineObj (Chara c=null) |
|
void | TryPick (Cell cell, Thing t, Chara c, bool applySeed=false) |
|
void | TryPick (Cell cell, string idThing, int idMat=-1, int num=1, bool applySeed=false) |
|
Thing | TryPopSeed (Chara c) |
|
void | Harvest (Chara c) |
|
void | PopHarvest (Chara c, string idThing, int num=-1) |
|
void | PopHarvest (Chara c, Thing t=null, int num=-1) |
|
void | ApplySeed (Thing t) |
|
virtual int | GetHp () |
|
Definition at line 3 of file GrowSystemTree.cs.
◆ BlockPass()
override bool GrowSystemTree.BlockPass |
( |
Cell |
cell | ) |
|
|
inlinevirtual |
◆ BlockSight()
override bool GrowSystemTree.BlockSight |
( |
Cell |
cell | ) |
|
|
inlinevirtual |
◆ GetHp()
override int GrowSystemTree.GetHp |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from GrowSystem.
Definition at line 113 of file GrowSystemTree.cs.
114 {
116 {
117 return (int)((float)base.GetHp() * 1.5f);
118 }
119 return (int)((float)base.GetHp() * 0.5f);
120 }
override int HarvestStage
References HarvestStage.
◆ GetPlantBonus()
int GrowSystemTree.GetPlantBonus |
( |
PlantData |
plant | ) |
|
|
inline |
◆ GetShadow()
override int GrowSystemTree.GetShadow |
( |
int |
index | ) |
|
|
inlinevirtual |
◆ OnHitFail()
override void GrowSystemTree.OnHitFail |
( |
Chara |
c | ) |
|
|
inlinevirtual |
Reimplemented from GrowSystem.
Definition at line 102 of file GrowSystemTree.cs.
103 {
105 {
109 c.
Say(
"mobFromTree", chara);
110 }
111 }
void PlayAnime(AnimeID id, bool force)
void Say(string lang, string ref1=null, string ref2=null)
static Chara Create(string id, int lv=-1)
Point GetNearestPoint(bool allowBlock=false, bool allowChara=true, bool allowInstalled=true, bool ignoreCenter=false)
Card AddCard(Card t, Point point)
References EClass._zone, Zone.AddCard(), GrowSystem.cell, CharaGen.Create(), Point.GetNearestPoint(), Cell.GetPoint(), Grown, Mature, CardRenderer.PlayAnime(), Card.renderer, Card.Say(), Withered, and Young.
◆ OnMineObj()
override void GrowSystemTree.OnMineObj |
( |
Chara |
c = null | ) |
|
|
inlinevirtual |
Reimplemented from GrowSystem.
Definition at line 136 of file GrowSystemTree.cs.
137 {
142 {
144 {
146 }
148 {
150 }
152 return;
153 }
155 {
157 {
159 }
162 {
164 }
166 return;
167 }
169 {
174 {
176 {
178 }
180 {
182 }
183 }
184 return;
185 }
189 {
192 {
194 }
195 }
196 int PlantBonus()
197 {
199 }
200 }
SourceMaterial.Row matObj_fixed
int GetPlantBonus(PlantData plant)
void TryPick(Cell cell, Thing t, Chara c, bool applySeed=false)
void PopHarvest(Chara c, string idThing, int num=-1)
PlantData TryGetPlant(Point p)
static Thing MakeSeed(SourceObj.Row obj, PlantData plant=null)
References EClass._map, Baby, Bud, GrowSystem.cell, GetPlantBonus(), Cell.GetPoint(), Grown, Player.isAutoFarming, IsBamboo, Point.IsFarmField, IsPalulu, TraitSeed.MakeSeed(), Cell.matObj_fixed, Mature, EClass.player, GrowSystem.PopHarvest(), EClass.rnd(), Card.SetNum(), Cell.sourceObj, Point.sourceObj, Map.TryGetPlant(), GrowSystem.TryPick(), and Young.
◆ SetGenericFirstStageTile()
override void GrowSystemTree.SetGenericFirstStageTile |
( |
Stage |
s | ) |
|
|
inlinevirtual |
◆ SetStageTile()
override void GrowSystemTree.SetStageTile |
( |
Stage |
s | ) |
|
|
inlinevirtual |
◆ shadows
int [] GrowSystemTree.shadows = new int[8] { 31, 31, 32, 33, 34, 1, 1, 1 } |
|
static |
◆ Baby
◆ Bud
◆ DrawHarvestOnTop
override bool GrowSystemTree.DrawHarvestOnTop |
|
getprotected |
◆ Grown
bool GrowSystemTree.Grown |
|
get |
◆ HarvestStage
override int GrowSystemTree.HarvestStage |
|
get |
◆ IsBamboo
bool GrowSystemTree.IsBamboo |
|
get |
◆ IsMature
override bool GrowSystemTree.IsMature |
|
get |
Definition at line 37 of file GrowSystemTree.cs.
38 {
39 get
40 {
42 {
44 }
45 return true;
46 }
47 }
◆ IsPalulu
bool GrowSystemTree.IsPalulu |
|
get |
◆ IsTree
override bool GrowSystemTree.IsTree |
|
get |
◆ Mature
bool GrowSystemTree.Mature |
|
get |
◆ MtpProgress
override float GrowSystemTree.MtpProgress |
|
get |
Definition at line 13 of file GrowSystemTree.cs.
14 {
15 get
16 {
18 {
20 {
22 {
23 return 1f;
24 }
25 return 3f;
26 }
27 return 2f;
28 }
29 return 0.5f;
30 }
31 }
◆ RenderHarvest
◆ ShadowStage
override int GrowSystemTree.ShadowStage |
|
get |
◆ StageLength
override int GrowSystemTree.StageLength |
|
get |
◆ Step
override int GrowSystemTree.Step |
|
get |
◆ UseGenericFirstStageTile
override bool GrowSystemTree.UseGenericFirstStageTile |
|
getprotected |
◆ Withered
bool GrowSystemTree.Withered |
|
get |
◆ Young
bool GrowSystemTree.Young |
|
get |
The documentation for this class was generated from the following file: