starlit  Diff

Differences From Artifact [d021d078eb]:

To Artifact [d81d22bdc5]:


     1         -local ident = minetest.get_current_modname()
     2         -local path = minetest.get_modpath(ident)
            1  +local ident = core.get_current_modname()
            2  +local path = core.get_modpath(ident)
     3      3   
     4      4   local lib = {}
     5      5   _G[ident] = lib
     6      6   
     7      7   local function
     8      8   component(name)
     9      9   	local p = string.format('%s/%s.lua', path, name)