From c8aba822bf86cb8bad2bc491007c5164e075b54e Mon Sep 17 00:00:00 2001 From: Nikolai Fedorov Date: Thu, 23 Apr 2026 17:20:14 +0300 Subject: [PATCH] remove coloring when item grabbed --- scripts/Player.gd | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/scripts/Player.gd b/scripts/Player.gd index 216e258..06b204c 100644 --- a/scripts/Player.gd +++ b/scripts/Player.gd @@ -296,30 +296,18 @@ func apply_upgrade_boots(speed_bonus: float, _tier: int) -> void: kick_tier += 1 move_speed += speed_bonus _apply_boot_mesh(kick_tier) - var tw := create_tween() - tw.tween_property(player_mat, "albedo_color", Color(1.0, 0.85, 0.2), 0.1) - tw.tween_property(player_mat, "albedo_color", BASE_COLOR, 0.4) func apply_upgrade_armor() -> void: kick_tier += 1 - var tw := create_tween() - tw.tween_property(player_mat, "albedo_color", Color(0.7, 0.8, 1.0), 0.1) - tw.tween_property(player_mat, "albedo_color", BASE_COLOR, 0.5) func apply_upgrade_enchant() -> void: kick_tier += 1 - var tw := create_tween() - tw.tween_property(player_mat, "albedo_color", Color(0.8, 0.2, 1.0), 0.1) - tw.tween_property(player_mat, "albedo_color", BASE_COLOR, 0.6) func apply_stick_armor() -> bool: if has_stick_armor: return false has_stick_armor = true toughness_tier += 1 - var tw := create_tween() - tw.tween_property(player_mat, "albedo_color", Color(0.7, 0.5, 0.2), 0.1) - tw.tween_property(player_mat, "albedo_color", BASE_COLOR, 0.4) return true func apply_leather_armor() -> bool: @@ -327,9 +315,6 @@ func apply_leather_armor() -> bool: return false has_leather_armor = true toughness_tier += 1 - var tw := create_tween() - tw.tween_property(player_mat, "albedo_color", Color(0.8, 0.5, 0.2), 0.1) - tw.tween_property(player_mat, "albedo_color", BASE_COLOR, 0.4) return true func apply_plate_armor() -> bool: @@ -337,9 +322,6 @@ func apply_plate_armor() -> bool: return false has_plate_armor = true toughness_tier += 1 - var tw := create_tween() - tw.tween_property(player_mat, "albedo_color", Color(0.6, 0.7, 1.0), 0.1) - tw.tween_property(player_mat, "albedo_color", BASE_COLOR, 0.5) return true func apply_wooden_shield() -> bool: @@ -347,9 +329,6 @@ func apply_wooden_shield() -> bool: return false has_wooden_shield = true shield_tier = max(shield_tier, 1) - var tw := create_tween() - tw.tween_property(player_mat, "albedo_color", Color(0.55, 0.38, 0.18), 0.1) - tw.tween_property(player_mat, "albedo_color", BASE_COLOR, 0.4) return true func apply_iron_shield() -> bool: @@ -357,7 +336,4 @@ func apply_iron_shield() -> bool: return false has_iron_shield = true shield_tier = max(shield_tier, 2) - var tw := create_tween() - tw.tween_property(player_mat, "albedo_color", Color(0.55, 0.58, 0.62), 0.1) - tw.tween_property(player_mat, "albedo_color", BASE_COLOR, 0.5) return true