Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
override bool | CanManualCancel () |
override string | GetBaseText (string str) |
override string | GetTextSmall (Card c) |
override bool | CanProgress () |
override HitResult | GetHitResult () |
override void | OnCreateProgress (Progress_Custom p) |
string | GetIdDismantled () |
bool | ShouldGenerateDismantled (string dest) |
bool | HaveHarvestThing () |
void | HarvestThing () |
![]() | |
virtual string | GetBaseText (string str) |
override string | GetTextSmall (Card c) |
override string | GetText (string str="") |
void | SetTarget (Chara c, Thing _tool=null) |
int | GetToolEfficiency (Thing t, SourceMaterial.Row mat) |
override bool | CanProgress () |
int[] | GetToolEfficiency (SourceMaterial.Row mat) |
string | GetTextDifficulty () |
![]() | |
virtual string | GetTextOrbit () |
bool | PointHasOtherDesignation () |
virtual void | DrawMarker (int x, int z, RenderParam p) |
virtual void | Draw (int x, int z, RenderParam p) |
virtual void | OnEnterScreen () |
virtual void | OnLeaveScreen () |
virtual void | TrySpawnOrbit () |
void | DespawnOrbit () |
![]() | |
override bool | CanManualCancel () |
override bool | CanPerform () |
override bool | _CanPerformTask (Chara chara, int radius) |
override IEnumerable< Status > | Run () |
void | OnInspect () |
void | WriteNote (UINote n, Action< UINote > onWriteNote=null, IInspect.NoteMode mode=IInspect.NoteMode.Default, Recipe recipe=null) |
![]() | |
virtual HitResult | GetHitResult () |
override void | OnSuccess () |
void | TryLater (int min=30) |
Status | Destroy () |
virtual void | OnDestroy () |
override Status | Cancel () |
override void | OnReset () |
override bool | CanProgress () |
bool | CanPerformTask (Chara chara, int radius) |
virtual bool | _CanPerformTask (Chara chara, int radius) |
virtual void | OnAdd () |
void | ToggleSuspend () |
![]() | |
override string | ToString () |
override MultiSprite | GetStateIcon () |
virtual bool | ShouldAllyAttack (Chara tg) |
virtual Point | GetDestination () |
AIProgress | GetProgress () |
string | GetCurrentActionText () |
override bool | IsToolValid () |
virtual void | OnStart () |
void | SetOwner (Chara c) |
virtual void | OnSetOwner () |
void | SetChild (AIAct seq, Func< Status > _onChildFail=null) |
void | Start () |
override bool | Perform () |
Status | Restart () |
Status | Success (Action action=null) |
virtual void | OnSuccess () |
bool | TryCancel (Card c) |
virtual Status | Cancel () |
virtual void | OnCancel () |
virtual void | OnCancelOrSuccess () |
virtual bool | CanManualCancel () |
Status | KeepRunning () |
void | Reset () |
virtual void | OnReset () |
Status | Tick () |
virtual IEnumerable< Status > | Run () |
Status | TickChild () |
Status | Do (AIAct _seq, Func< Status > _onChildFail=null) |
Status | DoGotoInteraction (Point pos, Func< Status > _onChildFail=null) |
Status | DoGoto (Point pos, int dist=0, bool ignoreConnection=false, Func< Status > _onChildFail=null) |
Status | DoGoto (Card card, Func< Status > _onChildFail=null) |
Status | DoGoto (Card card, int dist, Func< Status > _onChildFail=null) |
Status | DoGotoSpot (Card card, Func< Status > _onChildFail=null) |
Status | DoGoto< T > (Func< Status > _onChildFail=null) |
Status | DoGotoSpot< T > (Func< Status > _onChildFail=null, bool ignoreAccessType=false) |
Status | DoGrab (Card card, int num=-1, bool pickHeld=false, Func< Status > _onChildFail=null) |
Status | DoGrab< T > () |
Status | DoProgress () |
Status | DoIdle (int repeat=3) |
Status | DoWait (int count=1) |
virtual AIProgress | CreateProgress () |
virtual void | OnCreateProgress (Progress_Custom p) |
virtual bool | CanProgress () |
virtual void | OnBeforeProgress () |
virtual void | OnProgress () |
virtual void | OnProgressComplete () |
void | SimulateZone (int days) |
virtual void | OnSimulateZone (int days) |
virtual void | OnSimulatePosition () |
![]() | |
virtual CursorInfo | GetCursorIcon (Card c) |
virtual MultiSprite | GetStateIcon () |
override Sprite | GetSprite () |
virtual bool | ShowMouseHint (Card c) |
virtual bool | IsValidTC (Card c) |
virtual string | GetHintText (string str="") |
virtual string | GetText (string str="") |
virtual string | GetTextSmall (Card c) |
bool | IsTargetHostileParty () |
virtual Color | GetActPlanColor () |
virtual bool | Perform () |
virtual bool | CanPerform () |
bool | Perform (Chara _cc, Card _tc=null, Point _tp=null) |
bool | CanPerform (Chara _cc, Card _tc=null, Point _tp=null) |
virtual bool | IsToolValid () |
new void | SetImage (Image image) |
virtual void | OnMarkMapHighlights () |
virtual bool | ShouldMapHighlight (Point p) |
![]() | |
virtual SourceElement.Row | GetSource () |
virtual int | GetSourcePotential (int v) |
virtual Sprite | GetSprite () |
int | GetMaterialSourceValue (Thing t, int v) |
virtual int | GetSourceValue (int v, int lv, SourceValueType type) |
virtual Sprite | GetIcon (string suffix="") |
bool | IsActive (Card c) |
int | SortVal (bool charaSheet=false) |
virtual bool | CanLink (ElementContainer owner) |
bool | HasTag (string tag) |
void | SetImage (Image i) |
virtual string | GetDetail () |
bool | IsFactionElement (Chara c) |
Element | GetParent (Card c) |
void | WriteNote (UINote n, ElementContainer owner=null, Action< UINote > onWriteNote=null) |
void | WriteNoteWithRef (UINote n, ElementContainer owner, Action< UINote > onWriteNote, Element refEle) |
void | _WriteNote (UINote n, Chara c, Act act) |
void | AddHeaderAbility (UINote n) |
void | _WriteNote (UINote n, ElementContainer owner, Action< UINote > onWriteNote, bool isRef, bool addHeader=true) |
virtual void | OnWriteNote (UINote n, ElementContainer owner) |
virtual void | OnChangeValue () |
void | CheckLevelBonus (ElementContainer owner, UINote n=null) |
int | GetSortVal (UIList.SortMode m) |
virtual Act.Cost | GetCost (Chara c) |
virtual int | GetPower (Card c) |
virtual void | SetTextValue (UIText text) |
virtual bool | IsPurchaseFeatReqMet (ElementContainer owner, int lv=-1) |
virtual void | WritePurchaseReq (UINote n, int lv=1) |
void | WriteNote (UINote n, Action< UINote > onWriteNote=null, NoteMode mode=NoteMode.Default, Recipe recipe=null) |
void | OnInspect () |
void | OnEnterScreen () |
void | OnLeaveScreen () |
Static Public Member Functions | |
static TaskHarvest | TryGetAct (Chara c, Point p) |
![]() | |
static Thing | GetBestTool (Chara c, Point p) |
static int | GetReqEle (string _raw) |
![]() | |
static void | SetReference (Chara _cc, Card _tc=null, Point _tp=null) |
static void | SetTool (Thing t) |
![]() | |
static string | GetName (string alias) |
static SourceElement.Row | Get (int id) |
static Dictionary< int, int > | GetElementMap (int[] list) |
static Dictionary< int, int > | GetElementMap (int[] list, Dictionary< int, int > map) |
static SourceElement.Row | GetRandomElement (int lv=1) |
static Element | Create (int id, int v=0) |
static Element | Create (string id, int v=1) |
static int | GetId (string alias) |
static int | GetResistLv (int v) |
static int | GetResistDamage (int dmg, int v, int power=0) |
![]() | |
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 | |
bool | wasReapSeed |
bool | wasCrime |
bool | harvestingCrop |
HarvestType | mode = HarvestType.Obj |
![]() | |
Thing | target |
Element | reqElement |
int | matHardness |
int | idEle |
int | reqLv |
int | toolLv |
int | maxProgress |
int | efficiency |
int | difficulty |
int | effectFrame = 1 |
bool | isToolRequired |
Thing | tool |
![]() | |
long | sync |
bool | isSynced |
TCOrbitTask | orbit |
![]() | |
Point | pos = new Point() |
bool | isRepeated |
![]() | |
TaskList | taskList |
bool | isDestroyed |
int | nextTry |
bool | suspended |
![]() | |
new Chara | owner |
Status | status |
IEnumerator< Status > | Enumerator |
AIAct | child |
AIAct | parent |
byte | restartCount |
Func< Status > | onChildFail |
Func< bool > | isFail |
![]() | |
SourceElement.Row | _source |
int | id |
int | vBase |
int | vExp |
int | vPotential |
int | vTempPotential |
int | vLink |
int | vSource |
int | vSourcePotential |
ElementContainer | owner |
Properties | |
bool | IsObj [get] |
bool | IsReapSeed [get] |
override HarvestType | harvestType [get] |
override int | RightHand [get] |
override int | destDist [get] |
override bool | IsGrowth [get] |
override bool | IsHostileAct [get] |
![]() | |
bool | IsTooHard [get] |
bool | IsHarvest [get] |
virtual bool | CanReapSeed [get] |
virtual HarvestType | harvestType [get] |
virtual bool | IsGrowth [get] |
override bool | CanPressRepeat [get] |
override int | LeftHand [get] |
override CursorInfo | CursorIcon [get] |
![]() | |
override bool | HasProgress [get] |
virtual int | idMarker [get] |
virtual int | W [get] |
virtual int | H [get] |
virtual bool | ShowOrbit [get] |
virtual bool | Working [get] |
override bool | ShowAuto [get] |
override CursorInfo | CursorIcon [get] |
TaskManager.Designations | Designations [get] |
long | Sync [get] |
![]() | |
override bool | HasProgress [get] |
virtual int | destDist [get] |
virtual bool | destIgnoreConnection [get] |
virtual bool | isBlock [get] |
virtual bool | Loop [get] |
bool | CanInspect [get] |
string | InspectName [get] |
Point | InspectPoint [get] |
Vector3 | InspectPosition [get] |
![]() | |
override TargetType | TargetType [get] |
![]() | |
virtual bool | IsRunning [get] |
bool | IsChildRunning [get] |
bool | IsMoveAI [get] |
virtual int | MaxRestart [get] |
virtual new string | Name [get] |
virtual MultiSprite | stateIcon [get] |
virtual Sprite | actionIcon [get] |
virtual bool | IsNoGoal [get] |
virtual bool | IsAutoTurn [get] |
virtual bool | IsIdle [get] |
virtual bool | CancelOnAggro [get] |
virtual bool | PushChara [get] |
virtual int | MaxProgress [get] |
virtual bool | ShowProgress [get] |
virtual bool | UseTurbo [get] |
virtual int | CurrentProgress [get] |
virtual bool | ShowCursor [get] |
virtual bool | CancelWhenDamaged [get] |
virtual bool | CancelWhenMoved [get] |
virtual bool | InformCancel [get] |
virtual Thing | RenderThing [get] |
AIAct | Current [get] |
override bool | IsAct [get] |
override bool | ShowPotential [get] |
override bool | UsePotential [get] |
override bool | ShowRelativeAttribute [get] |
virtual bool | HasProgress [get] |
![]() | |
override bool | ShowPotential [get] |
override bool | UsePotential [get] |
override bool | ShowRelativeAttribute [get] |
virtual CursorInfo | CursorIcon [get] |
virtual string | ID [get] |
virtual bool | IsAct [get] |
virtual bool | WillEndTurn [get] |
virtual bool | CloseLayers [get] |
virtual int | LeftHand [get] |
virtual int | RightHand [get] |
virtual int | ElementPowerMod [get] |
virtual bool | ShowMapHighlight [get] |
virtual bool | ShowMapHighlightBlock [get] |
virtual bool | PickHeldOnStart [get] |
virtual bool | DropHeldOnStart [get] |
virtual bool | CanPressRepeat [get] |
virtual bool | CanAutofire [get] |
virtual bool | ResetAxis [get] |
virtual bool | RequireTool [get] |
virtual bool | IsHostileAct [get] |
virtual bool | HideRightInfo [get] |
virtual bool | HaveLongPressAction [get] |
virtual float | Radius [get] |
virtual int | PerformDistance [get] |
virtual int | MaxRadius [get] |
virtual TargetType | TargetType [get] |
virtual bool | LocalAct [get] |
virtual bool | CanRapidFire [get] |
virtual float | RapidDelay [get] |
virtual bool | ShowAuto [get] |
virtual bool | IsCrime [get] |
![]() | |
SourceElement.Row | source [get] |
virtual int | DisplayValue [get] |
virtual int | MinValue [get] |
int | Value [get] |
int | ValueWithoutLink [get] |
virtual int | MinPotential [get] |
int | Potential [get] |
virtual bool | CanGainExp [get] |
bool | IsFlag [get] |
virtual string | Name [get] |
virtual string | FullName [get] |
virtual int | ExpToNext [get] |
virtual bool | UseExpMod [get] |
virtual int | CostTrain [get] |
virtual int | CostLearn [get] |
virtual bool | ShowXP [get] |
virtual bool | ShowMsgOnValueChanged [get] |
virtual bool | ShowValue [get] |
virtual bool | ShowPotential [get] |
virtual bool | UsePotential [get] |
virtual bool | PotentialAsStock [get] |
virtual bool | ShowRelativeAttribute [get] |
virtual bool | ShowBonuses [get] |
virtual string | ShortName [get] |
bool | IsGlobalElement [get] |
bool | IsFactionWideElement [get] |
bool | IsPartyWideElement [get] |
virtual bool | ShowEncNumber [get] |
bool | IsTrait [get] |
bool | IsFoodTrait [get] |
bool | IsFoodTraitMain [get] |
bool | IsMainAttribute [get] |
Act | act [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] |
![]() | |
bool | CanInspect [get] |
string | InspectName [get] |
Point | InspectPoint [get] |
Vector3 | InspectPosition [get] |
![]() | |
long | Sync [get] |
Additional Inherited Members | |
![]() | |
enum | HarvestType { Floor , Block , Obj , Thing , Disassemble } |
![]() | |
enum | Status { Running , Fail , Success } |
![]() | |
enum | CostType { None , MP , SP } |
![]() | |
enum | NoteMode { Default , Recipe , Product , Info } |
![]() | |
static Chara | CC |
static Card | TC |
static Point | TP = new Point() |
static Thing | TOOL |
static int | powerMod = 100 |
static bool | forcePt |
![]() | |
const int | Div = 5 |
static Element | Void = new Element() |
static int[] | List_MainAttributes = new int[9] { 70, 72, 71, 77, 74, 75, 76, 73, 79 } |
static int[] | List_MainAttributesMajor = new int[8] { 70, 72, 71, 77, 74, 75, 76, 73 } |
static int[] | List_Body = new int[4] { 70, 72, 71, 77 } |
static int[] | List_Mind = new int[4] { 74, 75, 76, 73 } |
static List< SourceElement.Row > | ListElements = new List<SourceElement.Row>() |
static List< SourceElement.Row > | ListAttackElements = new List<SourceElement.Row>() |
![]() | |
static Core | core |
Definition at line 3 of file TaskHarvest.cs.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from BaseTaskHarvest.
Definition at line 192 of file TaskHarvest.cs.
References Cell.CanReapSeed(), Point.cell, Card.ExistsOnMap, Point.HasObj, IsObj, AIAct.owner, EClass.pc, TaskPoint.pos, BaseTaskHarvest.SetTarget(), BaseTaskHarvest.target, BaseTaskHarvest.tool, and Card.trait.
|
inlinevirtual |
Reimplemented from BaseTaskHarvest.
Definition at line 78 of file TaskHarvest.cs.
References RecipeManager.CanCeomUpWithRecipe(), EClass.debug, CoreDebug.enable, HaveHarvestThing(), IsObj, IsReapSeed, mode, EClass.player, Player.recipes, Thing.source, and BaseTaskHarvest.target.
|
inlinevirtual |
Reimplemented from Task.
Definition at line 214 of file TaskHarvest.cs.
References EClass.debug, Card.ExistsOnMap, CoreDebug.godBuild, harvestingCrop, Point.HasDecal, Point.HasObj, BuildMenu.Instance, IsObj, TaskPoint.pos, and BaseTaskHarvest.target.
|
inline |
Definition at line 468 of file TaskHarvest.cs.
References Card.IsEquipmentOrRangedOrAmmo, Card.material, Thing.source, and BaseTaskHarvest.target.
Referenced by HarvestThing(), and HaveHarvestThing().
|
inlinevirtual |
Reimplemented from BaseTaskHarvest.
Definition at line 101 of file TaskHarvest.cs.
References IsObj, Card.Name, and BaseTaskHarvest.target.
|
inline |
Definition at line 505 of file TaskHarvest.cs.
References EClass._map, Card.ChangeMaterial(), ThingGen.Create(), Debug, Card.decay, Card.Die(), Card.EjectSockets(), Card.elements, GetIdDismantled(), Card.id, Point.IsBlocked, Card.isCopy, Card.IsDecayed, Card.IsFood, Card.LV, Card.material, Card.Num, AIAct.owner, EClass.pc, Card.pos, TaskPoint.pos, EClass.rndf(), CardBlueprint.Set(), ElementContainer.SetBase(), Card.SetNum(), ShouldGenerateDismantled(), Card.sockets, BaseTaskHarvest.target, Card.trait, and Map.TrySmoothPick().
Referenced by OnCreateProgress().
|
inline |
Definition at line 499 of file TaskHarvest.cs.
References GetIdDismantled(), and ShouldGenerateDismantled().
Referenced by GetBaseText().
|
inlinevirtual |
Reimplemented from AIAct.
Definition at line 243 of file TaskHarvest.cs.
References EClass._map, EClass._zone, SourceMaterial.Row.AddBlood(), Zone.AddCard(), Zone.AddThing(), TileRow.alias, Point.Animate(), GrowSystem.AnimeProgress, CoreConfig.backer, Card.CalculateFOV(), AIAct.Cancel(), GrowSystem.CanHarvest(), SourceManager.cards, Point.cell, Card.ChangeMaterial(), Card.ChangeRarity(), RecipeManager.ComeUpWithRecipe(), Core.config, EClass.core, ThingGen.Create(), ThingGen.CreateFromCategory(), Debug, Map.DestroyObj(), BaseTaskHarvest.difficulty, GamePrincipal.disableUsermapBenefit, Player.doneBackers, Card.Dye(), BaseTaskHarvest.effectFrame, Card.elements, EClass.game, Map.GetBackerObj(), Cell.GetObjName(), SourceMaterial.Row.GetSoundImpact(), GrowSystem.GetSoundProgress(), Point.growth, GrowSystem.Harvest(), harvestingCrop, HarvestThing(), SourceBacker.Row.id, BaseTaskHarvest.idEle, Zone.IsCrime(), Point.IsFarmField, IsHostileAct, Card.isNPCProperty, IsObj, Chara.IsPC, IsReapSeed, Zone.IsUserZone, Chara.LookAt(), SourceBacker.Row.loot, Card.MakeFoodFrom(), SourceCard.map, Card.material, BaseTaskHarvest.maxProgress, Map.MineObj(), Stats.Mod(), mode, ElementContainer.ModExp(), Card.ModExp(), Player.ModKarma(), Card.Name, SourceBacker.Row.Name, CardRenderer.NextFrame(), Card.Num, GrowSystem.OnHitFail(), GrowSystem.OnProgressComplete(), AIAct.owner, EClass.pc, Card.PlayAnime(), EClass.player, SourceMaterial.Row.PlayHitEffect(), Point.PlaySound(), Card.PlaySound(), Card.pos, TaskPoint.pos, Game.principal, AIProgress.progress, Player.recipes, Card.renderer, EClass.rnd(), Msg.Say(), Card.Say(), Card.SetBlessedState(), Card.SetEncLv(), Card.SetNum(), Point.SetObj(), BaseTaskHarvest.SetTarget(), CoreConfig.BackerContentConfig.Show(), Thing.source, Point.sourceObj, EClass.sources, Chara.stamina, BaseTaskHarvest.target, SourceBacker.Row.Text, Card.Tool, TryGetAct(), Point.TryWitnessCrime(), wasCrime, and wasReapSeed.
|
inline |
Definition at line 478 of file TaskHarvest.cs.
References SourceManager.cards, Card.id, SourceCard.map, Thing.source, EClass.sources, BaseTaskHarvest.target, and Card.trait.
Referenced by HarvestThing(), and HaveHarvestThing().
|
inlinestatic |
Definition at line 114 of file TaskHarvest.cs.
References Trait.CanBeDisassembled, Cell.CanHarvest(), Trait.CanHarvest, Cell.CanReapSeed(), Point.cell, Point.Copy(), SourceManager.elements, Card.HasElement(), Point.HasObj, Point.HasThing, Card.isHidden, Card.isMasked, mode, TaskPoint.pos, Trait.ReqHarvest, Point.sourceObj, EClass.sources, BaseTaskHarvest.target, Point.Things, Card.Tool, and Card.trait.
Referenced by OnCreateProgress(), and HotItemHeld.TrySetToolAct().
bool TaskHarvest.harvestingCrop |
Definition at line 9 of file TaskHarvest.cs.
Referenced by GetHitResult(), and OnCreateProgress().
HarvestType TaskHarvest.mode = HarvestType.Obj |
Definition at line 11 of file TaskHarvest.cs.
Referenced by GetBaseText(), OnCreateProgress(), and TryGetAct().
bool TaskHarvest.wasCrime |
Definition at line 7 of file TaskHarvest.cs.
Referenced by OnCreateProgress().
bool TaskHarvest.wasReapSeed |
Definition at line 5 of file TaskHarvest.cs.
Referenced by OnCreateProgress().
|
get |
Definition at line 35 of file TaskHarvest.cs.
|
get |
Definition at line 31 of file TaskHarvest.cs.
|
get |
Definition at line 37 of file TaskHarvest.cs.
|
get |
Definition at line 39 of file TaskHarvest.cs.
Referenced by OnCreateProgress().
|
get |
Definition at line 13 of file TaskHarvest.cs.
Referenced by CanProgress(), GetBaseText(), GetHitResult(), GetTextSmall(), and OnCreateProgress().
|
get |
Definition at line 15 of file TaskHarvest.cs.
Referenced by GetBaseText(), and OnCreateProgress().
|
get |
Definition at line 33 of file TaskHarvest.cs.