Elin Modding Docs Doc
Loading...
Searching...
No Matches
Chara Class Reference
Inheritance diagram for Chara:
Card IPathfindWalker BaseCard IReservable ICardParent IRenderSource IGlobalValue IInspect EClass

Public Member Functions

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< HobbyListWorks (bool useMemberType=true)
 
List< HobbyListHobbies (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)
 
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< ElementListAvailabeFeats (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)
 
- Public Member Functions inherited from Card
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 ()
 
- Public Member Functions inherited from BaseCard
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)
 
GetObj< T > (int id)
 
void SetObj (int id, object o)
 
SetObj< T > (int id, object o)
 
- Public Member Functions inherited from ICardParent
- Public Member Functions inherited from IGlobalValue
- Public Member Functions inherited from IInspect

Public Attributes

int contribution
 
Point orgPos
 
Quest quest
 
Chara ride
 
Chara parasite
 
Chara host
 
ElementContainer tempElements
 
ElementContainer faithElements
 
ElementContainer workElements
 
Party party
 
FactionMemberType memberType
 
List< int > _hobbies
 
List< int > _works
 
WorkSummary _workSummary
 
List< int > _cooldowns
 
List< int > _listAbility
 
PCCData pccData
 
Card held
 
int[] rawSlots
 
GlobalData global
 
string[] _strs = new string[5]
 
int[] _cints = new int[30]
 
BitArray32 _cbits1
 
Chara enemy
 
Chara master
 
Point lastPos = new Point()
 
PathProgress path = new PathProgress()
 
CharaBody body = new CharaBody()
 
CharaAbility _ability
 
Thing ranged
 
Thing nextUse
 
ConSleep conSleep
 
ConSuspend conSuspend
 
Emo2 emoIcon
 
int happiness
 
int turnLastSeen = -100
 
int idleActTimer
 
int combatCount
 
int calmCheckTurn
 
int sharedCheckTurn
 
float idleTimer
 
bool isDrunk
 
bool isConfused
 
bool isFainted
 
bool isBlind
 
bool isParalyzed
 
bool isLevitating
 
bool isCreated
 
bool canSeeInvisible
 
bool hasTelepathy
 
bool isWet
 
bool bossText
 
SourceChara.Row source
 
SourceRace.Row _race
 
SourceJob.Row _job
 
Tactics _tactics
 
bool dirtySpeed = true
 
float actTime = 0.3f
 
GoalList goalList = new GoalList()
 
AIAct ai = new NoGoal()
 
List< Conditionconditions = new List<Condition>()
 
Dictionary< int, int > resistCon
 
- Public Attributes inherited from Card
int[] _ints = new int[30]
 
string id = ""
 
ThingContainer things = new ThingContainer()
 
ElementContainerCard elements = new ElementContainerCard()
 
Biography bio
 
List< int > sockets
 
AIAct reservedAct
 
Props props
 
Trait trait
 
ICardParent parent
 
Fov fov
 
Point pos = new Point()
 
CardRenderer renderer
 
int turn
 
int _colorInt
 
float roundTimer
 
float angle = 180f
 
bool isDestroyed
 
CardBlueprint bp
 
BitArray32 _bits1
 
BitArray32 _bits2
 
PlaceState placeState
 
bool dirtyWeight = true
 
SourceMaterial.Row _material
 
Emo lastEmo
 
int sortVal
 
- Public Attributes inherited from BaseCard
Dictionary< int, object > mapObj = new Dictionary<int, object>()
 
Dictionary< int, int > mapInt = new Dictionary<int, int>()
 
Dictionary< int, string > mapStr = new Dictionary<int, string>()
 

Static Public Attributes

static string[] IDTimeTable
 
static List< SourceRace.RowListAdvRace = new List<SourceRace.Row>()
 
static List< SourceJob.RowListAdvJob = new List<SourceJob.Row>()
 
static bool consumeTurn
 
static bool preventRegen
 
static bool isOnCreate
 
static NoGoal _NoGoalPC = new NoGoal()
 
static NoGoal _NoGoalRepeat = new NoGoal()
 
- Static Public Attributes inherited from EClass
static Core core
 

Protected Member Functions

override void OnSerializing ()
 
override void OnDeserialized ()
 
- Protected Member Functions inherited from Card

Properties

string Aka [get]
 
string _alias [get, set]
 
string idFaith [get, set]
 
string idFaction [get, set]
 
Zone currentZone [get, set]
 
Zone homeZone [get, set]
 
GoalListType goalListType [get, set]
 
Hostility hostility [get, set]
 
int _affinity [get, set]
 
Affinity affinity [get]
 
int interest [get, set]
 
int daysStarved [get, set]
 
int _idTimeTable [get, set]
 
int uidEditor [get, set]
 
int _maxStamina [get, set]
 
int corruption [get, set]
 
bool isDead [get, set]
 
bool isAlawysVisible [get, set]
 
bool knowFav [get, set]
 
CharaAbility ability [get]
 
Faction faction [get, set]
 
Religion faith [get, set]
 
override CardRow sourceCard [get]
 
override CardRow sourceRenderCard [get]
 
SourceRace.Row race [get]
 
SourceJob.Row job [get]
 
string idTimeTable [get]
 
Hostility OriginalHostility [get]
 
string IDPCCBodySet [get]
 
new TraitChara trait [get, set]
 
string NameBraced [get]
 
string NameTitled [get]
 
override string actorPrefab [get]
 
override int PrefIndex [get]
 
override bool flipX [get]
 
override string AliasMaterialOnCreate [get]
 
override bool IsAliveInCurrentZone [get]
 
override bool IsDeadOrSleeping [get]
 
override bool IsDisabled [get]
 
override bool IsMoving [get]
 
override bool IsGlobal [get]
 
override bool IsPC [get]
 
override bool IsPCParty [get]
 
override bool IsMinion [get]
 
override bool IsPCPartyMinion [get]
 
override bool IsPCFactionMinion [get]
 
override bool IsPCFaction [get]
 
override bool IsPCC [get]
 
override bool isThing [get]
 
override bool isChara [get]
 
override bool HasHost [get]
 
override bool isSynced [get]
 
override bool IsMultisize [get]
 
override int MaxHP [get]
 
override int WeightLimit [get]
 
override int SelfWeight [get]
 
int MaxSummon [get]
 
Element MainElement [get]
 
override int DV [get]
 
override int PV [get]
 
bool CanOpenDoor [get]
 
Tactics tactics [get]
 
TimeTable.Span CurrentSpan [get]
 
bool IsInActiveZone [get]
 
bool IsLocalChara [get]
 
bool IsIdle [get]
 
bool IsInCombat [get]
 
int DestDist [get]
 
bool HasNoGoal [get]
 
bool CanWitness [get]
 
bool IsHuman [get]
 
bool IsHumanSpeak [get]
 
bool IsMaid [get]
 
bool IsPrisoner [get]
 
bool IsAdventurer [get]
 
bool IsEyth [get]
 
bool IsWealthy [get]
 
FactionBranch homeBranch [get]
 
int MaxGene [get]
 
int Speed [get]
 
bool IsMofuable [get]
 
Stats hunger [get]
 
Stats burden [get]
 
Stats stamina [get]
 
Stats depression [get]
 
Stats bladder [get]
 
Stats hygiene [get]
 
Stats mana [get]
 
Stats sleepiness [get]
 
Stats SAN [get]
 
bool CanGainConResist [get]
 
- Properties inherited from Card
Card parentCard [get]
 
Thing parentThing [get]
 
int colorInt [get]
 
bool IsHotItem [get]
 
int uid [get, set]
 
int idMaterial [get, set]
 
int dir [get, set]
 
int Num [get, set]
 
int _x [get, set]
 
int _z [get, set]
 
int refVal [get, set]
 
int decay [get, set]
 
int altitude [get, set]
 
int hp [get, set]
 
float fx [get, set]
 
float fy [get, set]
 
BlessedState blessedState [get, set]
 
PlaceState _placeState [get, set]
 
int rarityLv [get, set]
 
Rarity rarity [get, set]
 
int encLV [get, set]
 
int posInvX [get, set]
 
int posInvY [get, set]
 
int idSkin [get, set]
 
int feat [get, set]
 
int LV [get, set]
 
int exp [get, set]
 
int qualityTier [get, set]
 
bool isCensored [get, set]
 
bool isDeconstructing [get, set]
 
bool isDyed [get, set]
 
bool isModified [get, set]
 
bool isNew [get, set]
 
bool isPlayerCreation [get, set]
 
bool ignoreAutoPick [get, set]
 
bool freePos [get, set]
 
bool isHidden [get, set]
 
bool isOn [get, set]
 
bool isNPCProperty [get, set]
 
bool isRestrained [get, set]
 
bool isRoofItem [get, set]
 
bool isMasked [get, set]
 
bool disableAutoToggle [get, set]
 
bool isImported [get, set]
 
bool autoRefuel [get, set]
 
bool ignoreStackHeight [get, set]
 
bool isFloating [get, set]
 
bool isWeightChanged [get, set]
 
bool isFireproof [get, set]
 
bool isAcidproof [get, set]
 
bool isReplica [get, set]
 
bool isSummon [get, set]
 
bool isElemental [get, set]
 
bool isBroken [get, set]
 
bool isSubsetCard [get, set]
 
bool noSnow [get, set]
 
bool noMove [get, set]
 
bool isGifted [get, set]
 
bool isCrafted [get, set]
 
bool isLostProperty [get, set]
 
bool noShadow [get, set]
 
bool noSell [get, set]
 
bool isLeashed [get, set]
 
bool isStolen [get, set]
 
bool isSale [get, set]
 
bool isCopy [get, set]
 
bool isRestocking [get, set]
 
bool isBackerContent [get]
 
SourceBacker.Row sourceBacker [get]
 
BedType c_bedType [get, set]
 
int c_equippedSlot [get, set]
 
int c_lockLv [get, set]
 
Hostility c_originalHostility [get, set]
 
MinionType c_minionType [get, set]
 
int c_vomit [get, set]
 
bool c_isImportant [get, set]
 
bool c_lockedHard [get, set]
 
bool c_revealLock [get, set]
 
bool c_isTrained [get, set]
 
bool c_isPrayed [get, set]
 
int c_lightColor [get, set]
 
Color LightColor [get]
 
int c_uidZone [get, set]
 
int c_uidRefCard [get, set]
 
int c_priceFix [get, set]
 
int c_priceAdd [get, set]
 
int c_dyeMat [get, set]
 
VisitorState visitorState [get, set]
 
RescueState c_rescueState [get, set]
 
BossType c_bossType [get, set]
 
int c_dateStockExpire [get, set]
 
int c_IDTState [get, set]
 
int c_charges [get, set]
 
int c_bill [get, set]
 
int c_invest [get, set]
 
int c_seed [get, set]
 
int c_allowance [get, set]
 
int c_fur [get, set]
 
int c_containerSize [get, set]
 
int c_weight [get, set]
 
int c_diceDim [get, set]
 
int c_indexContainerIcon [get, set]
 
int c_idMainElement [get, set]
 
int c_summonDuration [get, set]
 
int c_idBacker [get, set]
 
int c_uidMaster [get, set]
 
int c_ammo [get, set]
 
int c_daysWithGod [get, set]
 
string c_idPortrait [get, set]
 
string c_idRace [get, set]
 
string c_idJob [get, set]
 
string c_idTone [get, set]
 
string c_color [get, set]
 
string c_idTalk [get, set]
 
string c_idDeity [get, set]
 
string c_altName [get, set]
 
string c_altName2 [get, set]
 
string c_refText [get, set]
 
string c_idRefName [get, set]
 
string c_idRidePCC [get, set]
 
string c_idAbility [get, set]
 
string c_context [get, set]
 
string c_idEditor [get, set]
 
string c_editorTags [get, set]
 
string c_editorTraitVal [get, set]
 
string c_idTrait [get, set]
 
string c_idRefCard [get, set]
 
string c_idRefCard2 [get, set]
 
string c_note [get, set]
 
UniqueData c_uniqueData [get, set]
 
Thing ammoData [get, set]
 
Thing c_copyContainer [get, set]
 
Window.SaveData c_windowSaveData [get, set]
 
CharaUpgrade c_upgrades [get, set]
 
CharaGenes c_genes [get, set]
 
ContainerUpgrade c_containerUpgrade [get, set]
 
DNA c_DNA [get, set]
 
CharaList c_charaList [get, set]
 
byte[] c_textureData [get, set]
 
SourceMaterial.Row DyeMat [get]
 
int invX [get, set]
 
int invY [get, set]
 
CardRow refCard [get]
 
CardRow refCard2 [get]
 
int ExpToNext [get]
 
int DefaultLV [get]
 
int ChildrenWeight [get]
 
int ChildrenAndSelfWeight [get]
 
int ChildrenAndSelfWeightSingle [get]
 
virtual int SelfWeight [get]
 
virtual int WeightLimit [get]
 
SourceCategory.Row category [get]
 
SourceMaterial.Row material [get]
 
virtual string AliasMaterialOnCreate [get]
 
Cell Cell [get]
 
virtual Thing Thing [get]
 
virtual Chara Chara [get]
 
virtual bool isThing [get]
 
virtual bool isChara [get]
 
bool ExistsOnMap [get]
 
virtual bool isSynced [get]
 
bool IsContainer [get]
 
bool IsUnique [get]
 
bool IsPowerful [get]
 
bool IsImportant [get]
 
virtual SourcePref Pref [get]
 
virtual bool IsDeadOrSleeping [get]
 
virtual bool IsDisabled [get]
 
virtual bool IsMoving [get]
 
virtual bool flipX [get]
 
virtual bool IsAliveInCurrentZone [get]
 
virtual string actorPrefab [get]
 
virtual CardRow sourceCard [get]
 
virtual CardRow sourceRenderCard [get]
 
TileType TileType [get]
 
string Name [get]
 
string NameSimple [get]
 
virtual bool IsPC [get]
 
bool _IsPC [get]
 
virtual bool IsPCC [get]
 
virtual bool IsPCParty [get]
 
virtual bool IsMinion [get]
 
virtual bool IsPCPartyMinion [get]
 
virtual bool IsPCFactionMinion [get]
 
virtual bool IsMultisize [get]
 
bool IsToolbelt [get]
 
bool IsLightsource [get]
 
bool IsEquipment [get]
 
bool IsFood [get]
 
bool ShowFoodEnc [get]
 
bool IsWeapon [get]
 
bool IsEquipmentOrRanged [get]
 
bool IsMeleeWeapon [get]
 
bool IsRangedWeapon [get]
 
bool IsThrownWeapon [get]
 
bool IsAmmo [get]
 
bool IsAgent [get]
 
bool IsFurniture [get]
 
bool IsBlessed [get]
 
bool IsCursed [get]
 
bool IsRestrainedResident [get]
 
virtual bool IsPCFaction [get]
 
bool IsPCFactionOrMinion [get]
 
virtual bool IsGlobal [get]
 
virtual int MaxDecay [get]
 
bool IsDecayed [get]
 
bool IsRotting [get]
 
bool IsFresn [get]
 
virtual int MaxHP [get]
 
virtual int Power [get]
 
int FameLv [get]
 
virtual int[] Tiles [get]
 
virtual int PrefIndex [get]
 
bool IsVariation [get]
 
virtual int DV [get]
 
virtual int PV [get]
 
int HIT [get]
 
int DMG [get]
 
int STR [get]
 
int DEX [get]
 
int END [get]
 
int PER [get]
 
int LER [get]
 
int WIL [get]
 
int MAG [get]
 
int CHA [get]
 
int INT [get]
 
int LUC [get]
 
int W [get]
 
int H [get]
 
bool IsIdentified [get]
 
string TextRarity [get]
 
bool IsInstalled [get]
 
bool IsMale [get]
 
bool IsNegativeGift [get]
 
bool HasContainerSize [get]
 
Thing Tool [get]
 
virtual SourceMaterial.Row DefaultMaterial [get]
 
virtual bool HasHost [get]
 
int Quality [get]
 
int QualityLv [get]
 
Point ThisOrParentPos [get]
 
LightData LightData [get]
 
CardRenderer HostRenderer [get]
 
bool ShouldShowMsg [get]
 
bool CanInspect [get]
 
string InspectName [get]
 
Point InspectPoint [get]
 
Vector3 InspectPosition [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]
 
- Properties inherited from IInspect

Additional Inherited Members

- Public Types inherited from Card
enum  MoveResult { Fail , Success , Door }
 
enum  MoveType { Walk , Force }
 
- Public Types inherited from IInspect
enum  NoteMode { Default , Recipe , Product , Info }
 
- Static Public Member Functions inherited from Card
static string ApplyTone (Chara c, ref string text, string _tones, int gender, bool stripPun=false)
 
static int GetTilePrice (TileRow row, SourceMaterial.Row mat)
 
- 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)
 
- Static Package Functions inherited from Card

Detailed Description

Definition at line 11 of file Chara.cs.

Member Function Documentation

◆ _CreateRenderer()

override CardRenderer Chara._CreateRenderer ( )
virtual

Reimplemented from Card.

Definition at line 6014 of file Chara.cs.

◆ _MakeAlly()

void Chara._MakeAlly ( )

Definition at line 2066 of file Chara.cs.

◆ _Move()

override Card.MoveResult Chara._Move ( Point newPoint,
Card.MoveType type = Card::MoveType::Walk )
virtual

Reimplemented from Card.

Definition at line 2479 of file Chara.cs.

◆ AddCondition() [1/2]

Condition Chara.AddCondition ( Condition c,
bool force = false )

Definition at line 8433 of file Chara.cs.

◆ AddCondition() [2/2]

Condition Chara.AddCondition ( string id,
int p = 100,
bool force = false )

Definition at line 8427 of file Chara.cs.

◆ AddCondition< T >()

Condition Chara.AddCondition< T > ( int p = 100,
bool force = false )
Type Constraints
T :Condition 

Definition at line 8421 of file Chara.cs.

◆ AddCooldown()

void Chara.AddCooldown ( int idEle,
int turns = 0 )

Definition at line 7835 of file Chara.cs.

◆ AddHobby()

void Chara.AddHobby ( int id)

Definition at line 8167 of file Chara.cs.

◆ AddRandomBodyPart()

void Chara.AddRandomBodyPart ( bool msg = false)

Definition at line 1974 of file Chara.cs.

◆ AddResistCon()

void Chara.AddResistCon ( Condition con)

Definition at line 8809 of file Chara.cs.

◆ AddWork()

void Chara.AddWork ( int id)

Definition at line 8183 of file Chara.cs.

◆ ApplyDeathPenalty()

void Chara.ApplyDeathPenalty ( )

Definition at line 4835 of file Chara.cs.

◆ ApplyEditorTags()

override void Chara.ApplyEditorTags ( EditorTag tag)
virtual

Reimplemented from Card.

Definition at line 1789 of file Chara.cs.

◆ ApplyJob()

void Chara.ApplyJob ( bool remove = false)

Definition at line 1872 of file Chara.cs.

◆ ApplyRace()

void Chara.ApplyRace ( bool remove = false)

Definition at line 1997 of file Chara.cs.

◆ CalcBurden()

void Chara.CalcBurden ( )

Definition at line 1599 of file Chara.cs.

◆ CalcCastingChance()

int Chara.CalcCastingChance ( Element e,
int num = 1 )

Definition at line 5537 of file Chara.cs.

◆ CalculateMaxStamina()

void Chara.CalculateMaxStamina ( )

Definition at line 1763 of file Chara.cs.

◆ CallHelp()

void Chara.CallHelp ( Chara tg,
bool fanatic = false )

Definition at line 5817 of file Chara.cs.

◆ CanAcceptGift()

bool Chara.CanAcceptGift ( Chara c,
Card t )

Definition at line 7457 of file Chara.cs.

◆ CanAcceptItem()

bool Chara.CanAcceptItem ( Card t,
int num = -1 )

Definition at line 7451 of file Chara.cs.

◆ CanAutoPick()

bool Chara.CanAutoPick ( Card c)

Definition at line 3815 of file Chara.cs.

◆ CanBeTempAlly()

bool Chara.CanBeTempAlly ( Chara c)

Definition at line 2078 of file Chara.cs.

◆ CanDestroyPath()

bool Chara.CanDestroyPath ( )

Definition at line 2149 of file Chara.cs.

◆ CanEat()

bool Chara.CanEat ( Thing t,
bool shouldEat = false )

Definition at line 6930 of file Chara.cs.

◆ CanEquipRanged()

bool Chara.CanEquipRanged ( Thing t)

Definition at line 7045 of file Chara.cs.

◆ CanInsult()

bool Chara.CanInsult ( )

Definition at line 7315 of file Chara.cs.

◆ CanInteractTo() [1/2]

bool Chara.CanInteractTo ( Card c)

Definition at line 2252 of file Chara.cs.

◆ CanInteractTo() [2/2]

bool Chara.CanInteractTo ( Point p)

Definition at line 2258 of file Chara.cs.

◆ CanLift()

bool Chara.CanLift ( Card c)

Definition at line 3809 of file Chara.cs.

◆ CanMoveTo()

bool Chara.CanMoveTo ( Point p,
bool allowDestroyPath = true )

Definition at line 2155 of file Chara.cs.

◆ CanPick()

bool Chara.CanPick ( Card c)

Definition at line 3821 of file Chara.cs.

◆ CanReplace()

bool Chara.CanReplace ( Chara c)

Definition at line 2939 of file Chara.cs.

◆ CanSee()

bool Chara.CanSee ( Card c)

Definition at line 850 of file Chara.cs.

◆ CanSeeLos() [1/2]

bool Chara.CanSeeLos ( Card c,
int dist = -1,
bool includeTelepathy = false )

Definition at line 875 of file Chara.cs.

◆ CanSeeLos() [2/2]

bool Chara.CanSeeLos ( Point p,
int dist = -1 )

Definition at line 881 of file Chara.cs.

◆ CanSeeSimple()

bool Chara.CanSeeSimple ( Point p)

Definition at line 844 of file Chara.cs.

◆ CanSleep()

bool Chara.CanSleep ( )

Definition at line 1054 of file Chara.cs.

◆ ChangeJob()

void Chara.ChangeJob ( string idNew)

Definition at line 1882 of file Chara.cs.

◆ ChangeMemberType()

void Chara.ChangeMemberType ( FactionMemberType type)

Definition at line 6414 of file Chara.cs.

◆ ChangeRace()

void Chara.ChangeRace ( string idNew)

Definition at line 2018 of file Chara.cs.

◆ ChangeRarity()

override void Chara.ChangeRarity ( Rarity r)
virtual

Reimplemented from Card.

Definition at line 1195 of file Chara.cs.

◆ ChooseNewGoal()

void Chara.ChooseNewGoal ( )

Definition at line 7893 of file Chara.cs.

◆ ClearBed()

void Chara.ClearBed ( Map map = null)

Definition at line 6686 of file Chara.cs.

◆ ClearInventory()

void Chara.ClearInventory ( ClearInventoryType type)

Definition at line 7692 of file Chara.cs.

◆ CreateReplacement()

Chara Chara.CreateReplacement ( )

Definition at line 7236 of file Chara.cs.

◆ Cuddle()

void Chara.Cuddle ( Chara c,
bool headpat = false )

Definition at line 5641 of file Chara.cs.

◆ Cure()

void Chara.Cure ( CureType type,
int p = 100,
BlessedState state = BlessedState::Normal )

Definition at line 8677 of file Chara.cs.

◆ CureCondition< T >()

void Chara.CureCondition< T > ( int v = 99999)
Type Constraints
T :Condition 

Definition at line 8621 of file Chara.cs.

◆ CureHost()

void Chara.CureHost ( CureType type,
int p = 100,
BlessedState state = BlessedState::Normal )

Definition at line 8663 of file Chara.cs.

◆ CureTempElements()

void Chara.CureTempElements ( int p,
bool body,
bool mind )

Definition at line 9327 of file Chara.cs.

◆ DamageTempElement()

void Chara.DamageTempElement ( int ele,
int p )

Definition at line 9286 of file Chara.cs.

◆ DamageTempElements()

void Chara.DamageTempElements ( int p,
bool body,
bool mind )

Definition at line 9273 of file Chara.cs.

◆ DestroyPath()

void Chara.DestroyPath ( Point pos)

Definition at line 2840 of file Chara.cs.

◆ Die()

override void Chara.Die ( Element e = null,
Card origin = null,
AttackSource attackSource = AttackSource::None )
virtual

Reimplemented from Card.

Definition at line 4900 of file Chara.cs.

◆ DiminishTempElements()

void Chara.DiminishTempElements ( int a = 1)

Definition at line 9311 of file Chara.cs.

◆ DoAI()

void Chara.DoAI ( int wait,
Action onPerform )

Definition at line 5618 of file Chara.cs.

◆ DoHostileAction()

void Chara.DoHostileAction ( Card _tg,
bool immediate = false )

Definition at line 5729 of file Chara.cs.

◆ Drink()

void Chara.Drink ( Card t)

Definition at line 4697 of file Chara.cs.

◆ DropHeld()

Card Chara.DropHeld ( Point dropPos = null)

Definition at line 4154 of file Chara.cs.

◆ DropThing()

void Chara.DropThing ( Thing t,
int num = -1 )

Definition at line 4175 of file Chara.cs.

◆ Duplicate()

Chara Chara.Duplicate ( )

Definition at line 1554 of file Chara.cs.

◆ EnhanceTempElement()

void Chara.EnhanceTempElement ( int ele,
int p )

Definition at line 9305 of file Chara.cs.

◆ EnhanceTempElements()

void Chara.EnhanceTempElements ( int p,
bool body,
bool mind )

Definition at line 9292 of file Chara.cs.

◆ EQ_CAT()

void Chara.EQ_CAT ( string s)

Definition at line 4667 of file Chara.cs.

◆ EQ_ID()

Thing Chara.EQ_ID ( string s,
int mat = -1,
Rarity r = Rarity::Random )

Definition at line 4650 of file Chara.cs.

◆ EQ_Item()

void Chara.EQ_Item ( string s,
int num = 1 )

Definition at line 4689 of file Chara.cs.

◆ EvalueRiding()

int Chara.EvalueRiding ( )

Definition at line 5527 of file Chara.cs.

◆ FallFromZone()

void Chara.FallFromZone ( )

Definition at line 3162 of file Chara.cs.

◆ FindBed()

TraitBed Chara.FindBed ( )

Definition at line 6703 of file Chara.cs.

◆ FindMaster()

Chara Chara.FindMaster ( )

Definition at line 2121 of file Chara.cs.

◆ FindNearestNewEnemy()

bool Chara.FindNearestNewEnemy ( )

Definition at line 5882 of file Chara.cs.

◆ FindNewEnemy()

bool Chara.FindNewEnemy ( )

Definition at line 5829 of file Chara.cs.

◆ FindRoom()

Room Chara.FindRoom ( )

Definition at line 7172 of file Chara.cs.

◆ GainAbility()

void Chara.GainAbility ( int ele,
int mtp = 100 )

Definition at line 9134 of file Chara.cs.

◆ GetActionText()

string Chara.GetActionText ( )

Definition at line 6633 of file Chara.cs.

◆ GetArmorSkill()

override int Chara.GetArmorSkill ( )
virtual

Reimplemented from Card.

Definition at line 7116 of file Chara.cs.

◆ GetBestRangedWeapon()

Thing Chara.GetBestRangedWeapon ( )

Definition at line 7076 of file Chara.cs.

◆ GetBuffStats() [1/2]

Element Chara.GetBuffStats ( int ele)

Definition at line 8607 of file Chara.cs.

◆ GetBuffStats() [2/2]

Element Chara.GetBuffStats ( string alias)

Definition at line 8601 of file Chara.cs.

◆ GetBurden()

int Chara.GetBurden ( Card t = null,
int num = -1 )

Definition at line 1579 of file Chara.cs.

◆ GetCondition< T >()

T Chara.GetCondition< T > ( )
Type Constraints
T :Condition 

Definition at line 8637 of file Chara.cs.

◆ GetCurrentDir()

int Chara.GetCurrentDir ( )

Definition at line 3298 of file Chara.cs.

◆ GetDestination()

Point Chara.GetDestination ( )

Definition at line 6604 of file Chara.cs.

◆ GetFavArmorSkill()

Element Chara.GetFavArmorSkill ( )

Definition at line 4227 of file Chara.cs.

◆ GetFavAttackStyle()

AttackStyle Chara.GetFavAttackStyle ( )

Definition at line 4200 of file Chara.cs.

◆ GetFavCat()

SourceCategory.Row Chara.GetFavCat ( )

Definition at line 7279 of file Chara.cs.

◆ GetFavFood()

SourceThing.Row Chara.GetFavFood ( )

Definition at line 7258 of file Chara.cs.

◆ GetFavWeaponSkill()

Element Chara.GetFavWeaponSkill ( )

Definition at line 4221 of file Chara.cs.

◆ GetFirstStep()

Point Chara.GetFirstStep ( Point newPoint,
PathManager.MoveType moveType = PathManager::MoveType::Default )

Definition at line 2305 of file Chara.cs.

◆ GetGoalFromTimeTable()

Goal Chara.GetGoalFromTimeTable ( int hour)

Definition at line 7926 of file Chara.cs.

◆ GetGoalHobby()

Goal Chara.GetGoalHobby ( )

Definition at line 7973 of file Chara.cs.

◆ GetGoalWork()

Goal Chara.GetGoalWork ( )

Definition at line 7959 of file Chara.cs.

◆ GetHappiness()

int Chara.GetHappiness ( )

Definition at line 6616 of file Chara.cs.

◆ GetHireCost()

int Chara.GetHireCost ( )

Definition at line 6610 of file Chara.cs.

◆ GetHoverText()

override string Chara.GetHoverText ( )
virtual

Reimplemented from Card.

Definition at line 6134 of file Chara.cs.

◆ GetHoverText2()

override string Chara.GetHoverText2 ( )
virtual

Reimplemented from Card.

Definition at line 6190 of file Chara.cs.

◆ GetIdPortrait()

string Chara.GetIdPortrait ( )

Definition at line 7346 of file Chara.cs.

◆ GetIdPortraitCat()

string Chara.GetIdPortraitCat ( )

Definition at line 7331 of file Chara.cs.

◆ GetImageSprite()

override Sprite Chara.GetImageSprite ( )
virtual

Reimplemented from Card.

Definition at line 6408 of file Chara.cs.

◆ GetName()

override string Chara.GetName ( NameStyle style,
int num = -1 )
virtual

Reimplemented from Card.

Definition at line 1142 of file Chara.cs.

◆ GetPietyValue()

int Chara.GetPietyValue ( )

Definition at line 9188 of file Chara.cs.

◆ GetRevived()

void Chara.GetRevived ( )

Definition at line 4709 of file Chara.cs.

◆ GetSprite()

override Sprite Chara.GetSprite ( int dir = 0)
virtual

Reimplemented from Card.

Definition at line 6060 of file Chara.cs.

◆ GetSubPassData()

override SubPassData Chara.GetSubPassData ( )
virtual

Reimplemented from Card.

Definition at line 6087 of file Chara.cs.

◆ GetTextHappiness()

string Chara.GetTextHappiness ( )

Definition at line 6627 of file Chara.cs.

◆ GetTextHobby()

string Chara.GetTextHobby ( bool simple = false)

Definition at line 8145 of file Chara.cs.

◆ GetTextWork()

string Chara.GetTextWork ( bool simple = false)

Definition at line 8156 of file Chara.cs.

◆ GetTopicText()

string Chara.GetTopicText ( string topic = "calm")

Definition at line 6310 of file Chara.cs.

◆ GetTotalFeat()

int Chara.GetTotalFeat ( )

Definition at line 7300 of file Chara.cs.

◆ GetWork()

Hobby Chara.GetWork ( string id)

Definition at line 8099 of file Chara.cs.

◆ GetWorkSummary()

WorkSummary Chara.GetWorkSummary ( )

Definition at line 8237 of file Chara.cs.

◆ GiveBirth()

Thing Chara.GiveBirth ( Thing t,
bool effect )

Definition at line 7367 of file Chara.cs.

◆ GiveGift()

void Chara.GiveGift ( Chara c,
Thing t )

Definition at line 7463 of file Chara.cs.

◆ GiveLovePotion()

void Chara.GiveLovePotion ( Chara c,
Thing t )

Definition at line 7605 of file Chara.cs.

◆ HasCondition()

bool Chara.HasCondition ( string alias)

Definition at line 8588 of file Chara.cs.

◆ HasCondition< T >()

override bool Chara.HasCondition< T > ( )
virtual

Reimplemented from Card.

Definition at line 8575 of file Chara.cs.

◆ HasCooldown()

bool Chara.HasCooldown ( int idEle)

Definition at line 7854 of file Chara.cs.

◆ HasHigherGround()

bool Chara.HasHigherGround ( Card c)

Definition at line 832 of file Chara.cs.

◆ HealAll()

void Chara.HealAll ( )

Definition at line 1517 of file Chara.cs.

◆ HoldCard()

void Chara.HoldCard ( Card t,
int num = -1 )

Definition at line 4034 of file Chara.cs.

◆ InitStats()

void Chara.InitStats ( bool onDeserialize = false)

Definition at line 8403 of file Chara.cs.

◆ InstantEat()

void Chara.InstantEat ( Thing t = null,
bool sound = true )

Definition at line 6906 of file Chara.cs.

◆ IsBranchMember()

bool Chara.IsBranchMember ( )

Definition at line 5951 of file Chara.cs.

◆ IsCriticallyWounded()

bool Chara.IsCriticallyWounded ( bool includeRide = false)

Definition at line 576 of file Chara.cs.

◆ IsEnemyOnPath()

bool Chara.IsEnemyOnPath ( Point p,
bool cancelAI = true )

Definition at line 2227 of file Chara.cs.

◆ IsEscorted()

bool Chara.IsEscorted ( )

Definition at line 2131 of file Chara.cs.

◆ IsFriendOrAbove() [1/2]

bool Chara.IsFriendOrAbove ( )

Definition at line 5991 of file Chara.cs.

◆ IsFriendOrAbove() [2/2]

bool Chara.IsFriendOrAbove ( Chara c)

Definition at line 5997 of file Chara.cs.

◆ IsGuest()

bool Chara.IsGuest ( )

Definition at line 5985 of file Chara.cs.

◆ IsHomeMember()

bool Chara.IsHomeMember ( )

Definition at line 5957 of file Chara.cs.

◆ IsHostile() [1/2]

bool Chara.IsHostile ( )

Definition at line 5898 of file Chara.cs.

◆ IsHostile() [2/2]

bool Chara.IsHostile ( Chara c)

Definition at line 5904 of file Chara.cs.

◆ IsInHomeZone()

bool Chara.IsInHomeZone ( )

Definition at line 5963 of file Chara.cs.

◆ IsInSpot< T >()

bool Chara.IsInSpot< T > ( )
Type Constraints
T :TraitSpot 

Definition at line 5969 of file Chara.cs.

◆ IsNeutral()

bool Chara.IsNeutral ( )

Definition at line 5939 of file Chara.cs.

◆ IsNeutralOrAbove()

bool Chara.IsNeutralOrAbove ( )

Definition at line 5945 of file Chara.cs.

◆ IsValidGiftWeight()

bool Chara.IsValidGiftWeight ( Card t,
int num = -1 )

Definition at line 7444 of file Chara.cs.

◆ Kick() [1/2]

void Chara.Kick ( Chara t,
bool ignoreSelf = false,
bool karmaLoss = true )

Definition at line 5245 of file Chara.cs.

◆ Kick() [2/2]

void Chara.Kick ( Point p,
bool ignoreSelf = false )

Definition at line 5236 of file Chara.cs.

◆ ListAvailabeFeats()

List< Element > Chara.ListAvailabeFeats ( bool pet = false)

Definition at line 8980 of file Chara.cs.

◆ ListHobbies()

List< Hobby > Chara.ListHobbies ( bool useMemberType = true)

Definition at line 8078 of file Chara.cs.

◆ ListWorks()

List< Hobby > Chara.ListWorks ( bool useMemberType = true)

Definition at line 8050 of file Chara.cs.

◆ LookAt() [1/2]

override void Chara.LookAt ( Card c)
virtual

Reimplemented from Card.

Definition at line 3199 of file Chara.cs.

◆ LookAt() [2/2]

override void Chara.LookAt ( Point p)
virtual

Reimplemented from Card.

Definition at line 3205 of file Chara.cs.

◆ MakeAlly()

void Chara.MakeAlly ( bool msg = true)

Definition at line 2035 of file Chara.cs.

◆ MakeBraineCell()

Thing Chara.MakeBraineCell ( )

Definition at line 7389 of file Chara.cs.

◆ MakeEgg()

Thing Chara.MakeEgg ( bool effect = true,
int num = 1,
bool addToZone = true )

Definition at line 7412 of file Chara.cs.

◆ MakeGene()

Thing Chara.MakeGene ( DNA.Type? type = null)

Definition at line 7383 of file Chara.cs.

◆ MakeGrave()

void Chara.MakeGrave ( string lastword)

Definition at line 4797 of file Chara.cs.

◆ MakeMilk()

Thing Chara.MakeMilk ( bool effect = true,
int num = 1,
bool addToZone = true )

Definition at line 7395 of file Chara.cs.

◆ MakeMinion()

void Chara.MakeMinion ( Chara _master,
MinionType type = MinionType::Default )

Definition at line 2084 of file Chara.cs.

◆ MakePartyMemeber()

void Chara.MakePartyMemeber ( )

Definition at line 2028 of file Chara.cs.

◆ ModAffinity()

void Chara.ModAffinity ( Chara c,
int a,
bool show = true )

Definition at line 7183 of file Chara.cs.

◆ ModCorruption()

void Chara.ModCorruption ( int a)

Definition at line 8951 of file Chara.cs.

◆ ModHeight()

void Chara.ModHeight ( int a)

Definition at line 8906 of file Chara.cs.

◆ ModTempElement()

void Chara.ModTempElement ( int ele,
int a,
bool naturalDecay = false )

Definition at line 9242 of file Chara.cs.

◆ ModWeight()

void Chara.ModWeight ( int a,
bool ignoreLimit = false )

Definition at line 8923 of file Chara.cs.

◆ MoveByForce()

void Chara.MoveByForce ( Point newPoint,
Card c = null,
bool checkWall = false )

Definition at line 2337 of file Chara.cs.

◆ MoveHome() [1/2]

void Chara.MoveHome ( string id,
int x = -1,
int z = -1 )

Definition at line 3110 of file Chara.cs.

◆ MoveHome() [2/2]

void Chara.MoveHome ( Zone zone,
int x = -1,
int z = -1 )

Definition at line 3116 of file Chara.cs.

◆ MoveNeighborDefinitely()

bool Chara.MoveNeighborDefinitely ( )

Definition at line 2318 of file Chara.cs.

◆ MoveRandom()

bool Chara.MoveRandom ( )

Definition at line 2311 of file Chara.cs.

◆ MoveZone() [1/3]

void Chara.MoveZone ( string alias)

Definition at line 2976 of file Chara.cs.

◆ MoveZone() [2/3]

void Chara.MoveZone ( Zone z,
ZoneTransition transition )

Definition at line 2991 of file Chara.cs.

◆ MoveZone() [3/3]

void Chara.MoveZone ( Zone z,
ZoneTransition.EnterState state = ZoneTransition::EnterState::Auto )

Definition at line 2982 of file Chara.cs.

◆ MutateRandom()

bool Chara.MutateRandom ( int vec = 0,
int tries = 100,
bool ether = false,
BlessedState state = BlessedState::Normal )

Definition at line 9049 of file Chara.cs.

◆ OnBeforeCreate()

override void Chara.OnBeforeCreate ( )
virtual

Reimplemented from Card.

Definition at line 1266 of file Chara.cs.

◆ OnCreate()

override void Chara.OnCreate ( int genLv)
virtual

Reimplemented from Card.

Definition at line 1285 of file Chara.cs.

◆ OnDeserialized()

override void Chara.OnDeserialized ( )
protectedvirtual

Reimplemented from Card.

Definition at line 1111 of file Chara.cs.

◆ OnGiveErohon()

void Chara.OnGiveErohon ( Thing t)

Definition at line 7593 of file Chara.cs.

◆ OnInsulted()

void Chara.OnInsulted ( )

Definition at line 7425 of file Chara.cs.

◆ OnSerializing()

override void Chara.OnSerializing ( )
protectedvirtual

Reimplemented from Card.

Definition at line 1095 of file Chara.cs.

◆ OnSleep() [1/2]

void Chara.OnSleep ( int power,
int days = 1 )

Definition at line 8882 of file Chara.cs.

◆ OnSleep() [2/2]

void Chara.OnSleep ( Thing bed = null,
int days = 1 )

Definition at line 8869 of file Chara.cs.

◆ PerformWork()

void Chara.PerformWork ( WorkSession session,
bool isHobby = false,
bool IsRealTime = false )

Definition at line 8283 of file Chara.cs.

◆ Pick()

Thing Chara.Pick ( Thing t,
bool msg = true,
bool tryStack = true )

Definition at line 3853 of file Chara.cs.

◆ PickHeld()

void Chara.PickHeld ( bool msg = false)

Definition at line 4087 of file Chara.cs.

◆ PickOrDrop() [1/2]

void Chara.PickOrDrop ( Point p,
string idThing,
int idMat = -1,
int num = 1,
bool msg = true )

Definition at line 3832 of file Chara.cs.

◆ PickOrDrop() [2/2]

void Chara.PickOrDrop ( Point p,
Thing t,
bool msg = true )

Definition at line 3842 of file Chara.cs.

◆ Refresh()

void Chara.Refresh ( bool calledRecursive = false)

Definition at line 1527 of file Chara.cs.

◆ RefreshFaithElement()

void Chara.RefreshFaithElement ( )

Definition at line 9198 of file Chara.cs.

◆ RefreshSpeed()

void Chara.RefreshSpeed ( )

Definition at line 1657 of file Chara.cs.

◆ RefreshWorkElements()

void Chara.RefreshWorkElements ( ElementContainer parent = null)

Definition at line 8119 of file Chara.cs.

◆ ReleaseMinion()

void Chara.ReleaseMinion ( )

Definition at line 2095 of file Chara.cs.

◆ RemoveCondition< T >()

void Chara.RemoveCondition< T > ( )
Type Constraints
T :Condition 

Definition at line 8650 of file Chara.cs.

◆ RemoveGlobal()

void Chara.RemoveGlobal ( )

Definition at line 1255 of file Chara.cs.

◆ RequestProtection()

void Chara.RequestProtection ( Chara attacker,
Action< Chara > action )

Definition at line 7616 of file Chara.cs.

◆ RerollHobby()

void Chara.RerollHobby ( bool extraSlotChance = true)

Definition at line 8199 of file Chara.cs.

◆ ResetUpgrade()

void Chara.ResetUpgrade ( )

Definition at line 7729 of file Chara.cs.

◆ ResistCon()

void Chara.ResistCon ( Condition con)

Definition at line 8831 of file Chara.cs.

◆ RestockEquip()

void Chara.RestockEquip ( bool onCreate)

Definition at line 4248 of file Chara.cs.

◆ RestockInventory()

void Chara.RestockInventory ( bool onCreate)

Definition at line 4587 of file Chara.cs.

◆ Revive()

void Chara.Revive ( Point p = null,
bool msg = false )

Definition at line 4732 of file Chara.cs.

◆ Rotate()

override void Chara.Rotate ( bool reverse = false)
virtual

Reimplemented from Card.

Definition at line 3184 of file Chara.cs.

◆ SetAI()

AIAct Chara.SetAI ( AIAct g)

Definition at line 8004 of file Chara.cs.

◆ SetAIAggro()

void Chara.SetAIAggro ( )

Definition at line 7992 of file Chara.cs.

◆ SetAIIdle()

void Chara.SetAIIdle ( )

Definition at line 7987 of file Chara.cs.

◆ SetAIImmediate()

void Chara.SetAIImmediate ( AIAct g)

Definition at line 8035 of file Chara.cs.

◆ SetDir()

override void Chara.SetDir ( int d)
virtual

Reimplemented from Card.

Definition at line 3176 of file Chara.cs.

◆ SetDirtySpeed()

void Chara.SetDirtySpeed ( )

Definition at line 1647 of file Chara.cs.

◆ SetEnemy()

Chara Chara.SetEnemy ( Chara c = null)

Definition at line 5671 of file Chara.cs.

◆ SetFaction()

void Chara.SetFaction ( Faction f)

Definition at line 1210 of file Chara.cs.

◆ SetFaith() [1/2]

void Chara.SetFaith ( Religion r)

Definition at line 1510 of file Chara.cs.

◆ SetFaith() [2/2]

void Chara.SetFaith ( string id)

Definition at line 1504 of file Chara.cs.

◆ SetFeat()

void Chara.SetFeat ( int id,
int value = 1,
bool msg = false )

Definition at line 8998 of file Chara.cs.

◆ SetGlobal() [1/2]

Chara Chara.SetGlobal ( )

Definition at line 1241 of file Chara.cs.

◆ SetGlobal() [2/2]

Chara Chara.SetGlobal ( Zone _home,
int x,
int z )

Definition at line 1225 of file Chara.cs.

◆ SetHomeZone()

void Chara.SetHomeZone ( Zone zone)

Definition at line 1218 of file Chara.cs.

◆ SetMainElement() [1/2]

void Chara.SetMainElement ( int id,
int v = 0,
bool elemental = false )

Definition at line 1845 of file Chara.cs.

◆ SetMainElement() [2/2]

void Chara.SetMainElement ( string id,
int v = 0,
bool elemental = false )

Definition at line 1835 of file Chara.cs.

◆ SetNoGoal()

AIAct Chara.SetNoGoal ( )

Definition at line 7998 of file Chara.cs.

◆ SetPCCState()

void Chara.SetPCCState ( PCCState state)

Definition at line 6051 of file Chara.cs.

◆ SetRenderParam()

override void Chara.SetRenderParam ( RenderParam p)
virtual

Reimplemented from Card.

Definition at line 6097 of file Chara.cs.

◆ SetSortVal()

override void Chara.SetSortVal ( UIList.SortMode m,
CurrencyType currency = CurrencyType::Money )
virtual

Reimplemented from Card.

Definition at line 6655 of file Chara.cs.

◆ SetSource()

override void Chara.SetSource ( )
virtual

Reimplemented from Card.

Definition at line 1822 of file Chara.cs.

◆ SetSummon()

void Chara.SetSummon ( int duration)

Definition at line 2114 of file Chara.cs.

◆ SetTempHand()

void Chara.SetTempHand ( int right = 0,
int left = 0 )

Definition at line 6072 of file Chara.cs.

◆ ShouldEquip()

bool Chara.ShouldEquip ( Thing t,
bool useFav = false )

Definition at line 6936 of file Chara.cs.

◆ ShowDialog() [1/2]

void Chara.ShowDialog ( )

Definition at line 6420 of file Chara.cs.

◆ ShowDialog() [2/2]

LayerDrama Chara.ShowDialog ( string book,
string step = "main",
string tag = "" )

Definition at line 6587 of file Chara.cs.

◆ Sleep()

void Chara.Sleep ( Thing bed = null,
Thing pillow = null,
bool pickup = false,
ItemPosition posBed = null,
ItemPosition posPillow = null )

Definition at line 8855 of file Chara.cs.

◆ SplitHeld()

Card Chara.SplitHeld ( int a)

Definition at line 4148 of file Chara.cs.

◆ Stumble()

void Chara.Stumble ( int mtp = 100)

Definition at line 1615 of file Chara.cs.

◆ SyncRide() [1/2]

void Chara.SyncRide ( )

Definition at line 3535 of file Chara.cs.

◆ SyncRide() [2/2]

void Chara.SyncRide ( Chara c)

Definition at line 3552 of file Chara.cs.

◆ TalkTopic()

unsafe string Chara.TalkTopic ( string topic = "calm")

Definition at line 6344 of file Chara.cs.

◆ Tick()

override void Chara.Tick ( )
virtual

Reimplemented from Card.

Definition at line 3568 of file Chara.cs.

◆ TickConditions()

void Chara.TickConditions ( )

Definition at line 3350 of file Chara.cs.

◆ TickCooldown()

void Chara.TickCooldown ( )

Definition at line 7870 of file Chara.cs.

◆ TickWork()

void Chara.TickWork ( VirtualDate date)

Definition at line 8247 of file Chara.cs.

◆ ToString()

override string Chara.ToString ( )

Definition at line 454 of file Chara.cs.

◆ TryAssignBed()

TraitBed Chara.TryAssignBed ( )

Definition at line 6717 of file Chara.cs.

◆ TryDropBossLoot()

void Chara.TryDropBossLoot ( )

Definition at line 5137 of file Chara.cs.

◆ TryEquip()

bool Chara.TryEquip ( Thing t,
bool useFav = false )

Definition at line 7006 of file Chara.cs.

◆ TryEquipRanged()

bool Chara.TryEquipRanged ( )

Definition at line 7092 of file Chara.cs.

◆ TryGetThrowable()

Thing Chara.TryGetThrowable ( )

Definition at line 7051 of file Chara.cs.

◆ TryHoldCard()

bool Chara.TryHoldCard ( Card t,
int num = -1,
bool pickHeld = false )

Definition at line 4011 of file Chara.cs.

◆ TryIdentify()

bool Chara.TryIdentify ( Thing t,
int count = 1,
bool show = true )

Definition at line 7213 of file Chara.cs.

◆ TryMove()

Card.MoveResult Chara.TryMove ( Point newPoint,
bool allowDestroyPath = true )

Definition at line 2451 of file Chara.cs.

◆ TryMoveFrom()

Card.MoveResult Chara.TryMoveFrom ( Point p)

Definition at line 2410 of file Chara.cs.

◆ TryMoveTowards()

Card.MoveResult Chara.TryMoveTowards ( Point p)

Definition at line 2354 of file Chara.cs.

◆ TryNeckHunt()

bool Chara.TryNeckHunt ( Chara TC,
int power,
bool harvest = false )

Definition at line 8777 of file Chara.cs.

◆ TryNullifyCurse()

bool Chara.TryNullifyCurse ( )

Definition at line 9155 of file Chara.cs.

◆ TryPickGroundItem()

void Chara.TryPickGroundItem ( )

Definition at line 3973 of file Chara.cs.

◆ TryPush()

void Chara.TryPush ( Point point)

Definition at line 2884 of file Chara.cs.

◆ TryPutShared()

void Chara.TryPutShared ( Thing t,
List< Thing > containers = null,
bool dropIfFail = true )

Definition at line 3998 of file Chara.cs.

◆ TryPutSharedItems() [1/2]

void Chara.TryPutSharedItems ( bool msg = true)

Definition at line 6768 of file Chara.cs.

◆ TryPutSharedItems() [2/2]

void Chara.TryPutSharedItems ( IEnumerable< Thing > containers,
bool msg = true )

Definition at line 6737 of file Chara.cs.

◆ TryReservePickupTutorial()

void Chara.TryReservePickupTutorial ( Thing t)

Definition at line 3948 of file Chara.cs.

◆ TryRestock()

void Chara.TryRestock ( bool onCreate)

Definition at line 4237 of file Chara.cs.

◆ TrySetEnemy()

void Chara.TrySetEnemy ( Chara c)

Definition at line 5682 of file Chara.cs.

◆ TryTakeSharedItems() [1/2]

void Chara.TryTakeSharedItems ( bool msg = true)

Definition at line 6774 of file Chara.cs.

◆ TryTakeSharedItems() [2/2]

void Chara.TryTakeSharedItems ( IEnumerable< Thing > containers,
bool msg = true,
bool shouldEat = true )

Definition at line 6780 of file Chara.cs.

◆ TryUpgrade()

void Chara.TryUpgrade ( bool msg = true)

Definition at line 7735 of file Chara.cs.

◆ TryUse()

bool Chara.TryUse ( Thing t)

Definition at line 7126 of file Chara.cs.

◆ TryWorkOutside()

bool Chara.TryWorkOutside ( SourceHobby.Row sourceWork)

Definition at line 8270 of file Chara.cs.

◆ UpdateAngle()

void Chara.UpdateAngle ( )

Definition at line 3248 of file Chara.cs.

◆ UpdateSight()

void Chara.UpdateSight ( )

Definition at line 3321 of file Chara.cs.

◆ UseAbility() [1/2]

bool Chara.UseAbility ( Act a,
Card tc = null,
Point pos = null,
bool pt = false )

Definition at line 5299 of file Chara.cs.

◆ UseAbility() [2/2]

bool Chara.UseAbility ( string idAct,
Card tc = null,
Point pos = null,
bool pt = false )

Definition at line 5292 of file Chara.cs.

◆ ValidateWorks()

void Chara.ValidateWorks ( )

Definition at line 8306 of file Chara.cs.

◆ Vomit()

void Chara.Vomit ( )

Definition at line 4862 of file Chara.cs.

◆ WillConsumeTurn()

bool Chara.WillConsumeTurn ( )

Definition at line 3337 of file Chara.cs.

◆ WriteNote()

override void Chara.WriteNote ( UINote n,
Action< UINote > onWriteNote = null,
IInspect.NoteMode mode = IInspect::NoteMode::Default,
Recipe recipe = null )
virtual

Reimplemented from Card.

Definition at line 6644 of file Chara.cs.

Member Data Documentation

◆ _ability

CharaAbility Chara._ability

Definition at line 9547 of file Chara.cs.

◆ _cbits1

BitArray32 Chara._cbits1

Definition at line 9529 of file Chara.cs.

◆ _cints

int [] Chara._cints = new int[30]

Definition at line 9526 of file Chara.cs.

◆ _cooldowns

List<int> Chara._cooldowns

Definition at line 9498 of file Chara.cs.

◆ _hobbies

List<int> Chara._hobbies

Definition at line 9486 of file Chara.cs.

◆ _job

SourceJob.Row Chara._job

Definition at line 9628 of file Chara.cs.

◆ _listAbility

List<int> Chara._listAbility

Definition at line 9502 of file Chara.cs.

◆ _NoGoalPC

NoGoal Chara._NoGoalPC = new NoGoal()
static

Definition at line 9676 of file Chara.cs.

◆ _NoGoalRepeat

NoGoal Chara._NoGoalRepeat = new NoGoal()
static

Definition at line 9679 of file Chara.cs.

◆ _race

SourceRace.Row Chara._race

Definition at line 9625 of file Chara.cs.

◆ _strs

string [] Chara._strs = new string[5]

Definition at line 9522 of file Chara.cs.

◆ _tactics

Tactics Chara._tactics

Definition at line 9631 of file Chara.cs.

◆ _works

List<int> Chara._works

Definition at line 9490 of file Chara.cs.

◆ _workSummary

WorkSummary Chara._workSummary

Definition at line 9494 of file Chara.cs.

◆ actTime

float Chara.actTime = 0.3f

Definition at line 9652 of file Chara.cs.

◆ ai

AIAct Chara.ai = new NoGoal()

Definition at line 9685 of file Chara.cs.

◆ body

CharaBody Chara.body = new CharaBody()

Definition at line 9544 of file Chara.cs.

◆ bossText

bool Chara.bossText

Definition at line 9616 of file Chara.cs.

◆ calmCheckTurn

int Chara.calmCheckTurn

Definition at line 9577 of file Chara.cs.

◆ canSeeInvisible

bool Chara.canSeeInvisible

Definition at line 9607 of file Chara.cs.

◆ combatCount

int Chara.combatCount

Definition at line 9574 of file Chara.cs.

◆ conditions

List<Condition> Chara.conditions = new List<Condition>()

Definition at line 9695 of file Chara.cs.

◆ conSleep

ConSleep Chara.conSleep

Definition at line 9556 of file Chara.cs.

◆ consumeTurn

bool Chara.consumeTurn
static

Definition at line 9655 of file Chara.cs.

◆ conSuspend

ConSuspend Chara.conSuspend

Definition at line 9559 of file Chara.cs.

◆ contribution

int Chara.contribution

Definition at line 9444 of file Chara.cs.

◆ dirtySpeed

bool Chara.dirtySpeed = true

Definition at line 9640 of file Chara.cs.

◆ emoIcon

Emo2 Chara.emoIcon

Definition at line 9562 of file Chara.cs.

◆ enemy

Chara Chara.enemy

Definition at line 9532 of file Chara.cs.

◆ faithElements

ElementContainer Chara.faithElements

Definition at line 9471 of file Chara.cs.

◆ global

GlobalData Chara.global

Definition at line 9518 of file Chara.cs.

◆ goalList

GoalList Chara.goalList = new GoalList()

Definition at line 9682 of file Chara.cs.

◆ happiness

int Chara.happiness

Definition at line 9565 of file Chara.cs.

◆ hasTelepathy

bool Chara.hasTelepathy

Definition at line 9610 of file Chara.cs.

◆ held

Card Chara.held

Definition at line 9510 of file Chara.cs.

◆ host

Chara Chara.host

Definition at line 9464 of file Chara.cs.

◆ idleActTimer

int Chara.idleActTimer

Definition at line 9571 of file Chara.cs.

◆ idleTimer

float Chara.idleTimer

Definition at line 9583 of file Chara.cs.

◆ IDTimeTable

string [] Chara.IDTimeTable
static
Initial value:
= new string[]
{
"default",
"owl"
}

Definition at line 9436 of file Chara.cs.

◆ isBlind

bool Chara.isBlind

Definition at line 9595 of file Chara.cs.

◆ isConfused

bool Chara.isConfused

Definition at line 9589 of file Chara.cs.

◆ isCreated

bool Chara.isCreated

Definition at line 9604 of file Chara.cs.

◆ isDrunk

bool Chara.isDrunk

Definition at line 9586 of file Chara.cs.

◆ isFainted

bool Chara.isFainted

Definition at line 9592 of file Chara.cs.

◆ isLevitating

bool Chara.isLevitating

Definition at line 9601 of file Chara.cs.

◆ isOnCreate

bool Chara.isOnCreate
static

Definition at line 9661 of file Chara.cs.

◆ isParalyzed

bool Chara.isParalyzed

Definition at line 9598 of file Chara.cs.

◆ isWet

bool Chara.isWet

Definition at line 9613 of file Chara.cs.

◆ lastPos

Point Chara.lastPos = new Point()

Definition at line 9538 of file Chara.cs.

◆ ListAdvJob

List<SourceJob.Row> Chara.ListAdvJob = new List<SourceJob.Row>()
static

Definition at line 9637 of file Chara.cs.

◆ ListAdvRace

List<SourceRace.Row> Chara.ListAdvRace = new List<SourceRace.Row>()
static

Definition at line 9634 of file Chara.cs.

◆ master

Chara Chara.master

Definition at line 9535 of file Chara.cs.

◆ memberType

FactionMemberType Chara.memberType

Definition at line 9482 of file Chara.cs.

◆ nextUse

Thing Chara.nextUse

Definition at line 9553 of file Chara.cs.

◆ orgPos

Point Chara.orgPos

Definition at line 9448 of file Chara.cs.

◆ parasite

Chara Chara.parasite

Definition at line 9460 of file Chara.cs.

◆ party

Party Chara.party

Definition at line 9478 of file Chara.cs.

◆ path

PathProgress Chara.path = new PathProgress()

Definition at line 9541 of file Chara.cs.

◆ pccData

PCCData Chara.pccData

Definition at line 9506 of file Chara.cs.

◆ preventRegen

bool Chara.preventRegen
static

Definition at line 9658 of file Chara.cs.

◆ quest

Quest Chara.quest

Definition at line 9452 of file Chara.cs.

◆ ranged

Thing Chara.ranged

Definition at line 9550 of file Chara.cs.

◆ rawSlots

int [] Chara.rawSlots

Definition at line 9514 of file Chara.cs.

◆ resistCon

Dictionary<int, int> Chara.resistCon

Definition at line 9699 of file Chara.cs.

◆ ride

Chara Chara.ride

Definition at line 9456 of file Chara.cs.

◆ sharedCheckTurn

int Chara.sharedCheckTurn

Definition at line 9580 of file Chara.cs.

◆ source

SourceChara.Row Chara.source

Definition at line 9622 of file Chara.cs.

◆ tempElements

ElementContainer Chara.tempElements

Definition at line 9468 of file Chara.cs.

◆ turnLastSeen

int Chara.turnLastSeen = -100

Definition at line 9568 of file Chara.cs.

◆ workElements

ElementContainer Chara.workElements

Definition at line 9474 of file Chara.cs.

Property Documentation

◆ _affinity

int Chara._affinity
getset

Definition at line 131 of file Chara.cs.

◆ _alias

string Chara._alias
getset

Definition at line 26 of file Chara.cs.

◆ _idTimeTable

int Chara._idTimeTable
getset

Definition at line 186 of file Chara.cs.

◆ _maxStamina

int Chara._maxStamina
getset

Definition at line 216 of file Chara.cs.

◆ ability

CharaAbility Chara.ability
get

Definition at line 290 of file Chara.cs.

◆ actorPrefab

override string Chara.actorPrefab
get

Definition at line 495 of file Chara.cs.

◆ affinity

Affinity Chara.affinity
get

Definition at line 145 of file Chara.cs.

◆ Aka

string Chara.Aka
get

Definition at line 15 of file Chara.cs.

◆ AliasMaterialOnCreate

override string Chara.AliasMaterialOnCreate
get

Definition at line 537 of file Chara.cs.

◆ bladder

Stats Chara.bladder
get

Definition at line 8354 of file Chara.cs.

◆ burden

Stats Chara.burden
get

Definition at line 8324 of file Chara.cs.

◆ CanGainConResist

bool Chara.CanGainConResist
get

Definition at line 8800 of file Chara.cs.

◆ CanOpenDoor

bool Chara.CanOpenDoor
get

Definition at line 823 of file Chara.cs.

◆ CanWitness

bool Chara.CanWitness
get

Definition at line 985 of file Chara.cs.

◆ corruption

int Chara.corruption
getset

Definition at line 231 of file Chara.cs.

◆ CurrentSpan

TimeTable.Span Chara.CurrentSpan
get

Definition at line 915 of file Chara.cs.

◆ currentZone

Zone Chara.currentZone
getset

Definition at line 71 of file Chara.cs.

◆ daysStarved

int Chara.daysStarved
getset

Definition at line 171 of file Chara.cs.

◆ depression

Stats Chara.depression
get

Definition at line 8344 of file Chara.cs.

◆ DestDist

int Chara.DestDist
get

Definition at line 965 of file Chara.cs.

◆ DV

override int Chara.DV
get

Definition at line 785 of file Chara.cs.

◆ faction

Faction Chara.faction
getset

Definition at line 306 of file Chara.cs.

◆ faith

Religion Chara.faith
getset

Definition at line 326 of file Chara.cs.

◆ flipX

override bool Chara.flipX
get

Definition at line 527 of file Chara.cs.

◆ goalListType

GoalListType Chara.goalListType
getset

Definition at line 101 of file Chara.cs.

◆ HasHost

override bool Chara.HasHost
get

Definition at line 701 of file Chara.cs.

◆ HasNoGoal

bool Chara.HasNoGoal
get

Definition at line 975 of file Chara.cs.

◆ homeBranch

FactionBranch Chara.homeBranch
get

Definition at line 1071 of file Chara.cs.

◆ homeZone

Zone Chara.homeZone
getset

Definition at line 86 of file Chara.cs.

◆ hostility

Hostility Chara.hostility
getset

Definition at line 116 of file Chara.cs.

◆ hunger

Stats Chara.hunger
get

Definition at line 8314 of file Chara.cs.

◆ hygiene

Stats Chara.hygiene
get

Definition at line 8364 of file Chara.cs.

◆ idFaction

string Chara.idFaction
getset

Definition at line 56 of file Chara.cs.

◆ idFaith

string Chara.idFaith
getset

Definition at line 41 of file Chara.cs.

◆ IDPCCBodySet

string Chara.IDPCCBodySet
get

Definition at line 426 of file Chara.cs.

◆ idTimeTable

string Chara.idTimeTable
get

Definition at line 394 of file Chara.cs.

◆ interest

int Chara.interest
getset

Definition at line 156 of file Chara.cs.

◆ IsAdventurer

bool Chara.IsAdventurer
get

Definition at line 1035 of file Chara.cs.

◆ isAlawysVisible

bool Chara.isAlawysVisible
getset

Definition at line 261 of file Chara.cs.

◆ IsAliveInCurrentZone

override bool Chara.IsAliveInCurrentZone
get

Definition at line 547 of file Chara.cs.

◆ isChara

override bool Chara.isChara
get

Definition at line 691 of file Chara.cs.

◆ isDead

bool Chara.isDead
getset

Definition at line 246 of file Chara.cs.

◆ IsDeadOrSleeping

override bool Chara.IsDeadOrSleeping
get

Definition at line 557 of file Chara.cs.

◆ IsDisabled

override bool Chara.IsDisabled
get

Definition at line 567 of file Chara.cs.

◆ IsEyth

bool Chara.IsEyth
get

Definition at line 1045 of file Chara.cs.

◆ IsGlobal

override bool Chara.IsGlobal
get

Definition at line 601 of file Chara.cs.

◆ IsHuman

bool Chara.IsHuman
get

Definition at line 995 of file Chara.cs.

◆ IsHumanSpeak

bool Chara.IsHumanSpeak
get

Definition at line 1005 of file Chara.cs.

◆ IsIdle

bool Chara.IsIdle
get

Definition at line 945 of file Chara.cs.

◆ IsInActiveZone

bool Chara.IsInActiveZone
get

Definition at line 925 of file Chara.cs.

◆ IsInCombat

bool Chara.IsInCombat
get

Definition at line 955 of file Chara.cs.

◆ IsLocalChara

bool Chara.IsLocalChara
get

Definition at line 935 of file Chara.cs.

◆ IsMaid

bool Chara.IsMaid
get

Definition at line 1015 of file Chara.cs.

◆ IsMinion

override bool Chara.IsMinion
get

Definition at line 631 of file Chara.cs.

◆ IsMofuable

bool Chara.IsMofuable
get

Definition at line 5632 of file Chara.cs.

◆ IsMoving

override bool Chara.IsMoving
get

Definition at line 591 of file Chara.cs.

◆ IsMultisize

override bool Chara.IsMultisize
get

Definition at line 721 of file Chara.cs.

◆ IsPC

override bool Chara.IsPC
get

Definition at line 611 of file Chara.cs.

◆ IsPCC

override bool Chara.IsPCC
get

Definition at line 671 of file Chara.cs.

◆ IsPCFaction

override bool Chara.IsPCFaction
get

Definition at line 661 of file Chara.cs.

◆ IsPCFactionMinion

override bool Chara.IsPCFactionMinion
get

Definition at line 651 of file Chara.cs.

◆ IsPCParty

override bool Chara.IsPCParty
get

Definition at line 621 of file Chara.cs.

◆ IsPCPartyMinion

override bool Chara.IsPCPartyMinion
get

Definition at line 641 of file Chara.cs.

◆ IsPrisoner

bool Chara.IsPrisoner
get

Definition at line 1025 of file Chara.cs.

◆ isSynced

override bool Chara.isSynced
get

Definition at line 711 of file Chara.cs.

◆ isThing

override bool Chara.isThing
get

Definition at line 681 of file Chara.cs.

◆ IsWealthy

bool Chara.IsWealthy
get

Definition at line 1061 of file Chara.cs.

◆ job

SourceJob.Row Chara.job
get

Definition at line 379 of file Chara.cs.

◆ knowFav

bool Chara.knowFav
getset

Definition at line 276 of file Chara.cs.

◆ MainElement

Element Chara.MainElement
get

Definition at line 771 of file Chara.cs.

◆ mana

Stats Chara.mana
get

Definition at line 8374 of file Chara.cs.

◆ MaxGene

int Chara.MaxGene
get

Definition at line 1086 of file Chara.cs.

◆ MaxHP

override int Chara.MaxHP
get

Definition at line 731 of file Chara.cs.

◆ MaxSummon

int Chara.MaxSummon
get

Definition at line 761 of file Chara.cs.

◆ NameBraced

string Chara.NameBraced
get

Definition at line 475 of file Chara.cs.

◆ NameTitled

string Chara.NameTitled
get

Definition at line 485 of file Chara.cs.

◆ OriginalHostility

Hostility Chara.OriginalHostility
get

Definition at line 404 of file Chara.cs.

◆ PrefIndex

override int Chara.PrefIndex
get

Definition at line 509 of file Chara.cs.

◆ PV

override int Chara.PV
get

Definition at line 804 of file Chara.cs.

◆ race

SourceRace.Row Chara.race
get

Definition at line 364 of file Chara.cs.

◆ SAN

Stats Chara.SAN
get

Definition at line 8394 of file Chara.cs.

◆ SelfWeight

override int Chara.SelfWeight
get

Definition at line 751 of file Chara.cs.

◆ sleepiness

Stats Chara.sleepiness
get

Definition at line 8384 of file Chara.cs.

◆ sourceCard

override CardRow Chara.sourceCard
get

Definition at line 340 of file Chara.cs.

◆ sourceRenderCard

override CardRow Chara.sourceRenderCard
get

Definition at line 350 of file Chara.cs.

◆ Speed

int Chara.Speed
get

Definition at line 1634 of file Chara.cs.

◆ stamina

Stats Chara.stamina
get

Definition at line 8334 of file Chara.cs.

◆ tactics

Tactics Chara.tactics
get

Definition at line 900 of file Chara.cs.

◆ trait

new TraitChara Chara.trait
getset

Definition at line 441 of file Chara.cs.

◆ uidEditor

int Chara.uidEditor
getset

Definition at line 201 of file Chara.cs.

◆ WeightLimit

override int Chara.WeightLimit
get

Definition at line 741 of file Chara.cs.


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