Elin Modding Docs Doc
Loading...
Searching...
No Matches
CraftUtil Class Reference
Inheritance diagram for CraftUtil:
EClass

Public Types

enum  MixType { General , Food }
 

Static Public Member Functions

static void ModRandomFoodEnc (Thing t)
 
static void AddRandomFoodEnc (Thing t)
 
static void MakeDish (Thing food, int lv)
 
static void MakeDish (Card food, List< Thing > ings, int qualityBonus)
 
static Thing MixIngredients (string idProduct, List< Thing > ings, CraftUtil.MixType type, int idMat=0)
 
static Card MixIngredients (Card product, List< Thing > ings, CraftUtil.MixType type, int maxQuality)
 
- 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 Public Attributes

static string[] ListFoodEffect
 
- 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]
 

Detailed Description

Definition at line 8 of file CraftUtil.cs.

Member Enumeration Documentation

◆ MixType

enum CraftUtil.MixType

Definition at line 259 of file CraftUtil.cs.

Member Function Documentation

◆ AddRandomFoodEnc()

static void CraftUtil.AddRandomFoodEnc ( Thing t)
static

Definition at line 34 of file CraftUtil.cs.

◆ MakeDish() [1/2]

static void CraftUtil.MakeDish ( Card food,
List< Thing > ings,
int qualityBonus )
static

Definition at line 82 of file CraftUtil.cs.

◆ MakeDish() [2/2]

static void CraftUtil.MakeDish ( Thing food,
int lv )
static

Definition at line 56 of file CraftUtil.cs.

◆ MixIngredients() [1/2]

static Card CraftUtil.MixIngredients ( Card product,
List< Thing > ings,
CraftUtil.MixType type,
int maxQuality )
static

Definition at line 132 of file CraftUtil.cs.

◆ MixIngredients() [2/2]

static Thing CraftUtil.MixIngredients ( string idProduct,
List< Thing > ings,
CraftUtil.MixType type,
int idMat = 0 )
static

Definition at line 120 of file CraftUtil.cs.

◆ ModRandomFoodEnc()

static void CraftUtil.ModRandomFoodEnc ( Thing t)
static

Definition at line 11 of file CraftUtil.cs.

Member Data Documentation

◆ ListFoodEffect

string [] CraftUtil.ListFoodEffect
static
Initial value:
= new string[]
{
"exp",
"pot"
}

Definition at line 252 of file CraftUtil.cs.


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