User:RansomTime/Herbs

From Old School RuneScape Wiki
Jump to: navigation, search

This calculator determines expected yield, cost and profit (or lack thereof) of planting and picking herbs on a full herb run. It assumes:

  • All prices are based on the Grand Exchange Market Watch, including seeds, herbs and composts.
  • The price of goutweed, whilst not having a specific Grand Exchange value, has an inherent value based on the exchange value of the herbs it provides when exchanging goutweed with Sanfew. An expected value can be obtained based on the probabilities listed.
  • Expected chance of disease leading to death based on , where is the probability of disease per stage and is the number of growth cycles the crop requires to fully grow.
  • Expected yield based on negative binomial distribution of
  • Rounding down is used on all base chances as is expected with Runescript and as described by Jagex Moderators[1].
  1. Jagex. Mod Kieren's Twitter account. 8 September 2017. Mod Kieren: "On each stage! The division is always rounded down."

Herbs[edit | edit source]

<pre class="jcConfig"> template=User:RansomTime/Herbs/Template form=HerbFormFullTrip result=HerbResultFullTrip param = playername|Name||hs|FarmingLevel_Input,20,1 param = FarmingLevel_Input|Farming Level|1|int|1-99| param = Compost_Input|Compost|None|select|None,Compost,Supercompost,Ultracompost param = Bucket_Input|Bottomless Bucket|no|check|yes,no param = Secateurs_Input|Magic Secateurs|no|check|yes,no param = Cape_Input|Farming Cape|no|check|yes,no param = Attas_Input|Attas|no|check|yes,no param = Patch_Gla_Immune|50%+ Hosidius favour|yes|check|yes,no param = Patch_Cth_Bonus|Catherby Diary Bonus|None|select|None,Medium 5%,Hard 10%,Elite 15% param = Patch_Zeah_Bonus|Zeah Hard Diary?|no|check|yes,no param = Patch_Fal|Falador Patch|yes|check|yes,no param = Patch_Swm|Morytania Patch|yes|check|yes,no param = Patch_Cth|Catherby Patch|yes|check|yes,no param = Patch_Ard|Ardougne Patch|yes|check|yes,no param = Patch_Gla|Glade Patch|yes|check|yes,no param = Patch_Gul|Farming Guild Patch|no|check|yes,no param = Patch_Arm|Troll Stronghold Patch|no|check|yes,no param = Patch_Wei|Weiss Patch|no|check|yes,no param = Patch_Hrm|Harmony Island Patch|no|check|yes,no </pre> {| cellspacing="0" cellpadding="0" |valign=left width="500"|<div id="HerbFormFullTrip">Please input the data and submit the form.</div> |} <br/> ---- <div id="HerbResultFullTrip">{{User:RansomTime/Herbs/Template}}</div>