Elin Modding Docs Doc
|
Public Member Functions | |
override bool | CanUse (Chara c, Card tg) |
override bool | OnUse (Chara c, Card tg) |
override void | OnThrowGround (Chara c, Point p) |
override bool | CanBlend (Thing t) |
override void | OnBlend (Thing t, Chara c) |
void | Dye (Card tg) |
![]() | |
string | GetParam (int i, string def=null) |
int | GetParamInt (int i, int def) |
virtual bool | Contains (RecipeSource r) |
virtual int | GetValue () |
virtual bool | CanStackTo (Thing to) |
virtual string | GetHoverText () |
virtual Action | GetHealAction (Chara c) |
virtual int | GetActDuration (Chara c) |
virtual SourceElement.Row | GetRefElement () |
virtual Sprite | GetRefSprite () |
virtual void | OnRenderExtra (RenderParam p) |
virtual Emo2 | GetHeldEmo (Chara c) |
virtual void | SetOwner (Card _owner) |
virtual bool | IdleUse (Chara c, int dist) |
virtual void | OnSetOwner () |
virtual void | OnImportMap () |
virtual void | SetParams (params string[] s) |
virtual void | OnCrafted (Recipe recipe) |
virtual void | OnCreate (int lv) |
virtual void | OnChangePlaceState (PlaceState state) |
virtual void | OnAddedToZone () |
virtual void | OnRemovedFromZone () |
virtual void | OnSimulateHour (VirtualDate date) |
virtual string | GetName () |
virtual void | SetName (ref string s) |
virtual unsafe void | OnRenderTile (Point point, HitResult result, int dir) |
virtual int | CompareTo (Card b) |
virtual bool | CanBuiltAt (Point p) |
virtual void | Update () |
Point | GetPoint () |
Point | GetRandomPoint (Func< Point, bool > func=null) |
virtual List< Point > | ListPoints (Point center=null, bool onlyPassable=true) |
virtual Recipe | GetRecipe () |
virtual Recipe | GetBuildModeRecipe () |
virtual bool | CanCook (Card c) |
void | CookProgress () |
virtual bool | CanOffer (Card tg) |
void | OfferProcess (Chara cc) |
void | Offer (Chara cc) |
virtual bool | TryProgress (AIProgress p) |
virtual LockOpenState | TryOpenLock (Chara cc, bool msgFail=true) |
virtual void | WriteNote (UINote n, bool identified) |
int | GetSortVal (UIList.SortMode m) |
virtual HotItem | GetHotItem () |
virtual bool | CanRead (Chara c) |
virtual void | OnRead (Chara c) |
virtual bool | CanEat (Chara c) |
virtual void | OnEat (Chara c) |
virtual bool | CanDrink (Chara c) |
virtual void | OnDrink (Chara c) |
virtual bool | CanUse (Chara c) |
virtual bool | CanUse (Chara c, Point p) |
virtual bool | OnUse (Chara c) |
virtual bool | OnUse (Chara c, Point p) |
virtual void | TrySetAct (ActPlan p) |
virtual void | TrySetHeldAct (ActPlan p) |
virtual void | OnHeld () |
virtual void | OnTickHeld () |
virtual void | OnSetCurrentItem () |
virtual void | OnUnsetCurrentItem () |
virtual bool | OnChildDecay (Card c) |
virtual bool | CanChildDecay (Card c) |
virtual void | OnSetCardGrid (ButtonGrid b) |
virtual void | OnStepped (Chara c) |
virtual void | OnSteppedOut (Chara c) |
virtual void | OnOpenDoor (Chara c) |
void | Install (bool byPlayer) |
void | Uninstall () |
virtual void | OnInstall (bool byPlayer) |
virtual void | OnUninstall () |
virtual void | TryToggle () |
virtual void | Toggle (bool on, bool silent=false) |
virtual void | OnToggle () |
virtual void | TrySetToggleAct (ActPlan p) |
bool | IsFuelEnough (int num=1, List< Thing > excludes=null, bool tryRefuel=true) |
bool | IsFuel (string s) |
bool | IsFuel (Thing t) |
int | GetFuelValue (Thing t) |
int | GetFuelValue (string id) |
void | Refuel (Thing t) |
void | TryRefuel (int dest, List< Thing > excludes) |
virtual void | OnEnterScreen () |
virtual void | RefreshRenderer () |
virtual void | SetMainText (UIText t, bool hotitem) |
virtual bool | CanCopy (Thing t) |
string | GetTextRestock (string lang, bool pet) |
Emo2 | GetRestockedIcon () |
Thing | FindShopChest () |
void | OnBarter () |
Thing | CreateStock () |
Properties | |
override bool | IsBlendBase [get] |
![]() | |
string[] | Params [get] |
virtual byte | WeightMod [get] |
virtual string | Name [get] |
virtual TileType | tileType [get] |
virtual RefCardName | RefCardName [get] |
virtual bool | IsBlockPath [get] |
virtual bool | IsBlockSight [get] |
virtual bool | IsDoor [get] |
virtual bool | IsOpenSight [get] |
virtual bool | IsOpenPath [get] |
virtual bool | IsFloating [get] |
virtual bool | IsGround [get] |
virtual bool | InvertHeldSprite [get] |
virtual bool | IsChangeFloorHeight [get] |
virtual bool | ShouldRefreshTile [get] |
virtual bool | ShouldTryRefreshRoom [get] |
virtual bool | CanHarvest [get] |
virtual int | radius [get] |
virtual bool | CanUseRoomRadius [get] |
virtual int | GuidePriotiy [get] |
virtual int | Electricity [get] |
virtual bool | IgnoreLastStackHeight [get] |
virtual int | Decay [get] |
virtual int | DecaySpeed [get] |
virtual int | DecaySpeedChild [get] |
virtual bool | IsFridge [get] |
virtual int | DefaultStock [get] |
virtual bool | HoldAsDefaultInteraction [get] |
virtual int | CraftNum [get] |
virtual bool | ShowOrbit [get] |
virtual bool | HaveUpdate [get] |
virtual bool | IsSpot [get] |
virtual bool | IsFactory [get] |
virtual bool | CanAutofire [get] |
virtual bool | CanName [get] |
virtual bool | CanPutAway [get] |
virtual bool | CanStack [get] |
virtual bool | CanCopyInBlueprint [get] |
virtual bool | CanBeAttacked [get] |
virtual bool | CanExtendBuild [get] |
virtual string | langNote [get] |
virtual string | IDInvStyle [get] |
virtual string | IDActorEx [get] |
virtual bool | MaskOnBuild [get] |
virtual bool | ShowContextOnPick [get] |
virtual bool | IsThrowMainAction [get] |
virtual bool | LevelAsQuality [get] |
virtual bool | UseDummyTile [get] |
virtual bool | RequireFullStackCheck [get] |
virtual InvGridSize | InvGridSize [get] |
virtual bool | IsContainer [get] |
virtual bool | CanOpenContainer [get] |
virtual bool | IsSpecialContainer [get] |
virtual ContainerType | ContainerType [get] |
virtual ThrowType | ThrowType [get] |
virtual EffectDead | EffectDead [get] |
virtual bool | IsHomeItem [get] |
virtual bool | IsAltar [get] |
virtual bool | IsRestSpot [get] |
virtual bool | CanBeMasked [get] |
virtual bool | IsBlendBase [get] |
virtual bool | CanBeOnlyBuiltInHome [get] |
virtual bool | CanBuildInTown [get] |
virtual bool | CanBeHeld [get] |
virtual bool | CanBeStolen [get] |
virtual bool | CanOnlyCarry [get] |
virtual bool | CanBeDestroyed [get] |
virtual bool | CanBeHallucinated [get] |
virtual bool | CanSearchContents [get] |
virtual bool | CanBeDropped [get] |
virtual string | ReqHarvest [get] |
virtual bool | CanBeDisassembled [get] |
virtual bool | CanBeShipped [get] |
virtual bool | HasCharges [get] |
virtual bool | ShowCharges [get] |
virtual bool | ShowChildrenNumber [get] |
virtual bool | ShowAsTool [get] |
virtual bool | CanBeHeldAsFurniture [get] |
virtual bool | HideInAdv [get] |
virtual bool | NoHeldDir [get] |
virtual bool | AlwaysHideOnLowWall [get] |
bool | ExistsOnMap [get] |
virtual bool | RenderExtra [get] |
virtual float | DropChance [get] |
virtual string | IdNoRestock [get] |
virtual int | IdleUseChance [get] |
virtual string | RecipeCat [get] |
virtual bool | IsTool [get] |
virtual string | LangUse [get] |
virtual bool | IsOn [get] |
virtual bool | IsAnimeOn [get] |
bool | IsToggle [get] |
virtual bool | AutoToggle [get] |
bool | IsLighting [get] |
virtual bool | IsLightOn [get] |
virtual bool | IsNightOnlyLight [get] |
virtual Trait.TileMode | tileMode [get] |
virtual bool | UseAltTiles [get] |
virtual bool | UseLowblock [get] |
virtual bool | UseExtra [get] |
virtual bool | UseLightColor [get] |
virtual ? Color | ColorExtra [get] |
virtual int | MaxFuel [get] |
virtual int | FuelCost [get] |
virtual bool | ShowFuelWindow [get] |
bool | IsRequireFuel [get] |
string | IdToggleExtra [get] |
virtual ToggleType | ToggleType [get] |
virtual int | ShopLv [get] |
virtual Trait.CopyShopType | CopyShop [get] |
virtual int | NumCopyItem [get] |
virtual ShopType | ShopType [get] |
virtual CurrencyType | CurrencyType [get] |
virtual PriceType | PriceType [get] |
virtual bool | AllowSell [get] |
virtual int | CostRerollShop [get] |
virtual bool | AllowCriminal [get] |
virtual int | RestockDay [get] |
virtual SlaverType | SlaverType [get] |
virtual string | LangBarter [get] |
string | TextNextRestock [get] |
string | TextNextRestockPet [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 | |
![]() | |
enum | TileMode { Default , Door , Illumination , DefaultNoAnime } |
enum | CopyShopType { None , Item , Spellbook } |
![]() | |
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) |
![]() | |
Card | owner |
![]() | |
static TraitSelfFactory | SelfFactory = new TraitSelfFactory() |
![]() | |
static Core | core |
![]() | |
static List< Point > | listRadiusPoints = new List<Point>() |
![]() |
Definition at line 4 of file TraitDye.cs.
|
virtual |
Reimplemented from Trait.
Definition at line 41 of file TraitDye.cs.
Reimplemented from Trait.
Definition at line 17 of file TraitDye.cs.
void TraitDye.Dye | ( | Card | tg | ) |
Definition at line 53 of file TraitDye.cs.
Reimplemented from Trait.
Definition at line 47 of file TraitDye.cs.
Reimplemented from Trait.
Definition at line 30 of file TraitDye.cs.
Reimplemented from Trait.
Definition at line 23 of file TraitDye.cs.
|
get |
Definition at line 8 of file TraitDye.cs.