|
Elin Decompiled Documentation EA 23.244 Nightly
|
Public Types | |
| enum | MixType { General , Food , NoMix } |
| enum | WrapType { Love , Dark } |
Static Public Member Functions | |
| static void | ModRandomFoodEnc (Thing t) |
| static void | AddRandomFoodEnc (Thing t) |
| static void | MakeDish (Thing food, int lv, Chara crafter=null, int seed=-1) |
| static string | GetBloodText (Chara c) |
| static int | GetFoodScore (Thing food) |
| static Thing | MakeBloodMeal (Chara sucker, Chara feeder, bool msg=true) |
| static Thing | MakeBloodSample (Chara sucker, Chara feeder) |
| static Thing | MakeDarkSoup () |
| static Thing | GetRandomDarkSoupIngredient (Chara c) |
| static Thing | MakeLoveLunch (Chara c) |
| static Thing | GetRandomLoveLunchIngredient (Chara c) |
| static void | WrapIngredient (Card product, Chara c, Card ing, WrapType wrapType) |
| static void | MakeDish (Card food, List< Thing > ings, int qualityBonus, Chara crafter=null) |
| static Thing | MixIngredients (string idProduct, List< Thing > ings, MixType type, int idMat=0, Chara crafter=null) |
| static Card | MixIngredients (Card product, List< Thing > ings, MixType type, int maxQuality, Chara crafter=null) |
Static Public Member Functions inherited from EClass | |
| static int | rndSeed (int a, int seed) |
| static int | rnd (long a) |
| static int | rnd (int a) |
| static int | curve (int _a, int start, int step, int rate=75) |
| static int | sqrt (int a) |
| 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 = new string[2] { "exp", "pot" } |
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 5 of file CraftUtil.cs.
| enum CraftUtil.MixType |
| Enumerator | |
|---|---|
| General | |
| Food | |
| NoMix | |
Definition at line 7 of file CraftUtil.cs.
| enum CraftUtil.WrapType |
| Enumerator | |
|---|---|
| Love | |
| Dark | |
Definition at line 14 of file CraftUtil.cs.
|
inlinestatic |
Definition at line 43 of file CraftUtil.cs.
References SourceManager.elements, ListFoodEffect, and EClass.sources.
Referenced by TraitSeed.LevelSeed().
|
inlinestatic |
Definition at line 117 of file CraftUtil.cs.
References EClass.debug, Card.Evalue(), CoreDebug.godMode, Element.IsFoodTraitMain, EClass.pc, Element.source, and Element.Value.
Referenced by Chara.GetHoverText().
|
inlinestatic |
Definition at line 141 of file CraftUtil.cs.
References food, Element.IsFoodTraitMain, and Element.Value.
Referenced by AI_Idle.Run().
Definition at line 215 of file CraftUtil.cs.
References ThingGen.CreateFromFilter(), and Card.LV.
Definition at line 249 of file CraftUtil.cs.
References ThingGen.Create(), EClass.debug, CoreDebug.enable, Card.Evalue(), Card.HasTag(), and Card.LV.
Definition at line 154 of file CraftUtil.cs.
References Card.c_bloodData, ThingGen.CreateFromCategory(), EClass.curve(), Card.Duplicate(), Card.elements, Card.Evalue(), EClass.game, BaseCard.GetInt(), Card.LER, Card.LV, ElementContainer.ModBase(), Card.Say(), Game.seed, Rand.SetSeed(), ElementContainer.SetTo(), and Card.uid.
Referenced by AI_Fuck.Finish(), and CoreDebug.UpdateInput().
Definition at line 185 of file CraftUtil.cs.
References ThingGen.Create(), Card.elements, EClass.game, Element.id, Game.seed, ElementContainer.SetTo(), and Element.Value.
|
inlinestatic |
Definition at line 200 of file CraftUtil.cs.
References EClass._map, CoreDebug.autoIdentify, Map.charas, ThingGen.Create(), EClass.debug, and EClass.rnd().
|
inlinestatic |
Definition at line 310 of file CraftUtil.cs.
References CardRow._origin, Card.Add(), Card.c_idRefCard, food, Card.id, and Card.sourceCard.
|
inlinestatic |
Definition at line 61 of file CraftUtil.cs.
References RecipeManager.BuildList(), ThingGen.Create(), Card.elements, Card.encLV, food, RecipeManager.Get(), RecipeSource.GetIngredients(), Card.id, RecipeSource.IsCraftable(), TraitSeed.LevelSeed(), EClass.rnd(), seed, ElementContainer.SetBase(), Card.SetEncLv(), Rand.SetSeed(), and Card.TryMakeRandomItem().
Referenced by FactionBranch.DailyOutcome(), RecipeCard.MakeDish(), Trait.OnBarter(), Map.TryShatter(), and TraitFoodEgg.Update().
Definition at line 220 of file CraftUtil.cs.
References CoreDebug.autoIdentify, ThingGen.Create(), EClass.debug, Card.elements, Card.Evalue(), Card.HasElement(), Card.MakeRefFrom(), EClass.pc, ElementContainer.SetBase(), and Rand.SetSeed().
Referenced by Trait.OnBarter(), Chara.ShowDialog(), and CoreDebug.UpdateInput().
|
inlinestatic |
Definition at line 374 of file CraftUtil.cs.
References Card.c_idRefCard, Card.c_priceCopy, ElementContainer.dict, Card.elements, Card.Evalue(), Card.FameLv, BaseCard.GetInt(), Card.GetValue(), Card.HasCraftBonusTrait(), Card.HasElement(), Card.HasTag(), Element.HasTag(), Card.id, Element.id, Element.IsFoodTrait, Element.IsFoodTraitMain, Element.IsTrait, item, Card.ListCraftBonusTraits(), ElementContainer.ModBase(), noMix, EClass.pc, Thing.SelfWeight, ElementContainer.SetTo(), Card.Thing, and Element.Value.
|
inlinestatic |
Definition at line 363 of file CraftUtil.cs.
References Card.ChangeMaterial(), and ThingGen.Create().
Referenced by TraitCrafter.Craft(), RecipeCard.MixIngredients(), TraitBrewery.OnChildDecay(), and TaskChopWood.OnCreateProgress().
|
inlinestatic |
Definition at line 22 of file CraftUtil.cs.
References Element.id, Element.IsFoodTrait, EClass.rnd(), and Element.Value.
Referenced by TraitSeed.LevelSeed().
|
inlinestatic |
Definition at line 264 of file CraftUtil.cs.
References Card.c_mixedFoodData, Element.HasTag(), Element.id, Element.IsFoodTrait, Element.IsFoodTraitMain, Element.IsTrait, Card.Name, Card.NameSimple, MixedFoodData.texts, and Element.Value.
|
static |
Definition at line 20 of file CraftUtil.cs.
Referenced by AddRandomFoodEnc().