From 0000b3f21e077df5ea0e32edd538a49e8b20ef88 Mon Sep 17 00:00:00 2001 From: Alan <alanjfogel@gmail.com> Date: Sat, 8 Feb 2025 19:02:57 -0600 Subject: [PATCH] Changed starting gold to 0 --- .godot/editor/editor_layout.cfg | 6 +++--- .godot/editor/script_editor_cache.cfg | 14 +++++++------- scripts/game.gd | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.godot/editor/editor_layout.cfg b/.godot/editor/editor_layout.cfg index 10622c2..fcd5562 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 50c2daa..a4321f1 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 0598036..2951f17 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 = [] -- GitLab