diff options
author | Alexander Weber <web.alexander@web.de> | 2017-06-16 21:40:54 +0200 |
---|---|---|
committer | Alexander Weber <web.alexander@web.de> | 2017-06-16 21:40:54 +0200 |
commit | b267cf26579623565f5a85bee9e8584a5467a85f (patch) | |
tree | 67cb167485d31eb17ef6a187ab9416e367a88409 /init.lua | |
parent | dcd0a744cb4bd8398dfe528a26f65e4e8936cc8e (diff) |
renamed players.lua -> api.lua; some cleanups
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -9,26 +9,8 @@ skins = {} skins.modpath = minetest.get_modpath(minetest.get_current_modname()) skins.default = "character_1" -skins.type = { SPRITE=0, MODEL=1, ERROR=99 } -skins.get_type = function(texture) - if not skins.is_skin(texture) then - return skins.type.ERROR - end - return skins.type.MODEL -end - -skins.is_skin = function(texture) - if not texture then - return false - end - if not skins.meta[texture] then - return false - end - return true -end - +dofile(skins.modpath.."/api.lua") dofile(skins.modpath.."/skinlist.lua") -dofile(skins.modpath.."/players.lua") -- Unified inventory page/integration if minetest.get_modpath("unified_inventory") then |