knock-out experience

This commit is contained in:
Milan 2018-10-17 12:29:09 +02:00
parent cbfa00e08a
commit 8d76683f91
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
--[[
minetest.override_item("default:stone_with_coal", {
groups = {cracky=3,xp=1},
})
]]

View File

@ -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,