|
| enum | State { Valid
, Invalid
} |
| |
|
| bool | IsStaticLV () |
| |
| int | GetQualityBonus () |
| |
| virtual int | GetRefVal () |
| |
| virtual string | GetIdThing () |
| |
| virtual bool | ShouldShowHighlight (HitResult r) |
| |
| BaseTileSelector.BoxType | GetBoxType () |
| |
| int | GetDefaultColor () |
| |
| virtual SourceMaterial.Row | GetMainMaterial () |
| |
| virtual SourceMaterial.Row | GetColorMaterial () |
| |
| virtual void | BuildIngredientList () |
| |
| void | BuildIngredientList (Thing t) |
| |
| virtual void | OnChangeIngredient () |
| |
| virtual Thing | Craft (BlessedState blessed, bool sound=false, List< Thing > ings=null, bool model=false) |
| |
| bool | HasSameTile (Point point, int dir, int altitude, int bridgeHeight) |
| |
| virtual void | Build (TaskBuild task) |
| |
| virtual void | Build (Chara chara, Card t, Point pos, int mat, int dir, int altitude, int bridgeHeight) |
| |
| virtual unsafe void | OnRenderMarker (Point point, bool active, HitResult result, bool main, int dir, int bridgeHeight) |
| |
| string | GetName () |
| |
| virtual string | GetDetail () |
| |
| virtual void | WriteNote (UINote n) |
| |
| void | WriteReqFactory (UINote n, bool hasFactory=true) |
| |
| void | WriteReqSkill (UINote n) |
| |
| virtual IRenderer | GetRenderer () |
| |
| virtual void | OnSelected () |
| |
| virtual void | OnChangeAltitude (int a) |
| |
| virtual void | Rotate () |
| |
| virtual void | SetDir (int d) |
| |
| virtual Recipe | Duplicate () |
| |
| virtual void | SetImage (Image icon) |
| |
| bool | IsCraftable () |
| |
| int | GetMaxCount () |
| |
| void | SetTextDifficulty (UIText text) |
| |
| int | GetSortVal () |
| |
|
| static Recipe | GetOrCreate (string id) |
| |
| static Recipe | Create (RecipeSource _source, int idMat=-1, Thing ing=null) |
| |
| static Recipe | Create (Thing t) |
| |
| static void | DropIngredients (string id, string idMatMain, int num=1) |
| |
| 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) |
| |
Definition at line 9 of file Recipe.cs.
◆ State
◆ Build() [1/2]
| virtual void Recipe.Build |
( |
Chara | chara, |
|
|
Card | t, |
|
|
Point | pos, |
|
|
int | mat, |
|
|
int | dir, |
|
|
int | altitude, |
|
|
int | bridgeHeight ) |
|
virtual |
◆ Build() [2/2]
◆ BuildIngredientList() [1/2]
| virtual void Recipe.BuildIngredientList |
( |
| ) |
|
|
virtual |
◆ BuildIngredientList() [2/2]
| void Recipe.BuildIngredientList |
( |
Thing | t | ) |
|
◆ Craft()
| virtual Thing Recipe.Craft |
( |
BlessedState | blessed, |
|
|
bool | sound = false, |
|
|
List< Thing > | ings = null, |
|
|
bool | model = false ) |
|
virtual |
◆ Create() [1/2]
◆ Create() [2/2]
◆ DropIngredients()
| static void Recipe.DropIngredients |
( |
string | id, |
|
|
string | idMatMain, |
|
|
int | num = 1 ) |
|
static |
◆ Duplicate()
| virtual Recipe Recipe.Duplicate |
( |
| ) |
|
|
virtual |
◆ GetBoxType()
| BaseTileSelector.BoxType Recipe.GetBoxType |
( |
| ) |
|
◆ GetColorMaterial()
◆ GetDefaultColor()
| int Recipe.GetDefaultColor |
( |
| ) |
|
◆ GetDetail()
| virtual string Recipe.GetDetail |
( |
| ) |
|
|
virtual |
◆ GetIdThing()
| virtual string Recipe.GetIdThing |
( |
| ) |
|
|
virtual |
◆ GetMainMaterial()
◆ GetMaxCount()
| int Recipe.GetMaxCount |
( |
| ) |
|
◆ GetName()
| string Recipe.GetName |
( |
| ) |
|
◆ GetOrCreate()
| static Recipe Recipe.GetOrCreate |
( |
string | id | ) |
|
|
static |
◆ GetQualityBonus()
| int Recipe.GetQualityBonus |
( |
| ) |
|
◆ GetRefVal()
| virtual int Recipe.GetRefVal |
( |
| ) |
|
|
virtual |
◆ GetRenderer()
◆ GetSortVal()
| int Recipe.GetSortVal |
( |
| ) |
|
◆ HasSameTile()
| bool Recipe.HasSameTile |
( |
Point | point, |
|
|
int | dir, |
|
|
int | altitude, |
|
|
int | bridgeHeight ) |
◆ IsCraftable()
| bool Recipe.IsCraftable |
( |
| ) |
|
◆ IsStaticLV()
| bool Recipe.IsStaticLV |
( |
| ) |
|
◆ OnChangeAltitude()
| virtual void Recipe.OnChangeAltitude |
( |
int | a | ) |
|
|
virtual |
◆ OnChangeIngredient()
| virtual void Recipe.OnChangeIngredient |
( |
| ) |
|
|
virtual |
◆ OnRenderMarker()
| virtual unsafe void Recipe.OnRenderMarker |
( |
Point | point, |
|
|
bool | active, |
|
|
HitResult | result, |
|
|
bool | main, |
|
|
int | dir, |
|
|
int | bridgeHeight ) |
|
virtual |
◆ OnSelected()
| virtual void Recipe.OnSelected |
( |
| ) |
|
|
virtual |
◆ Rotate()
| virtual void Recipe.Rotate |
( |
| ) |
|
|
virtual |
◆ SetDir()
| virtual void Recipe.SetDir |
( |
int | d | ) |
|
|
virtual |
◆ SetImage()
| virtual void Recipe.SetImage |
( |
Image | icon | ) |
|
|
virtual |
◆ SetTextDifficulty()
| void Recipe.SetTextDifficulty |
( |
UIText | text | ) |
|
◆ ShouldShowHighlight()
| virtual bool Recipe.ShouldShowHighlight |
( |
HitResult | r | ) |
|
|
virtual |
◆ WriteNote()
| virtual void Recipe.WriteNote |
( |
UINote | n | ) |
|
|
virtual |
◆ WriteReqFactory()
| void Recipe.WriteReqFactory |
( |
UINote | n, |
|
|
bool | hasFactory = true ) |
◆ WriteReqSkill()
| void Recipe.WriteReqSkill |
( |
UINote | n | ) |
|
◆ _dir
◆ _source
◆ id
◆ idMat
◆ idSkin
◆ IngAsProduct
◆ ingredients
◆ recipeCache
| Dictionary<string, Recipe> Recipe.recipeCache = new Dictionary<string, Recipe>() |
|
static |
◆ state
| Recipe.State Recipe.state |
◆ sync
◆ UseStock
◆ VirtualBlock
◆ CanRotate
| virtual bool Recipe.CanRotate |
|
get |
◆ CostMoney
| virtual int Recipe.CostMoney |
|
get |
◆ DefaultMaterial
◆ IsBlock
| virtual bool Recipe.IsBlock |
|
get |
◆ IsBridge
◆ IsFloor
◆ IsFloorOrBridge
| virtual bool Recipe.IsFloorOrBridge |
|
get |
◆ IsObj
◆ IsThing
| virtual bool Recipe.IsThing |
|
get |
◆ IsWallOrFence
| bool Recipe.IsWallOrFence |
|
get |
◆ MaxAltitude
◆ Mold
◆ MultiSize
◆ Name
◆ RecipeLv
◆ renderRow
◆ RequireIngredients
| virtual bool Recipe.RequireIngredients |
|
get |
◆ source
◆ tileRow
◆ tileSelector
◆ tileType
The documentation for this class was generated from the following file: