Skip to content

Commit

Permalink
idk random
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed May 2, 2023
1 parent ecd7413 commit 4872b32
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions eggtoast_factorit/Asys.lua
Original file line number Diff line number Diff line change
Expand Up @@ -176,25 +176,21 @@ function love.wheelmoved(x, y)
else
if crafteruse then
crafter.wheel(y)
else
if plr.craftopen then
elseif plr.craftopen then
crafttable.wheel(y)
else
if y < 0 then
plr.hotselect=plr.hotselect+1
if plr.hotselect>9 then
plr.hotselect=1
end
elseif y > 0 then
plr.hotselect= plr.hotselect-1
if plr.hotselect<1 then
plr.hotselect=9
elseif y < 0 then
plr.hotselect=plr.hotselect+1
if plr.hotselect>9 then
plr.hotselect=1
end
elseif y > 0 then
plr.hotselect= plr.hotselect-1
if plr.hotselect<1 then
plr.hotselect=9
end
end
end
end
end
end
end
fntgame = love.graphics.newFont("rmpfont.ttf",30)
love.graphics.setFont(fntgame)
mousedebug=true
Expand Down

0 comments on commit 4872b32

Please sign in to comment.