Remove player health, use playermap

This commit is contained in:
Vladislav Khorev committed 2026-11-07 13:48:54 +06:00
1 parent b932a07cba
commit be8ee31f03
14 files changed
+27 -39

No files matched your search

-9
View File
@@ -275,7 +275,6 @@ function on_quest_over()
end
function on_darklands_over()
game_api.set_player_hp(10)
game_api.resetPlayerAfterDeath()
end
@@ -1346,9 +1345,6 @@ end
function callback_enter_location()
print("Enter location uni interior-")
--player_left_darklands = false
local hp = game_api.getFloatValue("player_hp")
game_api.set_player_hp(hp)
local day = game_api.getIntValue("day")
print("day is:")
@@ -1402,11 +1398,6 @@ end
function callback_exit_location()
print("Exit location uni interior")
--player_left_darklands = false
local hp = game_api.get_player_hp()
game_api.setFloatValue("player_hp", hp)
--[[
0 - day0
1 - darklands