game: remove old debug prints
This commit is contained in:
@@ -102,7 +102,6 @@ func draw_random_mod(fortune: float = 1.0) -> PlayerStatsModifier:
|
|||||||
mod.description = choice["description"]
|
mod.description = choice["description"]
|
||||||
mod.internal_name = choice["internal_name"]
|
mod.internal_name = choice["internal_name"]
|
||||||
mod.tex = choice["tex"]
|
mod.tex = choice["tex"]
|
||||||
print_debug("gc: %s" % mod.tex)
|
|
||||||
mod.title = choice["name"]
|
mod.title = choice["name"]
|
||||||
|
|
||||||
return mod
|
return mod
|
||||||
|
@@ -25,7 +25,6 @@ func _ready() -> void:
|
|||||||
upgrade_name.text = mod.title
|
upgrade_name.text = mod.title
|
||||||
upgrade_description.text = mod.description
|
upgrade_description.text = mod.description
|
||||||
upgrade_tex.texture = mod.tex
|
upgrade_tex.texture = mod.tex
|
||||||
print_debug("tex: %s" % mod.tex)
|
|
||||||
|
|
||||||
|
|
||||||
func _on_pick_button_pressed() -> void:
|
func _on_pick_button_pressed() -> void:
|
||||||
|
@@ -42,7 +42,6 @@ func update_xp():
|
|||||||
push_error("cant update xp, no player found")
|
push_error("cant update xp, no player found")
|
||||||
var current_xp = player.player_stats.get_final("current_xp", player.modifiers)
|
var current_xp = player.player_stats.get_final("current_xp", player.modifiers)
|
||||||
var max_xp = player.player_stats.xp_required_for_level()
|
var max_xp = player.player_stats.xp_required_for_level()
|
||||||
print_debug("updating xp bar: %s-%s" % [current_xp, max_xp])
|
|
||||||
wanted_xp_value = current_xp
|
wanted_xp_value = current_xp
|
||||||
wanted_xp_max = max_xp
|
wanted_xp_max = max_xp
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user