diff --git a/.godot/editor/editor_layout.cfg b/.godot/editor/editor_layout.cfg index 10622c271cce4bd04635c1262c9dec2913a1a09d..fcd5562fedf252c89068e8bd447c7a75f7c04b8b 100644 --- a/.godot/editor/editor_layout.cfg +++ b/.godot/editor/editor_layout.cfg @@ -28,15 +28,15 @@ dock_5="Inspector,Node,History" open_scenes=PackedStringArray("res://scenes/game.tscn", "res://main.tscn", "res://scenes/Shop.tscn", "res://scenes/ShopItem.tscn", "res://scenes/Pawn.tscn", "res://scenes/Rook.tscn") current_scene="res://scenes/Shop.tscn" -center_split_offset=-531 +center_split_offset=-453 selected_default_debugger_tab_idx=0 selected_main_editor_idx=2 -selected_bottom_panel_item=1 +selected_bottom_panel_item=0 [ScriptEditor] open_scripts=["res://scripts/game.gd", "res://scripts/Pawn.gd", "res://scripts/Queen.gd", "res://README.md", "res://scripts/Rook.gd", "res://scripts/scene_manager.gd", "res://scripts/Shop.gd", "res://scenes/shop_item.gd"] -selected_script="res://scripts/Shop.gd" +selected_script="res://scripts/game.gd" open_help=[] script_split_offset=70 list_split_offset=0 diff --git a/.godot/editor/script_editor_cache.cfg b/.godot/editor/script_editor_cache.cfg index 50c2daae3a3c41bf2948d1c21f61bb24f4bbe9bc..a4321f1a9daa29eb348ab3a1679821c45da6adab 100644 --- a/.godot/editor/script_editor_cache.cfg +++ b/.godot/editor/script_editor_cache.cfg @@ -17,11 +17,11 @@ state={ state={ "bookmarks": PackedInt32Array(), "breakpoints": PackedInt32Array(), -"column": 38, +"column": 23, "folded_lines": Array[int]([]), "h_scroll_position": 0, -"row": 553, -"scroll_position": 545.0, +"row": 3, +"scroll_position": 0.0, "selection": false, "syntax_highlighter": "GDScript" } @@ -30,12 +30,12 @@ state={ state={ "bookmarks": PackedInt32Array(), -"breakpoints": PackedInt32Array(59), -"column": 12, +"breakpoints": PackedInt32Array(), +"column": 0, "folded_lines": Array[int]([]), "h_scroll_position": 0, -"row": 58, -"scroll_position": 51.0, +"row": 108, +"scroll_position": 105.0, "selection": false, "syntax_highlighter": "GDScript" } diff --git a/scripts/game.gd b/scripts/game.gd index 0598036dcd5cbde6dc6fb3dc940e2e9e09287929..2951f177dbf21e28db0de264c2d6cec156a7b2c1 100644 --- a/scripts/game.gd +++ b/scripts/game.gd @@ -1,7 +1,7 @@ extends Node class_name game -var player_gold: int = 10 +var player_gold: int = 0 var shop_scene = preload("res://scenes/Shop.tscn") var shop: Node2D var purchased_pieces: Array = []