added selling cards and made shop items cheaper

This commit is contained in:
2024-03-31 19:32:00 +11:00
parent e84496dcf8
commit 05914a3c64
22 changed files with 354 additions and 413 deletions

View File

@ -0,0 +1,6 @@
class_name Shredder extends StaticBody3D
func _on_interact_button_button_interacted(_value: int, callback: Hero) -> void:
var card: Card = callback.inventory.remove_at(callback.inventory_selected_index) as Card
callback.currency += 5 * (card.rarity + 1)