diff --git a/game_manager.gd b/game_manager.gd index 0d47f5b..4275d2c 100644 --- a/game_manager.gd +++ b/game_manager.gd @@ -1,9 +1,21 @@ extends Node2D var paintings_sold = 0 +var paintings_total = 0 # tracker variables for bid markers, proposing bids happens between numpad and audience var current_bid = 0 var final_bid = 0 -var auction_open = false +var target_sales: int = 0 +var total_sales: int = 0 + +# state tracker for a given painting's auction +var bidding_open = false + + +func _ready() -> void: + paintings_total = randi_range(7,10) + target_sales = (paintings_total * 100000)/randf_range(1.25,2) # need to workshop the target sales generation process for more interesting numbers + print("You have " + str(paintings_total) + " paintings. Sell them for at least $" + str(target_sales) + " or face the consequences!") + pass diff --git a/project.godot b/project.godot index 8b99241..7b12ecc 100644 --- a/project.godot +++ b/project.godot @@ -11,5 +11,6 @@ config_version=5 [application] config/name="ld58" +run/main_scene="uid://dt4nq0nkmjiit" config/features=PackedStringArray("4.5", "Forward Plus") config/icon="res://icon.svg"