Add files via upload

master
AiTechEye 2019-05-21 15:07:34 +02:00 committed by GitHub
parent 0565cf6820
commit f3222c92a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@ if minetest.PLAYER_MAX_HP_DEFAULT then
minetest.PLAYER_MAX_breath_DEFAULT=51
end
minetest.register_on_leaveplayer(function(player)
vexcazer.undo[player:get_player_name()] = nil
end)
minetest.register_on_joinplayer(function(player)
player:set_properties({hp_max=20,breath_max=11})
player:set_hp(20)