24 public override void SetName(ref
string s)
27 s =
"_recipe".lang(
recipe.
Name.ToTitleCase(), s) + ((num == 0) ?
"" :
"recipe_learnt".lang(num.ToString() ??
""));
45 return owner.sourceCard.value * (100 + recipe.row.LV * 15) / 100;
void SetStr(int id, string value=null)
string GetStr(int id, string defaultStr=null)
void ModNum(int a, bool notify=true)
static Dictionary< string, RecipeSource > dict
Dictionary< string, int > knownRecipes
void Add(string id, bool showEffect=true)
static string GetRandomRecipe(int lvBonus, string cat=null, bool onlyUnlearned=false)
override bool CanStackTo(Thing to)
override string IdNoRestock
override void SetName(ref string s)
override bool CanBeDestroyed
override bool CanBeShipped
override void OnRead(Chara c)
override void WriteNote(UINote n, bool identified)
override void OnCreate(int lv)
UIItem AddText(string text, FontColor color=FontColor.DontChange)