|
Elin Modding Docs Doc
|
Public Member Functions | |
| RecipeSource | GetSource (string id) |
| void | Add (string id, bool showEffect=true) |
| bool | IsKnown (string id) |
| List< RecipeSource > | ListSources (Thing factory, List< RecipeSource > newRecipes=null) |
| void | OnSleep (bool ehe=false) |
| void | ComeUpWithRandomRecipe (string idCat=null, int lvBonus=0) |
| void | ComeUpWithRecipe (string idRecipe, int chanceForRandomRecipe=0) |
| void | OnVersionUpdate () |
Static Public Member Functions | |
| static void | BuildList () |
| static void | Create (RenderRow row, string type, string suffix="") |
| static RecipeSource | Get (string id) |
| static RecipeSource | GetUnlearnedRecipe (int lvBonus, string cat, bool onlyUnlearned) |
| static RecipeSource | GetLearnedRecipe (string cat=null) |
| static string | GetRandomRecipe (int lvBonus, string cat=null, bool onlyUnlearned=false) |
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) |
Public Attributes | |
| HashSet< string > | knownIngredients = new HashSet<string>() |
| Dictionary< string, int > | knownRecipes = new Dictionary<string, int>() |
| HashSet< string > | hoveredRecipes = new HashSet<string>() |
| HashSet< string > | newRecipes = new HashSet<string>() |
Static Public Attributes | |
| static bool | rebuild |
| static List< RecipeSource > | list = new List<RecipeSource>() |
| static Dictionary< string, RecipeSource > | dict = new Dictionary<string, RecipeSource>() |
Static Public Attributes inherited from EClass | |
| static Core | core |
Additional Inherited Members | |
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] |
Definition at line 7 of file RecipeManager.cs.
| void RecipeManager.Add | ( | string | id, |
| bool | showEffect = true ) |
Definition at line 88 of file RecipeManager.cs.
|
static |
Definition at line 10 of file RecipeManager.cs.
| void RecipeManager.ComeUpWithRandomRecipe | ( | string | idCat = null, |
| int | lvBonus = 0 ) |
Definition at line 216 of file RecipeManager.cs.
| void RecipeManager.ComeUpWithRecipe | ( | string | idRecipe, |
| int | chanceForRandomRecipe = 0 ) |
Definition at line 228 of file RecipeManager.cs.
|
static |
Definition at line 60 of file RecipeManager.cs.
|
static |
Definition at line 76 of file RecipeManager.cs.
|
static |
Definition at line 273 of file RecipeManager.cs.
|
static |
Definition at line 288 of file RecipeManager.cs.
| RecipeSource RecipeManager.GetSource | ( | string | id | ) |
Definition at line 82 of file RecipeManager.cs.
|
static |
Definition at line 258 of file RecipeManager.cs.
| bool RecipeManager.IsKnown | ( | string | id | ) |
Definition at line 130 of file RecipeManager.cs.
| List< RecipeSource > RecipeManager.ListSources | ( | Thing | factory, |
| List< RecipeSource > | newRecipes = null ) |
Definition at line 136 of file RecipeManager.cs.
| void RecipeManager.OnSleep | ( | bool | ehe = false | ) |
Definition at line 187 of file RecipeManager.cs.
| void RecipeManager.OnVersionUpdate | ( | ) |
Definition at line 303 of file RecipeManager.cs.
|
static |
Definition at line 319 of file RecipeManager.cs.
| HashSet<string> RecipeManager.hoveredRecipes = new HashSet<string>() |
Definition at line 331 of file RecipeManager.cs.
| HashSet<string> RecipeManager.knownIngredients = new HashSet<string>() |
Definition at line 323 of file RecipeManager.cs.
| Dictionary<string, int> RecipeManager.knownRecipes = new Dictionary<string, int>() |
Definition at line 327 of file RecipeManager.cs.
|
static |
Definition at line 316 of file RecipeManager.cs.
| HashSet<string> RecipeManager.newRecipes = new HashSet<string>() |
Definition at line 335 of file RecipeManager.cs.
|
static |
Definition at line 313 of file RecipeManager.cs.