Elin Decompiled Documentation EA 23.102 Nightly
|
Classes | |
class | Stage |
Public Member Functions | |
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 () |
Public Attributes | |
SourceObj.Row | source |
Stage[] | stages |
int[] | baseTiles |
int | harvestTile |
int | afterHarvestTile |
string | idHarvestThing |
Static Public Attributes | |
static SourceObj.Row[] | sourceSnowTree |
const int | DivStage = 30 |
static Cell | cell |
static Stage | currentStage |
![]() | |
static Core | core |
Protected Member Functions | |
virtual bool | IsHarvestStage (int idx) |
Properties | |
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] |
![]() | |
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] |
Additional Inherited Members | |
![]() | |
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) |
Definition at line 3 of file GrowSystem.cs.
|
inline |
Definition at line 663 of file GrowSystem.cs.
References EClass._map, EClass._zone, cell, Card.Evalue(), Element.id, Element.IsFoodTrait, Zone.IsUserZone, PlantData.seed, Map.TryGetPlant(), and Element.Value.
Referenced by PopHarvest(), and TryPick().
|
inlinevirtual |
Reimplemented in GrowSystemTree, and GrowSystemTreeCoralwood.
Definition at line 116 of file GrowSystem.cs.
|
inlinevirtual |
Reimplemented in GrowSystemTree, and GrowSystemTreeCoralwood.
Definition at line 111 of file GrowSystem.cs.
Referenced by Cell.Refresh().
|
inline |
Definition at line 264 of file GrowSystem.cs.
References EClass._map, VirtualDate.BuildSunMap(), cell, Cell.HasBlock, Cell.HasRoof, Cell.index, Map.IsIndoor, Date.IsWinter, NeedSunlight, source, Cell.sourceBlock, and VirtualDate.sunMap.
Referenced by TryGrow().
|
inline |
Definition at line 482 of file GrowSystem.cs.
References cell, GrowSystem.Stage.harvest, Cell.isHarvested, and stage.
Referenced by Cell.CanHarvest(), CanReapSeed(), Grow(), TaskHarvest.OnCreateProgress(), and Perish().
|
inlinevirtual |
Reimplemented in GrowSystemFlower, GrowSystemHerb, GrowSystemKinoko, GrowSystemPasture, and GrowSystemWeed.
Definition at line 491 of file GrowSystem.cs.
References CanHarvest().
Referenced by Cell.CanReapSeed().
|
inlinevirtual |
Definition at line 126 of file GrowSystem.cs.
Referenced by Init().
|
inline |
Definition at line 296 of file GrowSystem.cs.
References EClass._map, Card.encLV, Point.ForeachNeighbor(), Card.id, installed, Point.Installed, Card.refVal, seed, PlantData.seed, and Map.TryGetPlant().
Referenced by Grow().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in GrowSystemTree, GrowSystemTreeCoralwood, and GrowSystemTreeSingle.
Definition at line 184 of file GrowSystem.cs.
Referenced by OnRenderTileMap().
|
inlinevirtual |
Reimplemented in GrowSystemWheat.
Definition at line 121 of file GrowSystem.cs.
Referenced by TaskHarvest.OnCreateProgress().
|
inlinevirtual |
Reimplemented in GrowSystemDeco, GrowSystemTreeCoralwood, and GrowSystemWheat.
Definition at line 179 of file GrowSystem.cs.
References currentStage, and GrowSystem.Stage.tiles.
Referenced by OnRenderTileMap().
|
inline |
Definition at line 321 of file GrowSystem.cs.
References EClass._map, EClass._zone, Zone.AddCard(), AutoMineStage, CanHarvest(), cell, EqualizePlants(), Cell.GetPoint(), HarvestStage, Card.Install(), Player.isAutoFarming, OnExceedLastStage(), OnReachNextStage(), EClass.player, PopHarvest(), PopMineObj(), Cell.Refresh(), Map.RefreshFOV(), Point.SetObj(), source, StageLength, Step, Map.TryGetPlant(), TryPopSeed(), PlantData.water, Cell.x, and Cell.z.
Referenced by ActionMode.RotateUnderMouse(), and TryGrow().
|
inline |
Definition at line 436 of file GrowSystem.cs.
References HarvestStage.
|
inline |
Definition at line 599 of file GrowSystem.cs.
References PopHarvest().
Referenced by TaskHarvest.OnCreateProgress().
|
inline |
Definition at line 131 of file GrowSystem.cs.
References baseTiles, RenderData.ConvertTile(), CreateStage(), harvestTile, idHarvestThing, IsHarvestStage(), RenderHarvest, SetGenericFirstStageTile(), SetStageTile(), source, stage, StageLength, stages, and UseGenericFirstStageTile.
Referenced by SourceObj.Row.OnInit().
|
inlineprotectedvirtual |
Definition at line 106 of file GrowSystem.cs.
References HarvestStage.
Referenced by Init(), and GrowSystemWheat.OnMineObj().
|
inline |
Definition at line 101 of file GrowSystem.cs.
References StageLength.
Referenced by Cell.CanMakeStraw().
|
inline |
Definition at line 473 of file GrowSystem.cs.
References GrowSystem.Stage.idx, stage, StageLength, and WitherOnLastStage.
Referenced by OnMineObj(), GrowSystemPasture.OnMineObj(), GrowSystemWheat.OnMineObj(), and TryPopSeed().
|
inlinevirtual |
Reimplemented in GrowSystemDeco, and GrowSystemKinoko.
Definition at line 386 of file GrowSystem.cs.
References Cell.CanGrowWeed, CanRegrow, cell, Point.cell, Cell.GetPoint(), Point.GetRandomNeighbor(), Cell.HasLiquid, Point.IsFarmField, Cell.obj, Rand.rnd(), Point.SetObj(), and stages.
Referenced by Grow().
|
inlinevirtual |
Definition at line 496 of file GrowSystem.cs.
|
inlinevirtual |
Reimplemented in GrowSystemTree.
Definition at line 500 of file GrowSystem.cs.
Referenced by TaskHarvest.OnCreateProgress().
|
inlinevirtual |
Reimplemented in GrowSystemBerry, GrowSystemCactus, GrowSystemCrop, GrowSystemFlower, GrowSystemHerb, GrowSystemKinoko, GrowSystemPasture, GrowSystemPlant, GrowSystemTree, GrowSystemWeed, and GrowSystemWheat.
Definition at line 518 of file GrowSystem.cs.
References cell, ThingGen.Create(), IsWithered(), Cell.matObj_fixed, Cell.sourceObj, and TryPick().
Referenced by PopMineObj().
|
inline |
Definition at line 504 of file GrowSystem.cs.
References EClass._map, cell, Cell.GetPoint(), and Map.MineObj().
Referenced by TaskHarvest.OnCreateProgress().
|
inlinevirtual |
Definition at line 381 of file GrowSystem.cs.
References cell, Cell.objVal, and SetStage().
Referenced by Grow().
|
inlinevirtual |
Definition at line 189 of file GrowSystem.cs.
References MeshPass.AddShadow(), afterHarvestTile, cell, currentStage, RenderData.Draw(), DrawHarvestOnTop, GetShadow(), GetStageTile(), GrowSystem.Stage.harvest, harvestTile, Cell.ignoreObjShadow, ShadowData.Instance, Cell.isHarvested, ShadowData.items, RenderData.offsetShadow, BaseTileMap.passShadow, RenderRow.pref, GrowSystem.Stage.renderData, RenderRow.renderData, RenderHarvest, EClass.screen, SourcePref.shadow, ShadowStage, MeshPassParam.snow, source, stages, BaseGameScreen.tileMap, UseGenericFirstStageTile, MeshPassParam.x, MeshPassParam.y, SourcePref.y, MeshPassParam.z, and SourcePref.z.
Referenced by BaseTileMap.DrawTile(), and TileMapElona.DrawTile().
|
inlinevirtual |
Reimplemented in GrowSystemTreeCoralwood.
Definition at line 260 of file GrowSystem.cs.
Referenced by Map.SetObj().
|
inlinevirtual |
|
inline |
Definition at line 441 of file GrowSystem.cs.
References EClass._map, EClass._zone, Zone.AddCard(), CanHarvest(), cell, Cell.GetPoint(), GrowSystem.Stage.idx, Card.Install(), Player.isAutoFarming, EClass.player, PopHarvest(), EClass.rnd(), Map.SetObj(), SetStage(), stage, StageLength, TryPopSeed(), WitherOnLastStage, Cell.x, and Cell.z.
|
inline |
Definition at line 606 of file GrowSystem.cs.
References ThingGen.Create(), and PopHarvest().
Referenced by Grow(), Harvest(), GrowSystemFlower.OnMineObj(), GrowSystemHerb.OnMineObj(), GrowSystemKinoko.OnMineObj(), GrowSystemPasture.OnMineObj(), GrowSystemTree.OnMineObj(), GrowSystemWeed.OnMineObj(), Perish(), and PopHarvest().
Definition at line 611 of file GrowSystem.cs.
References EClass._map, EClass._zone, ApplySeed(), cell, ThingGen.Create(), ThingGen.CreateFromCategory(), Player.Stats.days, Debug, Cell.GetObjName(), Zone.GetSoilCost(), idHarvestThing, Player.isAutoFarming, Zone.MaxSoil, Chara.Pick(), EClass.player, EClass.rnd(), Card.Say(), PlantData.size, source, Player.stats, Map.TryGetPlant(), and TryPick().
|
inline |
Definition at line 509 of file GrowSystem.cs.
References EClass._zone, GamePrincipal.disableUsermapBenefit, EClass.game, Zone.IsUserZone, OnMineObj(), Game.principal, and TryPopSeed().
Referenced by Grow(), and Map.MineObj().
|
inline |
Definition at line 255 of file GrowSystem.cs.
References DefaultStage.
Referenced by Recipe.Build().
|
inlinevirtual |
Reimplemented in GrowSystemTree.
Definition at line 167 of file GrowSystem.cs.
References EClass.core, CoreRef.Renderers.objS_flat, Core.refs, CoreRef.renderers, and GrowSystem.Stage.SetTile().
Referenced by Init().
|
inline |
Definition at line 241 of file GrowSystem.cs.
References EClass.rnd(), Rand.rnd(), and stages.
Referenced by BiomeProfile.ClusterObj.TryCreate().
|
inline |
Definition at line 413 of file GrowSystem.cs.
References cell, Cell.HasLiquid, OnSetStage(), and Cell.sourceObj.
Referenced by GrowSystemDeco.OnExceedLastStage(), GrowSystemKinoko.OnExceedLastStage(), OnReachNextStage(), and Perish().
|
inlinevirtual |
Reimplemented in GrowSystemTree, and GrowSystemTreeSingle.
Definition at line 173 of file GrowSystem.cs.
References baseTiles, GrowSystem.Stage.idx, GrowSystem.Stage.SetTile(), source, and UseGenericFirstStageTile.
Referenced by Init().
|
inline |
Definition at line 288 of file GrowSystem.cs.
References CanGrow(), and Grow().
Referenced by TraitFertilizer.OnSimulateHour(), and Cell.TryGrow().
|
inline |
Definition at line 558 of file GrowSystem.cs.
References cell, ThingGen.Create(), EClass.pc, Card.SetNum(), and TryPick().
Definition at line 528 of file GrowSystem.cs.
References EClass._map, EClass._zone, Card.AddCard(), ApplySeed(), Game.cards, cell, CardManager.container_shipping, EClass.game, Player.isAutoFarming, Card.Num, EClass.player, EClass.rnd(), Card.SetNum(), Zone.TryAddThingInSharedContainer(), and Map.TrySmoothPick().
Referenced by OnMineObj(), GrowSystemBerry.OnMineObj(), GrowSystemCactus.OnMineObj(), GrowSystemCrop.OnMineObj(), GrowSystemFlower.OnMineObj(), GrowSystemHerb.OnMineObj(), GrowSystemPlant.OnMineObj(), GrowSystemTree.OnMineObj(), GrowSystemWheat.OnMineObj(), PopHarvest(), TryPick(), and TryPopSeed().
Definition at line 566 of file GrowSystem.cs.
References EClass._map, EClass._zone, cell, GamePrincipal.disableUsermapBenefit, EClass.game, Zone.GetSoilCost(), Player.isAutoFarming, Zone.IsUserZone, IsWithered(), TraitSeed.MakeSeed(), Zone.MaxSoil, EClass.player, Game.principal, EClass.rnd(), source, Map.TryGetPlant(), and TryPick().
Referenced by Grow(), Perish(), and PopMineObj().
int GrowSystem.afterHarvestTile |
Definition at line 57 of file GrowSystem.cs.
Referenced by OnRenderTileMap().
int [] GrowSystem.baseTiles |
Definition at line 53 of file GrowSystem.cs.
Referenced by Init(), SetStageTile(), GrowSystemTree.SetStageTile(), and GrowSystemTreeSingle.SetStageTile().
|
static |
Definition at line 45 of file GrowSystem.cs.
Referenced by ApplySeed(), CanGrow(), CanHarvest(), GrowSystemWheat.GetStageTile(), Grow(), OnExceedLastStage(), GrowSystemTree.OnHitFail(), OnMineObj(), GrowSystemBerry.OnMineObj(), GrowSystemCactus.OnMineObj(), GrowSystemCrop.OnMineObj(), GrowSystemFlower.OnMineObj(), GrowSystemHerb.OnMineObj(), GrowSystemPasture.OnMineObj(), GrowSystemPlant.OnMineObj(), GrowSystemTree.OnMineObj(), GrowSystemWheat.OnMineObj(), OnProgressComplete(), OnReachNextStage(), OnRenderTileMap(), Perish(), PopHarvest(), SetStage(), TryPick(), and TryPopSeed().
|
static |
Definition at line 47 of file GrowSystem.cs.
Referenced by GetStageTile(), GrowSystemWheat.GetStageTile(), and OnRenderTileMap().
|
static |
Definition at line 43 of file GrowSystem.cs.
int GrowSystem.harvestTile |
Definition at line 55 of file GrowSystem.cs.
Referenced by GrowSystemWheat.GetStageTile(), Init(), and OnRenderTileMap().
string GrowSystem.idHarvestThing |
Definition at line 59 of file GrowSystem.cs.
Referenced by Init(), GrowSystemFlower.OnMineObj(), GrowSystemHerb.OnMineObj(), and PopHarvest().
SourceObj.Row GrowSystem.source |
Definition at line 49 of file GrowSystem.cs.
Referenced by CanGrow(), GetHp(), GrowSystemTree.GetShadow(), GrowSystemWheat.GetSoundProgress(), GrowSystemDeco.GetStageTile(), GrowSystemTreeCoralwood.GetStageTile(), Grow(), Init(), GrowSystemCrop.OnMineObj(), OnRenderTileMap(), GrowSystemTreeCoralwood.OnSetObj(), PopHarvest(), SetStageTile(), GrowSystemTree.SetStageTile(), GrowSystemTreeSingle.SetStageTile(), and TryPopSeed().
|
static |
Definition at line 37 of file GrowSystem.cs.
Stage [] GrowSystem.stages |
Definition at line 51 of file GrowSystem.cs.
Referenced by Init(), OnExceedLastStage(), OnRenderTileMap(), and SetRandomStage().
|
get |
Definition at line 95 of file GrowSystem.cs.
Referenced by TaskHarvest.OnCreateProgress().
|
get |
Definition at line 71 of file GrowSystem.cs.
Referenced by Grow().
|
get |
Definition at line 83 of file GrowSystem.cs.
|
getprotected |
Definition at line 81 of file GrowSystem.cs.
Referenced by OnExceedLastStage().
|
get |
Definition at line 67 of file GrowSystem.cs.
Referenced by SetDefaultStage().
|
getprotected |
Definition at line 75 of file GrowSystem.cs.
Referenced by OnRenderTileMap().
|
getprotected |
Definition at line 73 of file GrowSystem.cs.
|
get |
Definition at line 69 of file GrowSystem.cs.
Referenced by Grow(), HaltGrowth(), and IsHarvestStage().
|
get |
Definition at line 89 of file GrowSystem.cs.
|
get |
Definition at line 99 of file GrowSystem.cs.
Referenced by Map.AddBackerTree(), BaseTileMap.DrawTile(), Zone.GetElectricity(), and Zone.RefreshElectricity().
|
get |
Definition at line 87 of file GrowSystem.cs.
Referenced by Map.AddBackerTree(), Point.ForeachNearestPoint(), AIWork_Lumberjack.FuncWorkPoint(), Point.GetNearestPoint(), AIWork_Lumberjack.GetWork(), and Map.MineObj().
|
get |
Definition at line 91 of file GrowSystem.cs.
|
get |
Definition at line 93 of file GrowSystem.cs.
Referenced by CanGrow(), and Zone.GrowPlants().
|
get |
Definition at line 61 of file GrowSystem.cs.
Referenced by Init(), and OnRenderTileMap().
|
get |
Definition at line 85 of file GrowSystem.cs.
Referenced by OnRenderTileMap().
|
get |
Definition at line 97 of file GrowSystem.cs.
Referenced by CanHarvest(), Zone.GrowPlants(), Init(), IsWithered(), and Perish().
|
get |
Definition at line 65 of file GrowSystem.cs.
Referenced by GrowSystemWheat.GetStageTile(), Grow(), Init(), IsLastStage(), IsWithered(), and Perish().
|
get |
Definition at line 63 of file GrowSystem.cs.
Referenced by Grow().
|
getprotected |
Definition at line 77 of file GrowSystem.cs.
Referenced by Init(), OnRenderTileMap(), and SetStageTile().
|
getprotected |
Definition at line 79 of file GrowSystem.cs.
Referenced by IsWithered(), and Perish().