Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
GrowSystemTreeCoralwood Class Reference
Inheritance diagram for GrowSystemTreeCoralwood:
GrowSystemTreeSingle GrowSystemTree GrowSystem EClass

Public Member Functions

override int GetShadow (int index)
 
override bool BlockPass (Cell cell)
 
override bool BlockSight (Cell cell)
 
override void OnSetObj ()
 
override int GetStageTile ()
 
- Public Member Functions inherited from GrowSystemTreeSingle
override int GetShadow (int index)
 
override void SetStageTile (Stage s)
 
- Public Member Functions inherited from GrowSystemTree
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)
 
- Public Member Functions inherited from GrowSystem
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 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from EClass
static int rnd (int a)
 
static int curve (int a, int start, int step, int rate=75)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 
- Public Attributes inherited from GrowSystem
SourceObj.Row source
 
Stage[] stages
 
int[] baseTiles
 
int harvestTile
 
int afterHarvestTile
 
string idHarvestThing
 
- Static Public Attributes inherited from GrowSystemTree
static int[] shadows = new int[8] { 31, 31, 32, 33, 34, 1, 1, 1 }
 
- Static Public Attributes inherited from GrowSystem
static SourceObj.Row[] sourceSnowTree
 
const int DivStage = 30
 
static Cell cell
 
static Stage currentStage
 
- Static Public Attributes inherited from EClass
static Core core
 
- Protected Member Functions inherited from GrowSystem
virtual bool IsHarvestStage (int idx)
 
- Properties inherited from GrowSystemTree
override RenderData RenderHarvest [get]
 
override int Step [get]
 
override int StageLength [get]
 
override float MtpProgress [get]
 
override int HarvestStage [get]
 
override bool DrawHarvestOnTop [get]
 
override bool IsMature [get]
 
override bool IsTree [get]
 
override int ShadowStage [get]
 
bool Bud [get]
 
bool Baby [get]
 
bool Young [get]
 
bool Grown [get]
 
bool Mature [get]
 
bool Withered [get]
 
bool IsPalulu [get]
 
bool IsBamboo [get]
 
override bool UseGenericFirstStageTile [get]
 
- Properties inherited from GrowSystem
virtual RenderData RenderHarvest [get]
 
virtual int Step [get]
 
virtual int StageLength [get]
 
virtual int DefaultStage [get]
 
virtual int HarvestStage [get]
 
virtual int AutoMineStage [get]
 
virtual int HaltStage [get]
 
virtual bool DrawHarvestOnTop [get]
 
virtual bool UseGenericFirstStageTile [get]
 
virtual bool WitherOnLastStage [get]
 
virtual bool CanRegrow [get]
 
virtual bool CanLevelSeed [get]
 
virtual int ShadowStage [get]
 
virtual bool IsTree [get]
 
virtual bool IsCrimeToHarvest [get]
 
virtual float MtpProgress [get]
 
virtual bool NeedSunlight [get]
 
virtual AnimeID AnimeProgress [get]
 
Stage stage [get]
 
virtual bool IsMature [get]
 
- Properties inherited from EClass
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Faction Wilds [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Detailed Description

Definition at line 3 of file GrowSystemTreeCoralwood.cs.

Member Function Documentation

◆ BlockPass()

override bool GrowSystemTreeCoralwood.BlockPass ( Cell  cell)
inlinevirtual

Reimplemented from GrowSystemTree.

Definition at line 10 of file GrowSystemTreeCoralwood.cs.

11 {
12 return true;
13 }

◆ BlockSight()

override bool GrowSystemTreeCoralwood.BlockSight ( Cell  cell)
inlinevirtual

Reimplemented from GrowSystemTree.

Definition at line 15 of file GrowSystemTreeCoralwood.cs.

16 {
17 return true;
18 }

◆ GetShadow()

override int GrowSystemTreeCoralwood.GetShadow ( int  index)
inlinevirtual

Reimplemented from GrowSystemTree.

Definition at line 5 of file GrowSystemTreeCoralwood.cs.

6 {
7 return 34;
8 }

◆ GetStageTile()

override int GrowSystemTreeCoralwood.GetStageTile ( )
inlinevirtual

Reimplemented from GrowSystem.

Definition at line 27 of file GrowSystemTreeCoralwood.cs.

28 {
29 return source._tiles[GrowSystem.cell.objDir % source._tiles.Length];
30 }
SourceObj.Row source
Definition: GrowSystem.cs:49

References GrowSystem.source.

◆ OnSetObj()

override void GrowSystemTreeCoralwood.OnSetObj ( )
inlinevirtual

Reimplemented from GrowSystem.

Definition at line 20 of file GrowSystemTreeCoralwood.cs.

21 {
22 GrowSystem.cell.isObjDyed = true;
23 GrowSystem.cell.objDir = EClass.rnd(source.tiles.Length);
24 GrowSystem.cell.objMat = (byte)EClass.sources.materials.rows.Where((SourceMaterial.Row r) => r.tag.Contains("coral")).RandomItem().id;
25 }
Definition: EClass.cs:5
static int rnd(int a)
Definition: EClass.cs:50
static SourceManager sources
Definition: EClass.cs:42
SourceMaterial materials

References SourceManager.materials, EClass.rnd(), GrowSystem.source, and EClass.sources.


The documentation for this class was generated from the following file: