This commit is contained in:
ANAND 2019-07-13 07:23:08 +05:30
commit 39b573de53
No known key found for this signature in database
GPG key ID: 3AD8A3C4A51AAB97
2 changed files with 2 additions and 1 deletions

View file

@ -24,6 +24,7 @@ minetest.register_craftitem("ctf_bandages:bandage", {
end
object:set_hp(hp)
itemstack:take_item()
minetest.chat_send_player(pname, minetest.colorize("#C1FF44", name .. " has healed you!"))
return itemstack
else
minetest.chat_send_player(name, pname .. " has " .. hp .. " HP. You can't heal them.")

View file

@ -23,7 +23,7 @@ function ctf_treasure.get_default_treasures()
{"shooter:ammo",0.3,2,{1,10}},
{"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}
}
end