Merge branch 'master' of https://github.com/MT-CTF/capturetheflag
This commit is contained in:
commit
39b573de53
2 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ minetest.register_craftitem("ctf_bandages:bandage", {
|
||||||
end
|
end
|
||||||
object:set_hp(hp)
|
object:set_hp(hp)
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
|
minetest.chat_send_player(pname, minetest.colorize("#C1FF44", name .. " has healed you!"))
|
||||||
return itemstack
|
return itemstack
|
||||||
else
|
else
|
||||||
minetest.chat_send_player(name, pname .. " has " .. hp .. " HP. You can't heal them.")
|
minetest.chat_send_player(name, pname .. " has " .. hp .. " HP. You can't heal them.")
|
||||||
|
|
|
@ -23,7 +23,7 @@ function ctf_treasure.get_default_treasures()
|
||||||
{"shooter:ammo",0.3,2,{1,10}},
|
{"shooter:ammo",0.3,2,{1,10}},
|
||||||
{"shooter:arrow_white",0.5,2,{2,18}},
|
{"shooter:arrow_white",0.5,2,{2,18}},
|
||||||
|
|
||||||
{"ctf_bandages:bandage",0.3,5,{1,6}},
|
{"ctf_bandages:bandage",0.8,2,{2,4}},
|
||||||
{"medkits:medkit",0.8,5,2}
|
{"medkits:medkit",0.8,5,2}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue