Elin Modding Docs Doc
|
Public Member Functions | |
void | Init () |
void | Add (Card t) |
void | Remove (Card t) |
void | OnNumChange (Card c, int a) |
Thing | GetAvailableThing (string id, int idMat) |
ThingStack | ListThingStack (Recipe.Ingredient ing, StockSearchMode searchMode) |
List< Thing > | ListThingsInCategory (SourceCategory.Row cat) |
Dictionary< string, ThingStack > | ListThingStacksInCategory (SourceCategory.Row cat) |
Thing | Find< T > () |
Thing | FindEmptyContainer< T > () |
Thing | FindEmptyContainer< T > (Thing target) |
Thing | Find (int uid) |
Thing | FindShared (string id) |
Thing | Find (string id, string idMat) |
Thing | Find (string id, int idMat=-1, int refVal=-1, bool shared=false) |
int | GetNum (string id, bool onlyShared=false) |
void | Validate () |
Static Public Member Functions | |
static int | GetNumStockedAndRoaming (string id) |
![]() | |
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 | |
PropSet | all = new PropSet() |
Dictionary< string, PropSet > | cardMap = new Dictionary<string, PropSet>() |
Dictionary< string, PropSetCategory > | categoryMap = new Dictionary<string, PropSetCategory>() |
Dictionary< string, PropSet > | raceMap = new Dictionary<string, PropSet>() |
Dictionary< string, PropSet > | workMap = new Dictionary<string, PropSet>() |
TraitManager | traits = new TraitManager() |
List< Thing > | things = new List<Thing>() |
List< Thing > | containers = new List<Thing>() |
int | maxWeight = 100 |
int | weight |
Properties | |
virtual bool | IsStocked [get] |
virtual bool | IsRoaming [get] |
virtual bool | IsInstalled [get] |
virtual PlaceState | state [get] |
virtual List< Thing > | Things [get] |
int | Count [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 | |
![]() | |
static Core | core |
Thing Props.Find | ( | string | id, |
int | idMat = -1, | ||
int | refVal = -1, | ||
bool | shared = false ) |
Thing Props.FindEmptyContainer< T > | ( | ) |
|
static |
List< Thing > Props.ListThingsInCategory | ( | SourceCategory.Row | cat | ) |
ThingStack Props.ListThingStack | ( | Recipe.Ingredient | ing, |
StockSearchMode | searchMode ) |
Dictionary< string, ThingStack > Props.ListThingStacksInCategory | ( | SourceCategory.Row | cat | ) |
Dictionary<string, PropSetCategory> Props.categoryMap = new Dictionary<string, PropSetCategory>() |
TraitManager Props.traits = new TraitManager() |