knock-out experience
This commit is contained in:
parent
cbfa00e08a
commit
8d76683f91
@ -1,3 +1,5 @@
|
|||||||
|
--[[
|
||||||
minetest.override_item("default:stone_with_coal", {
|
minetest.override_item("default:stone_with_coal", {
|
||||||
groups = {cracky=3,xp=1},
|
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)
|
player:hud_change(xp_hud, "xp_hud", expe)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
--[[
|
||||||
--Allow people to collect orbs
|
--Allow people to collect orbs
|
||||||
minetest.register_globalstep(function(dtime)
|
minetest.register_globalstep(function(dtime)
|
||||||
for _,player in ipairs(minetest.get_connected_players()) do
|
for _,player in ipairs(minetest.get_connected_players()) do
|
||||||
@ -200,7 +200,7 @@ minetest.register_globalstep(function(dtime)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
--]]
|
||||||
minetest.register_entity("experience:orb", {
|
minetest.register_entity("experience:orb", {
|
||||||
physical = true,
|
physical = true,
|
||||||
timer = 0,
|
timer = 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user