Update functions.lua
This commit is contained in:
1 parent
3549e4afaa
commit
b682a9310d
1 file changed
+5
-1
@@ -44,11 +44,15 @@ function minigame(num1, num2)
|
|||||||
if num2 <= 6 then num2 = 'hard' elseif num2 >= 7 and num2 <= 12 then num2 = 'medium' else num2 = 'easy' end
|
if num2 <= 6 then num2 = 'hard' elseif num2 >= 7 and num2 <= 12 then num2 = 'medium' else num2 = 'easy' end
|
||||||
local success = lib.skillCheck({num1, num2}, {'1', '2', '3', '4'})
|
local success = lib.skillCheck({num1, num2}, {'1', '2', '3', '4'})
|
||||||
return success
|
return success
|
||||||
else
|
elseif minigametype == 'none' then
|
||||||
|
return true
|
||||||
|
else
|
||||||
|
|
||||||
print"dude, it literally tells you what you need to set it as in the config"
|
print"dude, it literally tells you what you need to set it as in the config"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
function Notify(text, type)
|
function Notify(text, type)
|
||||||
if notifytype =='ox' then
|
if notifytype =='ox' then
|
||||||
lib.notify({title = text, type = type})
|
lib.notify({title = text, type = type})
|
||||||
|
|||||||
Reference in new issue
Block a user