Please help with the "Delay" function in lua with the add-on love2d. Searching in Google I found features that VERY inhibit the game. For example, I will write an excerpt from my code.
subspeed = 5 -- вычитание голода за одну минуту -- function hungersubstract(subspeed) playerhunger = playerhunger - subspeed -- Тут нужна задержка на одну минуту-- end