Skip to content

lyuz1n/magic-roulette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Magic Roulette Original created by Lyu

roulette

Dependencies

Class Helper (lib/core/class.lua)

https://gist.github.com/lyuz1n/6ef834507fbbeb57040ea5a325af6cbb

creature:setSpeed method (add to your source)

https://gist.github.com/lyuz1n/e1690914b3469ec30f3b6ca60800974b

uuid function (add to global.lua)

local random = math.random
function uuid()
    local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'
    return string.gsub(template, '[xy]', function (c)
        local v = (c == 'x') and random(0, 0xf) or random(8, 0xb)
        return string.format('%x', v)
    end)
end

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages