Elin Modding Docs Doc
|
Public Member Functions | |
bool | CanAutoFire (Chara c, Card tg, bool reloading=false) |
int | GetEfficiency () |
override void | SetSource () |
override void | OnCreate (int genLv) |
override void | ApplyMaterialElements (bool remove) |
override void | ApplyMaterial (bool remove=false) |
override string | GetName (NameStyle style, int _num=-1) |
override string | GetHoverText () |
override string | GetExtraName () |
List< Element > | ListLimitedValidTraits (bool limit) |
List< Element > | ListValidTraits (bool isCraft, bool limit) |
override void | WriteNote (UINote n, Action< UINote > onWriteNote=null, IInspect.NoteMode mode=IInspect.NoteMode.Default, Recipe recipe=null) |
override void | SetRenderParam (RenderParam p) |
override SubPassData | GetSubPassData () |
override bool | CanStackTo (Thing to) |
void | GetIngredients (Recipe.Ingredient ing, List< Thing > list) |
bool | IsValidIngredient (Recipe.Ingredient ing) |
void | GetRecipes (HashSet< Recipe > recipes) |
void | GetDisassembles (List< Thing > list) |
void | Disassemble () |
void | ShowSplitMenu (ButtonGrid button, InvOwner.Transaction trans=null) |
void | DoAct (Act act) |
void | TryLickEnchant (Chara c, bool msg=true, Chara tg=null, BodySlot slot=null) |
Element | AddEnchant (int lv=-1) |
void | RemoveEnchant () |
Thing | Identify (bool show=true, IDTSource idtSource=IDTSource.Identify) |
![]() | |
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 | 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) |
virtual void | OnBeforeCreate () |
virtual void | ApplyEditorTags (EditorTag tag) |
void | ApplyTrait () |
Card | SetLv (int a) |
void | AddExp (int a) |
void | LevelUp () |
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 () |
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) |
virtual void | ChangeRarity (Rarity q) |
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 | GetArmorSkill () |
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) |
virtual void | Die (Element e=null, Card origin=null, AttackSource attackSource=AttackSource.None) |
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) |
virtual Card.MoveResult | _Move (Point p, Card.MoveType type=Card.MoveType.Walk) |
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) |
virtual CardRenderer | _CreateRenderer () |
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 () |
virtual Sprite | GetSprite (int dir=0) |
virtual Sprite | GetImageSprite () |
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) |
virtual void | SetDir (int d) |
void | SetRandomDir () |
virtual void | LookAt (Card c) |
virtual void | LookAt (Point p) |
virtual void | Rotate (bool reverse=false) |
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 () |
virtual void | Tick () |
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) |
virtual string | GetHoverText2 () |
int | Dist (Card c) |
int | Dist (Point p) |
bool | IsInMutterDistance (int d=10) |
void | SetCensored (bool enable) |
void | SetDeconstruct (bool deconstruct) |
virtual void | SetSortVal (UIList.SortMode m, CurrencyType currency=CurrencyType.Money) |
virtual int | SecondaryCompare (UIList.SortMode m, Card c) |
void | ForeachFOV (Func< Point, bool > func) |
void | ForeachPoint (Action< Point, bool > action) |
void | OnInspect () |
void | Inspect () |
virtual bool | HasCondition< T > () |
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) |
![]() | |
![]() | |
![]() |
Static Public Member Functions | |
static void | AddAttackEvaluation (UINote n, Chara chara, Thing current=null) |
static Tuple< SourceElement.Row, int > | GetEnchant (int lv, Func< SourceElement.Row, bool > func, bool neg) |
![]() | |
static string | ApplyTone (Chara c, ref string text, string _tones, int gender, bool stripPun=false) |
static int | GetTilePrice (TileRow row, SourceMaterial.Row mat) |
![]() | |
static int | rnd (int a) |
static int | curve (int a, int start, int step, int rate=75) |
static int | rndHalf (int a) |
static float | rndf (float a) |
static int | rndSqrt (int a) |
static void | Wait (float a, Card c) |
static void | Wait (float a, Point p) |
static int | Bigger (int a, int b) |
static int | Smaller (int a, int b) |
Public Attributes | |
SourceThing.Row | source |
int | stackOrder |
string | tempName |
![]() | |
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 |
![]() | |
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 | |
const int | MaxFurnitureEnc = 12 |
![]() | |
static Core | core |
Properties | |
bool | isEquipped [get] |
bool | IsMeleeWithAmmo [get] |
int | range [get] |
int | Penetration [get] |
override bool | isThing [get] |
override CardRow | sourceCard [get] |
override SourcePref | Pref [get] |
override int | SelfWeight [get] |
override int[] | Tiles [get] |
bool | CanSearchContents [get] |
bool | IsSharedContainer [get] |
![]() | |
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] |
![]() | |
static Game | game [get] |
static bool | AdvMode [get] |
static Player | player [get] |
static Chara | pc [get] |
static UI | ui [get] |
static Map | _map [get] |
static Zone | _zone [get] |
static FactionBranch | Branch [get] |
static FactionBranch | BranchOrHomeBranch [get] |
static Faction | Home [get] |
static Faction | Wilds [get] |
static Scene | scene [get] |
static BaseGameScreen | screen [get] |
static GameSetting | setting [get] |
static GameData | gamedata [get] |
static ColorProfile | Colors [get] |
static World | world [get] |
static SourceManager | sources [get] |
static SourceManager | editorSources [get] |
static SoundManager | Sound [get] |
static CoreDebug | debug [get] |
![]() |
Additional Inherited Members | |
![]() | |
enum | MoveResult { Fail , Success , Door } |
enum | MoveType { Walk , Force } |
![]() | |
enum | NoteMode { Default , Recipe , Product , Info } |
![]() | |
virtual void | OnSerializing () |
virtual void | OnDeserialized () |
![]() |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
virtual |
|
virtual |
void Thing.GetIngredients | ( | Recipe.Ingredient | ing, |
List< Thing > | list ) |
|
virtual |
|
virtual |
Thing Thing.Identify | ( | bool | show = true, |
IDTSource | idtSource = IDTSource::Identify ) |
bool Thing.IsValidIngredient | ( | Recipe.Ingredient | ing | ) |
List< Element > Thing.ListValidTraits | ( | bool | isCraft, |
bool | limit ) |
|
virtual |
|
virtual |
|
virtual |
void Thing.ShowSplitMenu | ( | ButtonGrid | button, |
InvOwner.Transaction | trans = null ) |
|
virtual |
SourceThing.Row Thing.source |
|
get |