I want to make a HUD that will show me the time remaining to get next skill and time remaining to eat all the brown mushrooms.
So far I made only this but it doesn't even work.
I'm new with iBot so please help me
Would be great if timer would be like: Next club skill in 2h30min and Last brown mushroom in 2h30min.
Thanks in advice
local SCREEN_X, SCREEN_Y = 15, 300
local COUNT = itemcount("brown mushroom")
local SHROM = 264
local TIMER = math.floor((COUNT * SHROM)/60)
setfontcolor(rgbcolor(255, 248, 220))
addtext('Mushrooms for ' .. TIMER .. 'minutes, SCREEN_X, SCREEN_Y)