TerraFirmaCraft

TerraFirmaCraft

2M Downloads

Fertilizer multi-inputs.

alcatrazEscapee opened this issue ยท 0 comments

commented

As a QoL feature, when applying fertilizer, if shift is held, we should consume more than 1 if possible according to the rule of filling the next possible nutrient, but no more.

i.e.

10/20/0 fertilizer, on a 0/50/0 crop:

  • first use, consumes 3x and raises to a 30/100/0
  • use again, consumes 7x and raises to a 100/100/0

implementation note: just consume fertilizer in a loop until the number of values == 100 changes (i.e. goes up) or you run out of fertilizer.