Artifact 4a989c354e33ed4366ecf54acdea2437f5b786ea4cabe11c26cb28865e1395ec:
- File context.lua — part of check-in [f165d9e39f] at 2020-09-24 23:07:33 on branch trunk — add blood god, add gravitator, add hand-drawn ore images, add mana hud display for enchanted items, various tweaks and enhancements (user: lexi, size: 469) [annotate] [blame] [check-ins using]
sorcery.ctx = { users = {}; get = function(uo) local name = uo:get_player_name() if sorcery.ctx.users[name] == nil then sorcery.ctx.users[name] = {} end return sorcery.ctx.users[name] end; stat = function(uo) local name = uo:get_player_name() return (sorcery.ctx.users[name] ~= nil) end; } minetest.register_on_leaveplayer(function(obj) local name = obj:get_player_name() if sorcery.ctx.users[name] then sorcery.ctx.users[name] = nil end end)