Skip to content

Commit

Permalink
Merge pull request #3607 from atom-skillz/feature/add-tray-growth
Browse files Browse the repository at this point in the history
Add current stage and growth to tray description
  • Loading branch information
sayterdarkwynd authored Nov 15, 2024
2 parents 8a815a7 + 2f98c7b commit 1d1fd1a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions objects/isn_unifiedgrowingtray.lua
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ function handleTooltip(args)
end
seedString='Seeds Used: ' .. seedUseWith .. seedString .. "\n"

--seed min and max duration display
if args.seed and args.seed.name then
seedString=seedString.."Stage ^yellow;"..storage.currentStage.."^reset; ^green;"..math.floor(storage.growth).."^reset; / ^green;"..storage.stage[storage.currentStage].val.."^reset;\n"
end

--yield calc
local yieldWith=getFertSum('yield', args.fert, args.water)
local yieldWithout=getFertSum('yield', "absolutelynothing", "absolutelynothing")
Expand Down

0 comments on commit 1d1fd1a

Please sign in to comment.