Skip to content
Snippets Groups Projects
Commit 8d76683f authored by Milan's avatar Milan
Browse files

knock-out experience

parent cbfa00e0
Branches
No related tags found
No related merge requests found
Pipeline #853 canceled
--[[
minetest.override_item("default:stone_with_coal", {
groups = {cracky=3,xp=1},
})
]]
......@@ -95,7 +95,7 @@ xp = io.open(minetest.get_worldpath().."/experience/"..player:get_player_name(),
player:hud_change(xp_hud, "xp_hud", expe)
end
end)
--[[
--Allow people to collect orbs
minetest.register_globalstep(function(dtime)
for _,player in ipairs(minetest.get_connected_players()) do
......@@ -200,7 +200,7 @@ minetest.register_globalstep(function(dtime)
end
end
end)
--]]
minetest.register_entity("experience:orb", {
physical = true,
timer = 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment