12 return base.GetParam(1,
null);
17 public override int GetValue()
19 return base.GetValue() * (100 + (this.owner.LV - 5) * 10) / 100;
23 public override void OnRead(
Chara c)
25 string randomRecipe =
RecipeManager.GetRandomRecipe(this.owner.LV,
this.Cat,
true);
26 if (randomRecipe.IsEmpty())
28 Msg.SayNothingHappen();
31 EClass.player.recipes.Add(randomRecipe,
true);
32 this.owner.ModNum(-1,
true);
36 public override void SetName(ref
string s)
38 s = s +
" Lv." + this.owner.LV.ToString();
42 public override bool CanStackTo(
Thing to)
44 return base.CanStackTo(to) && this.owner.LV == to.LV;