|
override string | ToString () |
|
bool | IsCriticallyWounded (bool includeRide=false) |
|
bool | HasHigherGround (Card c) |
|
bool | CanSeeSimple (Point p) |
|
bool | CanSee (Card c) |
|
bool | CanSeeLos (Card c, int dist=-1, bool includeTelepathy=false) |
|
bool | CanSeeLos (Point p, int dist=-1) |
|
bool | CanSleep () |
|
override string | GetName (NameStyle style, int num=-1) |
|
override void | ChangeRarity (Rarity r) |
|
void | SetFaction (Faction f) |
|
void | SetHomeZone (Zone zone) |
|
Chara | SetGlobal (Zone _home, int x, int z) |
|
Chara | SetGlobal () |
|
void | RemoveGlobal () |
|
override void | OnBeforeCreate () |
|
override void | OnCreate (int genLv) |
|
void | SetFaith (string id) |
|
void | SetFaith (Religion r) |
|
void | HealAll () |
|
void | Refresh (bool calledRecursive=false) |
|
Chara | Duplicate () |
|
int | GetBurden (Card t=null, int num=-1) |
|
void | CalcBurden () |
|
void | Stumble (int mtp=100) |
|
void | SetDirtySpeed () |
|
void | RefreshSpeed () |
|
void | CalculateMaxStamina () |
|
override void | ApplyEditorTags (EditorTag tag) |
|
override void | SetSource () |
|
void | SetMainElement (string id, int v=0, bool elemental=false) |
|
void | SetMainElement (int id, int v=0, bool elemental=false) |
|
void | ApplyJob (bool remove=false) |
|
void | ChangeJob (string idNew) |
|
void | AddRandomBodyPart (bool msg=false) |
|
void | ApplyRace (bool remove=false) |
|
void | ChangeRace (string idNew) |
|
void | MakePartyMemeber () |
|
void | MakeAlly (bool msg=true) |
|
void | _MakeAlly () |
|
bool | CanBeTempAlly (Chara c) |
|
void | MakeMinion (Chara _master, MinionType type=MinionType.Default) |
|
void | ReleaseMinion () |
|
void | SetSummon (int duration) |
|
Chara | FindMaster () |
|
bool | IsEscorted () |
|
bool | CanDestroyPath () |
|
bool | CanMoveTo (Point p, bool allowDestroyPath=true) |
|
bool | IsEnemyOnPath (Point p, bool cancelAI=true) |
|
bool | CanInteractTo (Card c) |
|
bool | CanInteractTo (Point p) |
|
Point | GetFirstStep (Point newPoint, PathManager.MoveType moveType=PathManager.MoveType.Default) |
|
bool | MoveRandom () |
|
bool | MoveNeighborDefinitely () |
|
void | MoveByForce (Point newPoint, Card c=null, bool checkWall=false) |
|
Card.MoveResult | TryMoveTowards (Point p) |
|
Card.MoveResult | TryMoveFrom (Point p) |
|
Card.MoveResult | TryMove (Point newPoint, bool allowDestroyPath=true) |
|
override Card.MoveResult | _Move (Point newPoint, Card.MoveType type=Card.MoveType.Walk) |
|
void | DestroyPath (Point pos) |
|
void | TryPush (Point point) |
|
bool | CanReplace (Chara c) |
|
void | MoveZone (string alias) |
|
void | MoveZone (Zone z, ZoneTransition.EnterState state=ZoneTransition.EnterState.Auto) |
|
void | MoveZone (Zone z, ZoneTransition transition) |
|
void | MoveHome (string id, int x=-1, int z=-1) |
|
void | MoveHome (Zone zone, int x=-1, int z=-1) |
|
void | FallFromZone () |
|
override void | SetDir (int d) |
|
override void | Rotate (bool reverse=false) |
|
override void | LookAt (Card c) |
|
override void | LookAt (Point p) |
|
void | UpdateAngle () |
|
int | GetCurrentDir () |
|
void | UpdateSight () |
|
bool | WillConsumeTurn () |
|
void | TickConditions () |
|
void | SyncRide () |
|
void | SyncRide (Chara c) |
|
override void | Tick () |
|
bool | CanLift (Card c) |
|
bool | CanAutoPick (Card c) |
|
bool | CanPick (Card c) |
|
void | PickOrDrop (Point p, string idThing, int idMat=-1, int num=1, bool msg=true) |
|
void | PickOrDrop (Point p, Thing t, bool msg=true) |
|
Thing | Pick (Thing t, bool msg=true, bool tryStack=true) |
|
void | TryReservePickupTutorial (Thing t) |
|
void | TryPickGroundItem () |
|
void | TryPutShared (Thing t, List< Thing > containers=null, bool dropIfFail=true) |
|
bool | TryHoldCard (Card t, int num=-1, bool pickHeld=false) |
|
void | HoldCard (Card t, int num=-1) |
|
void | PickHeld (bool msg=false) |
|
Card | SplitHeld (int a) |
|
Card | DropHeld (Point dropPos=null) |
|
void | DropThing (Thing t, int num=-1) |
|
AttackStyle | GetFavAttackStyle () |
|
Element | GetFavWeaponSkill () |
|
Element | GetFavArmorSkill () |
|
void | TryRestock (bool onCreate) |
|
void | RestockEquip (bool onCreate) |
|
void | RestockInventory (bool onCreate) |
|
Thing | EQ_ID (string s, int mat=-1, Rarity r=Rarity.Random) |
|
void | EQ_CAT (string s) |
|
void | EQ_Item (string s, int num=1) |
|
void | Drink (Card t) |
|
void | GetRevived () |
|
void | Revive (Point p=null, bool msg=false) |
|
void | MakeGrave (string lastword) |
|
void | ApplyDeathPenalty () |
|
void | Vomit () |
|
override void | Die (Element e=null, Card origin=null, AttackSource attackSource=AttackSource.None) |
|
void | TryDropBossLoot () |
|
void | Kick (Point p, bool ignoreSelf=false) |
|
void | Kick (Chara t, bool ignoreSelf=false, bool karmaLoss=true) |
|
bool | UseAbility (string idAct, Card tc=null, Point pos=null, bool pt=false) |
|
bool | UseAbility (Act a, Card tc=null, Point pos=null, bool pt=false) |
|
int | EvalueRiding () |
|
int | CalcCastingChance (Element e, int num=1) |
|
void | DoAI (int wait, Action onPerform) |
|
void | Cuddle (Chara c, bool headpat=false) |
|
Chara | SetEnemy (Chara c=null) |
|
void | TrySetEnemy (Chara c) |
|
void | DoHostileAction (Card _tg, bool immediate=false) |
|
void | CallHelp (Chara tg, bool fanatic=false) |
|
bool | FindNewEnemy () |
|
bool | FindNearestNewEnemy () |
|
bool | IsHostile () |
|
bool | IsHostile (Chara c) |
|
bool | IsNeutral () |
|
bool | IsNeutralOrAbove () |
|
bool | IsBranchMember () |
|
bool | IsHomeMember () |
|
bool | IsInHomeZone () |
|
bool | IsInSpot< T > () |
|
bool | IsGuest () |
|
bool | IsFriendOrAbove () |
|
bool | IsFriendOrAbove (Chara c) |
|
override CardRenderer | _CreateRenderer () |
|
void | SetPCCState (PCCState state) |
|
override Sprite | GetSprite (int dir=0) |
|
void | SetTempHand (int right=0, int left=0) |
|
override SubPassData | GetSubPassData () |
|
override void | SetRenderParam (RenderParam p) |
|
override string | GetHoverText () |
|
override string | GetHoverText2 () |
|
string | GetTopicText (string topic="calm") |
|
unsafe string | TalkTopic (string topic="calm") |
|
override Sprite | GetImageSprite () |
|
void | ChangeMemberType (FactionMemberType type) |
|
void | ShowDialog () |
|
LayerDrama | ShowDialog (string book, string step="main", string tag="") |
|
Point | GetDestination () |
|
int | GetHireCost () |
|
int | GetHappiness () |
|
string | GetTextHappiness () |
|
string | GetActionText () |
|
override void | WriteNote (UINote n, Action< UINote > onWriteNote=null, IInspect.NoteMode mode=IInspect.NoteMode.Default, Recipe recipe=null) |
|
override void | SetSortVal (UIList.SortMode m, CurrencyType currency=CurrencyType.Money) |
|
void | ClearBed (Map map=null) |
|
TraitBed | FindBed () |
|
TraitBed | TryAssignBed () |
|
void | TryPutSharedItems (IEnumerable< Thing > containers, bool msg=true) |
|
void | TryPutSharedItems (bool msg=true) |
|
void | TryTakeSharedItems (bool msg=true) |
|
void | TryTakeSharedItems (IEnumerable< Thing > containers, bool msg=true, bool shouldEat=true) |
|
void | InstantEat (Thing t=null, bool sound=true) |
|
bool | CanEat (Thing t, bool shouldEat=false) |
|
bool | ShouldEquip (Thing t, bool useFav=false) |
|
bool | TryEquip (Thing t, bool useFav=false) |
|
bool | CanEquipRanged (Thing t) |
|
Thing | TryGetThrowable () |
|
Thing | GetBestRangedWeapon () |
|
bool | TryEquipRanged () |
|
override int | GetArmorSkill () |
|
bool | TryUse (Thing t) |
|
Room | FindRoom () |
|
void | ModAffinity (Chara c, int a, bool show=true) |
|
bool | TryIdentify (Thing t, int count=1, bool show=true) |
|
Chara | CreateReplacement () |
|
SourceThing.Row | GetFavFood () |
|
SourceCategory.Row | GetFavCat () |
|
int | GetTotalFeat () |
|
bool | CanInsult () |
|
string | GetIdPortraitCat () |
|
string | GetIdPortrait () |
|
Thing | GiveBirth (Thing t, bool effect) |
|
Thing | MakeGene (DNA.Type? type=null) |
|
Thing | MakeBraineCell () |
|
Thing | MakeMilk (bool effect=true, int num=1, bool addToZone=true) |
|
Thing | MakeEgg (bool effect=true, int num=1, bool addToZone=true) |
|
void | OnInsulted () |
|
bool | IsValidGiftWeight (Card t, int num=-1) |
|
bool | CanAcceptItem (Card t, int num=-1) |
|
bool | CanAcceptGift (Chara c, Card t) |
|
void | GiveGift (Chara c, Thing t) |
|
void | OnGiveErohon (Thing t) |
|
void | GiveLovePotion (Chara c, Thing t) |
|
void | RequestProtection (Chara attacker, Action< Chara > action) |
|
void | ClearInventory (ClearInventoryType type) |
|
void | ResetUpgrade () |
|
void | TryUpgrade (bool msg=true) |
|
void | AddCooldown (int idEle, int turns=0) |
|
bool | HasCooldown (int idEle) |
|
void | TickCooldown () |
|
void | ChooseNewGoal () |
|
Goal | GetGoalFromTimeTable (int hour) |
|
Goal | GetGoalWork () |
|
Goal | GetGoalHobby () |
|
void | SetAIIdle () |
|
void | SetAIAggro () |
|
AIAct | SetNoGoal () |
|
AIAct | SetAI (AIAct g) |
|
void | SetAIImmediate (AIAct g) |
|
List< Hobby > | ListWorks (bool useMemberType=true) |
|
List< Hobby > | ListHobbies (bool useMemberType=true) |
|
Hobby | GetWork (string id) |
|
void | RefreshWorkElements (ElementContainer parent=null) |
|
string | GetTextHobby (bool simple=false) |
|
string | GetTextWork (bool simple=false) |
|
void | AddHobby (int id) |
|
void | AddWork (int id) |
|
void | RerollHobby (bool extraSlotChance=true) |
|
WorkSummary | GetWorkSummary () |
|
void | TickWork (VirtualDate date) |
|
bool | TryWorkOutside (SourceHobby.Row sourceWork) |
|
void | PerformWork (WorkSession session, bool isHobby=false, bool IsRealTime=false) |
|
void | ValidateWorks () |
|
void | InitStats (bool onDeserialize=false) |
|
Condition | AddCondition< T > (int p=100, bool force=false) |
|
Condition | AddCondition (string id, int p=100, bool force=false) |
|
Condition | AddCondition (Condition c, bool force=false) |
|
override bool | HasCondition< T > () |
|
bool | HasCondition (string alias) |
|
Element | GetBuffStats (string alias) |
|
Element | GetBuffStats (int ele) |
|
void | CureCondition< T > (int v=99999) |
|
T | GetCondition< T > () |
|
void | RemoveCondition< T > () |
|
void | CureHost (CureType type, int p=100, BlessedState state=BlessedState.Normal) |
|
void | Cure (CureType type, int p=100, BlessedState state=BlessedState.Normal) |
|
bool | TryNeckHunt (Chara TC, int power, bool harvest=false) |
|
void | AddResistCon (Condition con) |
|
void | ResistCon (Condition con) |
|
void | Sleep (Thing bed=null, Thing pillow=null, bool pickup=false, ItemPosition posBed=null, ItemPosition posPillow=null) |
|
void | OnSleep (Thing bed=null, int days=1) |
|
void | OnSleep (int power, int days=1) |
|
void | ModHeight (int a) |
|
void | ModWeight (int a, bool ignoreLimit=false) |
|
void | ModCorruption (int a) |
|
List< Element > | ListAvailabeFeats (bool pet=false) |
|
void | SetFeat (int id, int value=1, bool msg=false) |
|
bool | MutateRandom (int vec=0, int tries=100, bool ether=false, BlessedState state=BlessedState.Normal) |
|
void | GainAbility (int ele, int mtp=100) |
|
bool | TryNullifyCurse () |
|
int | GetPietyValue () |
|
void | RefreshFaithElement () |
|
void | ModTempElement (int ele, int a, bool naturalDecay=false) |
|
void | DamageTempElements (int p, bool body, bool mind) |
|
void | DamageTempElement (int ele, int p) |
|
void | EnhanceTempElements (int p, bool body, bool mind) |
|
void | EnhanceTempElement (int ele, int p) |
|
void | DiminishTempElements (int a=1) |
|
void | CureTempElements (int p, bool body, bool mind) |
|
override string | ToString () |
|
bool | CanReserve (AIAct act) |
|
bool | TryReserve (AIAct act) |
|
void | Mod () |
|
Window.SaveData | GetWindowSaveData () |
|
bool | IsExcludeFromCraft () |
|
void | SetDirtyWeight () |
|
void | ChangeWeight (int a) |
|
int | Evalue (int ele) |
|
int | Evalue (string alias) |
|
bool | HasTag (CTAG tag) |
|
bool | HasEditorTag (EditorTag tag) |
|
void | AddEditorTag (EditorTag tag) |
|
void | RemoveEditorTag (EditorTag tag) |
|
virtual string | GetExtraName () |
|
virtual string | GetDetail () |
|
int | GetBestAttribute () |
|
void | ModExp (string alias, int a) |
|
void | ModExp (int ele, int a) |
|
bool | IsChildOf (Card c) |
|
string | ReferenceId () |
|
void | Create (string _id, int _idMat=-1, int genLv=-1) |
|
void | ApplyTrait () |
|
Card | SetLv (int a) |
|
void | AddExp (int a) |
|
void | LevelUp () |
|
virtual void | ApplyMaterialElements (bool remove) |
|
virtual void | ApplyMaterial (bool remove=false) |
|
Card | ChangeMaterial (int idNew) |
|
Card | ChangeMaterial (string idNew) |
|
Card | ChangeMaterial (SourceMaterial.Row row) |
|
void | SetReplica (bool on) |
|
Thing | Add (string id, int num=1, int lv=1) |
|
Card | AddCard (Card c) |
|
void | RemoveCard (Card c) |
|
void | NotifyAddThing (Thing t, int num) |
|
Thing | AddThing (string id, int lv=-1) |
|
Thing | AddThing (Thing t, bool tryStack=true, int destInvX=-1, int destInvY=-1) |
|
void | RemoveThings () |
|
void | RemoveThing (Thing thing) |
|
bool | ShouldTrySetDirtyInventory () |
|
virtual bool | CanStackTo (Thing to) |
|
bool | TryStackTo (Thing to) |
|
ICardParent | GetRoot () |
|
Card | GetRootCard () |
|
bool | IsStackable (Thing tg) |
|
Thing | Duplicate (int num) |
|
Thing | Split (int a) |
|
Thing | SetNum (int a) |
|
Thing | SetNoSell () |
|
void | ModNum (int a, bool notify=true) |
|
void | AddSocket () |
|
void | ApplySocket (Thing t) |
|
void | ApplySocket (int id, int lv, Card mod=null) |
|
void | EjectSockets () |
|
void | OnChildNumChange (Card c) |
|
Card | Install () |
|
void | SetPlaceState (PlaceState newState, bool byPlayer=false) |
|
int | GetTotalQuality (bool applyBonus=true) |
|
void | ModEncLv (int a) |
|
void | SetEncLv (int a) |
|
virtual void | SetBlessedState (BlessedState s) |
|
bool | TryPay (int a, string id="money") |
|
void | SetCharge (int a) |
|
void | ModCharge (int a, bool destroy=false) |
|
void | ModCurrency (int a, string id="money") |
|
int | GetCurrency (string id="money") |
|
virtual void | HealHPHost (int a, HealSource origin=HealSource.None) |
|
virtual void | HealHP (int a, HealSource origin=HealSource.None) |
|
virtual int | ApplyProtection (int dmg, int mod=100) |
|
void | DamageHP (int dmg, AttackSource attackSource=AttackSource.None, Card origin=null) |
|
void | DamageHP (int dmg, int ele, int eleP=100, AttackSource attackSource=AttackSource.None, Card origin=null, bool showEffect=true) |
|
void | Explode (Point p, Card origin) |
|
void | Deconstruct () |
|
void | Destroy () |
|
void | SpawnLoot (Card origin) |
|
Thing | TryMakeRandomItem (int lv=-1) |
|
Card | MakeFoodFrom (string _id) |
|
Card | MakeFoodFrom (Card c) |
|
void | MakeFoodRef (Card c1, Card c2=null) |
|
string | TryGetFoodName (Card c) |
|
string | GetFoodName (string s) |
|
void | MakeFigureFrom (string id) |
|
void | MakeRefFrom (string id) |
|
void | MakeRefFrom (Card c1, Card c2=null) |
|
void | SetHidden (bool hide=true) |
|
unsafe void | MoveImmediate (Point p, bool focus=true, bool cancelAI=true) |
|
unsafe void | Teleport (Point point, bool silent=false, bool force=false) |
|
virtual void | OnLand () |
|
int | ResistLvFrom (int ele) |
|
int | ResistLv (int res) |
|
bool | HasElement (int ele, int req=1) |
|
bool | HasElement (string id, int req=1) |
|
void | AddBlood (int a=1, int id=-1) |
|
RenderParam | GetRenderParam () |
|
void | DyeRandom () |
|
void | Dye (string idMat) |
|
void | Dye (SourceMaterial.Row mat) |
|
void | RefreshColor () |
|
ref Color | GetRandomColor () |
|
void | SetImage (Image image, int dir, int idSkin=0) |
|
virtual void | SetImage (Image image) |
|
void | ShowEmo (Emo _emo=Emo.none, float duration=0f, bool skipSame=true) |
|
void | PlaySoundHold (bool spatial=true) |
|
void | PlaySoundDrop (bool spatial=true) |
|
SoundSource | PlaySound (string id, float v=1f, bool spatial=true) |
|
void | KillAnime () |
|
void | PlayAnime (AnimeID id, bool force=false) |
|
void | PlayAnime (AnimeID id, Point dest, bool force=false) |
|
void | PlayAnimeLoot () |
|
unsafe Effect | PlayEffect (string id, bool useRenderPos=true, float range=0f, Vector3 fix=default(Vector3)) |
|
unsafe void | PlayEffect (int ele, bool useRenderPos=true, float range=0f) |
|
void | SetRandomDir () |
|
void | ChangeAltitude (int a) |
|
unsafe void | SetFreePos (Point point) |
|
unsafe void | RenderMarker (Point point, bool active, HitResult result, bool main, int dir, bool useCurrentPosition=false) |
|
void | RecalculateFOV () |
|
bool | HasLight () |
|
float | GetLightPower () |
|
int | GetSightRadius () |
|
int | GetLightRadius () |
|
void | CalculateFOV () |
|
void | SetRandomLightColors () |
|
Fov | CreateFov () |
|
void | ClearFOV () |
|
virtual void | OnSimulateHour (VirtualDate date) |
|
void | DecayNatural (int hour=1) |
|
void | Decay (int a=10) |
|
void | Talk (string idTopic, string ref1=null, string ref2=null, bool forceSync=false) |
|
void | TalkRaw (string text, string ref1=null, string ref2=null, bool forceSync=false) |
|
string | ApplyNewLine (string text) |
|
void | SayRaw (string text, string ref1=null, string ref2=null) |
|
void | SayNothingHappans () |
|
void | Say (string lang, string ref1=null, string ref2=null) |
|
void | Say (string lang, Card c1, Card c2, string ref1=null, string ref2=null) |
|
void | Say (string lang, Card c1, string ref1=null, string ref2=null) |
|
string | GetTalkText (string idTopic, bool stripPun=false, bool useDefault=true) |
|
string | ApplyTone (string text, bool stripPun=false) |
|
void | SetRandomTalk () |
|
void | SetRandomTone () |
|
void | TryStack (Thing t) |
|
void | ApplyBacker (int bid) |
|
void | RemoveBacker () |
|
void | SetPaintData () |
|
byte[] | GetPaintData () |
|
void | ClearPaintSprite () |
|
Sprite | GetPaintSprite () |
|
void | TryUnrestrain (bool force=false, Chara c=null) |
|
TraitShackle | GetRestrainer () |
|
Thing | SetPriceFix (int a) |
|
int | GetEquipValue () |
|
void | SetSale (bool sale) |
|
int | GetValue (bool sell=false) |
|
virtual int | GetPrice (CurrencyType currency=CurrencyType.Money, bool sell=false, PriceType priceType=PriceType.Default, Chara c=null) |
|
int | Dist (Card c) |
|
int | Dist (Point p) |
|
bool | IsInMutterDistance (int d=10) |
|
void | SetCensored (bool enable) |
|
void | SetDeconstruct (bool deconstruct) |
|
virtual int | SecondaryCompare (UIList.SortMode m, Card c) |
|
void | ForeachFOV (Func< Point, bool > func) |
|
void | ForeachPoint (Action< Point, bool > action) |
|
void | OnInspect () |
|
void | Inspect () |
|
bool | HaveFur () |
|
bool | CanBeSheared () |
|
bool | GetBool (int id) |
|
void | SetBool (int id, bool enable) |
|
int | GetInt (int id, int? defaultInt=null) |
|
void | AddInt (int id, int value) |
|
void | SetInt (int id, int value=0) |
|
string | GetStr (int id, string defaultStr=null) |
|
void | SetStr (int id, string value=null) |
|
T | GetObj< T > (int id) |
|
void | SetObj (int id, object o) |
|
T | SetObj< T > (int id, object o) |
|