diff --git a/assets/textures/player_board_and_blue_print/item_tiles_24px.png b/assets/textures/player_board_and_blue_print/item_tiles_24px.png new file mode 100644 index 0000000..e5d6eee Binary files /dev/null and b/assets/textures/player_board_and_blue_print/item_tiles_24px.png differ diff --git a/assets/textures/player_board_and_blue_print/item_tiles_24px.png.import b/assets/textures/player_board_and_blue_print/item_tiles_24px.png.import new file mode 100644 index 0000000..ff19019 --- /dev/null +++ b/assets/textures/player_board_and_blue_print/item_tiles_24px.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c1ldekcku1uav" +path="res://.godot/imported/item_tiles_24px.png-705d02268218d8f14183cd41d00cbad6.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/textures/player_board_and_blue_print/item_tiles_24px.png" +dest_files=["res://.godot/imported/item_tiles_24px.png-705d02268218d8f14183cd41d00cbad6.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/textures/player_board_and_blue_print/tile_coin_goals.tres b/assets/textures/player_board_and_blue_print/tile_coin_goals.tres new file mode 100644 index 0000000..b4702c8 --- /dev/null +++ b/assets/textures/player_board_and_blue_print/tile_coin_goals.tres @@ -0,0 +1,7 @@ +[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://dn26fllyitnr1"] + +[ext_resource type="Texture2D" uid="uid://c1ldekcku1uav" path="res://assets/textures/player_board_and_blue_print/item_tiles_24px.png" id="1_08eht"] + +[resource] +atlas = ExtResource("1_08eht") +region = Rect2(0, 24, 24, 24) diff --git a/assets/textures/player_board_and_blue_print/tile_diamond_goals.tres b/assets/textures/player_board_and_blue_print/tile_diamond_goals.tres new file mode 100644 index 0000000..02a293b --- /dev/null +++ b/assets/textures/player_board_and_blue_print/tile_diamond_goals.tres @@ -0,0 +1,7 @@ +[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://nukt8rcqu00r"] + +[ext_resource type="Texture2D" uid="uid://c1ldekcku1uav" path="res://assets/textures/player_board_and_blue_print/item_tiles_24px.png" id="1_65apt"] + +[resource] +atlas = ExtResource("1_65apt") +region = Rect2(0, 0, 24, 24) diff --git a/assets/textures/player_board_and_blue_print/tile_heart_goals.tres b/assets/textures/player_board_and_blue_print/tile_heart_goals.tres new file mode 100644 index 0000000..8de5a96 --- /dev/null +++ b/assets/textures/player_board_and_blue_print/tile_heart_goals.tres @@ -0,0 +1,7 @@ +[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://tk5b8mcurdxc"] + +[ext_resource type="Texture2D" uid="uid://c1ldekcku1uav" path="res://assets/textures/player_board_and_blue_print/item_tiles_24px.png" id="1_kxyb7"] + +[resource] +atlas = ExtResource("1_kxyb7") +region = Rect2(24, 24, 24, 24) diff --git a/assets/textures/player_board_and_blue_print/tile_null_24px.tres b/assets/textures/player_board_and_blue_print/tile_null_24px.tres new file mode 100644 index 0000000..35e7c70 --- /dev/null +++ b/assets/textures/player_board_and_blue_print/tile_null_24px.tres @@ -0,0 +1,4 @@ +[gd_resource type="CompressedTexture2D" format=3 uid="uid://cv2v4i6ipkpv1"] + +[resource] +load_path = "res://.godot/imported/tiles_null_24px.png-86f9203edef5894ea42e989f2c4f5d6b.ctex" diff --git a/assets/textures/player_board_and_blue_print/tile_star_goals.tres b/assets/textures/player_board_and_blue_print/tile_star_goals.tres new file mode 100644 index 0000000..182b1f5 --- /dev/null +++ b/assets/textures/player_board_and_blue_print/tile_star_goals.tres @@ -0,0 +1,7 @@ +[gd_resource type="AtlasTexture" load_steps=2 format=3 uid="uid://c74sy60aew8xv"] + +[ext_resource type="Texture2D" uid="uid://c1ldekcku1uav" path="res://assets/textures/player_board_and_blue_print/item_tiles_24px.png" id="1_k3pjq"] + +[resource] +atlas = ExtResource("1_k3pjq") +region = Rect2(24, 0, 24, 24) diff --git a/assets/textures/player_board_and_blue_print/tiles_null_24px.png b/assets/textures/player_board_and_blue_print/tiles_null_24px.png new file mode 100644 index 0000000..6f3d7a3 Binary files /dev/null and b/assets/textures/player_board_and_blue_print/tiles_null_24px.png differ diff --git a/assets/textures/player_board_and_blue_print/tiles_null_24px.png.import b/assets/textures/player_board_and_blue_print/tiles_null_24px.png.import new file mode 100644 index 0000000..86b3472 --- /dev/null +++ b/assets/textures/player_board_and_blue_print/tiles_null_24px.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://butrfmdp6wsck" +path="res://.godot/imported/tiles_null_24px.png-86f9203edef5894ea42e989f2c4f5d6b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/textures/player_board_and_blue_print/tiles_null_24px.png" +dest_files=["res://.godot/imported/tiles_null_24px.png-86f9203edef5894ea42e989f2c4f5d6b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/scenes/main.gd b/scenes/main.gd index d01ae49..baf0773 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -12,6 +12,7 @@ var current_turn_index = 0 var game_started = false var max_players = 4 var bots = [] +var preset_goals = [] @export var turn_based_mode: bool = true #var bot_move_timer: float = 0.0 @@ -180,32 +181,33 @@ func _on_playerboard_slot_clicked(event, slot_index): ActionState.PUTTING: local_player_character.handle_put_slot_selected(slot_index) -func update_goals_ui(): - if not local_player_character: - return - - for i in range(9): # 9 slots in the goals UI - var slot = $PlayergoalsUI.get_child(i) - var goal_value = local_player_character.goals[i] - - # Hide all tile textures first - slot.get_node("TileHeart").hide() - slot.get_node("TileDiamond").hide() - slot.get_node("TileStar").hide() - slot.get_node("TileCoin").hide() - - # Show the appropriate texture based on goal value - match goal_value: - 7: slot.get_node("TileHeart").show() - 8: slot.get_node("TileDiamond").show() - 9: slot.get_node("TileStar").show() - 10: slot.get_node("TileCoin").show() +#func update_goals_ui(): + #if not local_player_character: + #return + # + #for i in range(9): # 9 slots in the goals UI + #var slot = $PlayergoalsUI.get_child(i) + #var goal_value = local_player_character.goals[i] + # + ## Hide all tile textures first + #slot.get_node("TileHeart").hide() + #slot.get_node("TileDiamond").hide() + #slot.get_node("TileStar").hide() + #slot.get_node("TileCoin").hide() + # + ## Show the appropriate texture based on goal value + #match goal_value: + #7: slot.get_node("TileHeart").show() + #8: slot.get_node("TileDiamond").show() + #9: slot.get_node("TileStar").show() + #10: slot.get_node("TileCoin").show() func update_playerboard_ui(): if not local_player_character: return - update_goals_ui() # Update goals UI whenever playerboard updates + #update_goals_ui() # Update goals UI whenever playerboard updates + update_all_players_goals() # Update all players' goals UI for i in range(25): var slot = playerboard_ui.get_child(i) @@ -240,11 +242,30 @@ func _on_host_pressed(): add_player_character(1) players.append(1) + # Generate goals for host first + var host_player = get_node_or_null("1") + if host_player: + host_player.append_random_goals() + rpc("sync_player_goals", 1, host_player.goals) + + # Generate and store goals for future bots/players + var preset_goals = [] + for i in range(2, max_players + 1): + var goals = initialize_random_goals(9, 7, 10, 1.0) + preset_goals.append(goals) + + # Store preset goals in network state + rpc("sync_preset_goals", preset_goals) + for i in range(2, max_players + 1): add_bot(i) start_game() +@rpc("reliable") +func sync_preset_goals(goals_list: Array): + preset_goals = goals_list + func _on_join_pressed(): $NetworkInfo/NetworkSideDisplay.text = "Client" $Menu.visible = false @@ -268,6 +289,11 @@ func _on_peer_connected(new_peer_id): add_player_character(new_peer_id) rpc("add_newly_connected_player_character", new_peer_id) replace_bot_with_player(new_peer_id) + + # Sync all players' goals to the new peer + for player in get_tree().get_nodes_in_group("Players"): + var player_id = String(player.name).to_int() # Convert StringName to String first, then to int + rpc_id(new_peer_id, "sync_player_goals", player_id, player.goals) func _on_peer_disconnected(peer_id): if multiplayer.is_server(): @@ -293,7 +319,28 @@ func add_player_character(peer_id): local_player_character = player_character update_button_states() update_playerboard_ui() - update_goals_ui() + #update_goals_ui() + + # Sync this player's goals to everyone + if multiplayer.is_server(): + rpc("sync_player_goals", peer_id, player_character.goals) + + if multiplayer.is_server(): + if peer_id > 1: # Not the host + # Assign preset goals + var goal_index = peer_id - 2 + if goal_index < preset_goals.size(): + player_character.goals = preset_goals[goal_index] + rpc("sync_player_goals", peer_id, player_character.goals) + + if multiplayer.is_server(): + # If replacing a bot, inherit its goals + var bot_to_replace = get_node_or_null(str(bots[0])) if bots.size() > 0 else null + if bot_to_replace: + player_character.goals = bot_to_replace.goals.duplicate() + else: + # Only generate new goals if not inheriting from a bot + player_character.append_random_goals() func add_bot(bot_id): rpc("create_bot", bot_id) @@ -324,16 +371,41 @@ func create_bot(bot_id): if multiplayer.is_server(): bots.append(bot_id) players.append(bot_id) + + # Assign preset goals + var goal_index = bot_id - 2 + if goal_index < preset_goals.size(): + bot_character.goals = preset_goals[goal_index] + # Sync bot status after a short delay to ensure node is ready await get_tree().create_timer(0.1).timeout bot_character.rpc("sync_bot_status", true) + # Sync bot's goals + rpc("sync_player_goals", bot_id, bot_character.goals) + + # Only generate goals for new bots, not replacement bots + if not (players.size() > max_players): + bot_character.append_random_goals() + + # Always sync the bot's goals + rpc("sync_player_goals", bot_id, bot_character.goals) func replace_bot_with_player(player_id): if multiplayer.is_server() and bots.size() > 0: - var bot_id = bots.pop_front() + var bot_id = bots[0] + var bot_node = get_node_or_null(str(bot_id)) + if bot_node: + # Transfer bot's goals to new player + var goals = bot_node.goals + var player_node = get_node_or_null(str(player_id)) + if player_node: + player_node.goals = goals + rpc("sync_player_goals", player_id, goals) + + # Now remove the bot + bots.pop_front() players.erase(bot_id) players.append(player_id) - #moving_bots.erase(bot_id) rpc("remove_bot", bot_id) rpc("sync_players", players) @@ -435,3 +507,79 @@ func end_current_turn(): if multiplayer.is_server(): next_turn() rpc("sync_turn_index", current_turn_index) + +func update_all_players_goals(): + if not game_started: + return + + var all_players = get_tree().get_nodes_in_group("Players") + # Fix: Convert name to string and handle potential scene-unique names properly + all_players.sort_custom(func(a, b): + var a_str = String(a.name).get_slice("@", 0) # Explicitly convert StringName to String + var b_str = String(b.name).get_slice("@", 0) + return int(a_str) < int(b_str) + ) + + for i in range(min(all_players.size(), 4)): + var player = all_players[i] + var goals_grid = $AllPlayerGoals.get_child(i) # Playergoals_1, _2, _3, or _4 + + for slot_idx in range(9): + var slot = goals_grid.get_child(slot_idx) + var goal_value = player.goals[slot_idx] + + # Hide all tile textures first + slot.get_node("TileHeart").hide() + slot.get_node("TileDiamond").hide() + slot.get_node("TileStar").hide() + slot.get_node("TileCoin").hide() + + # Show the appropriate texture based on goal value + match goal_value: + 7: slot.get_node("TileHeart").show() + 8: slot.get_node("TileDiamond").show() + 9: slot.get_node("TileStar").show() + 10: slot.get_node("TileCoin").show() + +@rpc("any_peer", "call_local") +func sync_player_goals(player_id: int, goals: Array): + var player_idx = players.find(player_id) + if player_idx >= 0 and player_idx < 4: + var goals_grid = $AllPlayerGoals.get_child(player_idx) + for slot_idx in range(9): + var slot = goals_grid.get_child(slot_idx) + var goal_value = goals[slot_idx] + + # Hide all tiles + slot.get_node("TileHeart").hide() + slot.get_node("TileDiamond").hide() + slot.get_node("TileStar").hide() + slot.get_node("TileCoin").hide() + + # Show appropriate tile + match goal_value: + 7: slot.get_node("TileHeart").show() + 8: slot.get_node("TileDiamond").show() + 9: slot.get_node("TileStar").show() + 10: slot.get_node("TileCoin").show() + +# Add this function near the top with other helper functions +func initialize_random_goals(_size:int, min_value:int, max_value:int, null_count:float) -> Array: + var goals = [] + var rng = RandomNumberGenerator.new() + rng.randomize() + + var null_val = 0 + var max_nulls = 3 + + const SPECIAL_VALUES = {1: 7, 2: 8, 3: 9, 4: 10} + + for i in range(_size): + if null_val < max_nulls and rng.randf() < null_count: + goals.append(-1) + null_val += 1 + else: + var val = rng.randi_range(min_value, max_value) + goals.append(val if not val in SPECIAL_VALUES else SPECIAL_VALUES[val]) + + return goals diff --git a/scenes/main.tscn b/scenes/main.tscn index dcb4362..17af480 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=18 format=3 uid="uid://dxn87yj8qnfpp"] +[gd_scene load_steps=19 format=3 uid="uid://dxn87yj8qnfpp"] [ext_resource type="MeshLibrary" uid="uid://54tpx8cmksfc" path="res://addons/enhanced_gridmap/meshlibrary/default.tres" id="1_110wo"] [ext_resource type="Script" path="res://scenes/main.gd" id="1_xcpe3"] @@ -7,15 +7,16 @@ [ext_resource type="StyleBox" uid="uid://dlw1ogamn741n" path="res://assets/styles/box_flat.tres" id="5_dvx6y"] [ext_resource type="Texture2D" uid="uid://2yrc6rl4dmd8" path="res://assets/textures/player_board_and_blue_print/tile_null.tres" id="6_2vy7d"] [ext_resource type="Texture2D" uid="uid://cwxgdi7b4ps40" path="res://assets/textures/Hilight.png" id="7_2nq2l"] -[ext_resource type="Texture2D" uid="uid://bhg7uhpdxksno" path="res://assets/textures/player_board_and_blue_print/tile_star.tres" id="7_icbqr"] [ext_resource type="Texture2D" uid="uid://c2bj21abtgda1" path="res://assets/models/pboard/HighlightRect.tres" id="7_vv0nt"] +[ext_resource type="Texture2D" uid="uid://tk5b8mcurdxc" path="res://assets/textures/player_board_and_blue_print/tile_heart_goals.tres" id="7_xwcc1"] [ext_resource type="Texture2D" uid="uid://0wjk16jlgfq" path="res://assets/models/pboard/SelectRect.tres" id="8_8meci"] [ext_resource type="Texture2D" uid="uid://dojnv8o6we4ey" path="res://assets/textures/Selected.png" id="8_b18m4"] -[ext_resource type="Texture2D" uid="uid://u378heff6oio" path="res://assets/textures/player_board_and_blue_print/tile_heart.tres" id="8_dqhc7"] +[ext_resource type="Texture2D" uid="uid://nukt8rcqu00r" path="res://assets/textures/player_board_and_blue_print/tile_diamond_goals.tres" id="8_quhbu"] [ext_resource type="Texture2D" uid="uid://68x88jj25yxg" path="res://assets/textures/Adjacent.png" id="9_6gcb6"] [ext_resource type="Texture2D" uid="uid://dasaeaytvhll0" path="res://assets/models/pboard/AdjacentRect.tres" id="9_aspsw"] -[ext_resource type="Texture2D" uid="uid://cq80fn561r2jm" path="res://assets/textures/player_board_and_blue_print/tile_diamond.tres" id="9_uyhwp"] -[ext_resource type="Texture2D" uid="uid://3m65qapks1kp" path="res://assets/textures/player_board_and_blue_print/tile_coin.tres" id="10_lkxas"] +[ext_resource type="Texture2D" uid="uid://c74sy60aew8xv" path="res://assets/textures/player_board_and_blue_print/tile_star_goals.tres" id="9_i0gbs"] +[ext_resource type="Texture2D" uid="uid://dn26fllyitnr1" path="res://assets/textures/player_board_and_blue_print/tile_coin_goals.tres" id="10_my1qp"] +[ext_resource type="Texture2D" uid="uid://cv2v4i6ipkpv1" path="res://assets/textures/player_board_and_blue_print/tile_null_24px.tres" id="17_hh6ui"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1cewu"] @@ -50,14 +51,15 @@ fov = 35.5 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 -offset_left = -77.0 -offset_top = 6.0 -offset_right = 77.0 -offset_bottom = 59.0 +offset_left = -608.0 +offset_top = 32.0 +offset_right = -472.0 +offset_bottom = 85.0 grow_horizontal = 2 theme_override_styles/panel = ExtResource("5_dvx6y") [node name="PlayergoalsUI" type="GridContainer" parent="."] +visible = false anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 @@ -80,7 +82,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("8_dqhc7") +texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot1"] visible = false @@ -90,7 +92,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("9_uyhwp") +texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="PlayergoalsUI/Slot1"] visible = false @@ -100,7 +102,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("7_icbqr") +texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot1"] visible = false @@ -110,7 +112,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("10_lkxas") +texture = ExtResource("10_my1qp") [node name="Slot2" type="TextureRect" parent="PlayergoalsUI"] layout_mode = 2 @@ -124,7 +126,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("7_icbqr") +texture = ExtResource("9_i0gbs") [node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot2"] visible = false @@ -134,7 +136,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("8_dqhc7") +texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot2"] visible = false @@ -144,7 +146,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("9_uyhwp") +texture = ExtResource("8_quhbu") [node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot2"] visible = false @@ -154,7 +156,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("10_lkxas") +texture = ExtResource("10_my1qp") [node name="Slot3" type="TextureRect" parent="PlayergoalsUI"] layout_mode = 2 @@ -168,7 +170,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("7_icbqr") +texture = ExtResource("9_i0gbs") [node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot3"] visible = false @@ -178,7 +180,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("8_dqhc7") +texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot3"] visible = false @@ -188,7 +190,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("9_uyhwp") +texture = ExtResource("8_quhbu") [node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot3"] visible = false @@ -198,7 +200,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("10_lkxas") +texture = ExtResource("10_my1qp") [node name="Slot4" type="TextureRect" parent="PlayergoalsUI"] layout_mode = 2 @@ -212,7 +214,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("7_icbqr") +texture = ExtResource("9_i0gbs") [node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot4"] visible = false @@ -222,7 +224,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("8_dqhc7") +texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot4"] visible = false @@ -232,7 +234,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("9_uyhwp") +texture = ExtResource("8_quhbu") [node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot4"] visible = false @@ -242,7 +244,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("10_lkxas") +texture = ExtResource("10_my1qp") [node name="Slot5" type="TextureRect" parent="PlayergoalsUI"] layout_mode = 2 @@ -256,7 +258,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("7_icbqr") +texture = ExtResource("9_i0gbs") [node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot5"] visible = false @@ -266,7 +268,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("8_dqhc7") +texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot5"] visible = false @@ -276,7 +278,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("9_uyhwp") +texture = ExtResource("8_quhbu") [node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot5"] visible = false @@ -286,7 +288,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("10_lkxas") +texture = ExtResource("10_my1qp") [node name="Slot6" type="TextureRect" parent="PlayergoalsUI"] layout_mode = 2 @@ -300,7 +302,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("7_icbqr") +texture = ExtResource("9_i0gbs") [node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot6"] visible = false @@ -310,7 +312,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("8_dqhc7") +texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot6"] visible = false @@ -320,7 +322,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("9_uyhwp") +texture = ExtResource("8_quhbu") [node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot6"] visible = false @@ -330,7 +332,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("10_lkxas") +texture = ExtResource("10_my1qp") [node name="Slot7" type="TextureRect" parent="PlayergoalsUI"] layout_mode = 2 @@ -344,7 +346,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("7_icbqr") +texture = ExtResource("9_i0gbs") [node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot7"] visible = false @@ -354,7 +356,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("8_dqhc7") +texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot7"] visible = false @@ -364,7 +366,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("9_uyhwp") +texture = ExtResource("8_quhbu") [node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot7"] visible = false @@ -374,7 +376,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("10_lkxas") +texture = ExtResource("10_my1qp") [node name="Slot8" type="TextureRect" parent="PlayergoalsUI"] layout_mode = 2 @@ -388,7 +390,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("7_icbqr") +texture = ExtResource("9_i0gbs") [node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot8"] visible = false @@ -398,7 +400,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("8_dqhc7") +texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot8"] visible = false @@ -408,7 +410,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("9_uyhwp") +texture = ExtResource("8_quhbu") [node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot8"] visible = false @@ -418,7 +420,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("10_lkxas") +texture = ExtResource("10_my1qp") [node name="Slot9" type="TextureRect" parent="PlayergoalsUI"] layout_mode = 2 @@ -432,7 +434,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("7_icbqr") +texture = ExtResource("9_i0gbs") [node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot9"] visible = false @@ -442,7 +444,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("8_dqhc7") +texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot9"] visible = false @@ -452,7 +454,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("9_uyhwp") +texture = ExtResource("8_quhbu") [node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot9"] visible = false @@ -462,7 +464,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -texture = ExtResource("10_lkxas") +texture = ExtResource("10_my1qp") [node name="PlayerboardUI" type="GridContainer" parent="."] clip_contents = true @@ -1368,10 +1370,10 @@ text = "Arrange" anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 -offset_left = -58.0 -offset_top = 7.0 -offset_right = 58.0 -offset_bottom = 57.0 +offset_left = -600.0 +offset_top = 32.0 +offset_right = -484.0 +offset_bottom = 82.0 grow_horizontal = 2 [node name="NetworkSideDisplay" type="Label" parent="NetworkInfo"] @@ -1435,10 +1437,10 @@ anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 -offset_left = -210.0 -offset_top = -46.0 -offset_right = 210.0 -offset_bottom = -15.0 +offset_left = -208.0 +offset_top = -72.0 +offset_right = 212.0 +offset_bottom = -41.0 grow_horizontal = 2 grow_vertical = 0 theme_override_styles/focus = SubResource("StyleBoxFlat_1cewu") @@ -1451,6 +1453,1588 @@ environment = ExtResource("4_ky38j") [node name="CanvasLayer" type="CanvasLayer" parent="."] +[node name="AllPlayerGoals" type="HBoxContainer" parent="."] +y_sort_enabled = true +clip_contents = true +layout_direction = 2 +anchors_preset = 5 +anchor_left = 0.5 +anchor_right = 0.5 +offset_left = -200.0 +offset_top = 32.0 +offset_right = 195.0 +offset_bottom = 112.0 +grow_horizontal = 2 +theme_override_constants/separation = 25 + +[node name="Playergoals_1" type="GridContainer" parent="AllPlayerGoals"] +clip_contents = true +layout_mode = 2 +columns = 3 + +[node name="Slot1" type="TextureRect" parent="AllPlayerGoals/Playergoals_1"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot1"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot2" type="TextureRect" parent="AllPlayerGoals/Playergoals_1"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot2"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot3" type="TextureRect" parent="AllPlayerGoals/Playergoals_1"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot3"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot4" type="TextureRect" parent="AllPlayerGoals/Playergoals_1"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot4"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot5" type="TextureRect" parent="AllPlayerGoals/Playergoals_1"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot5"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot6" type="TextureRect" parent="AllPlayerGoals/Playergoals_1"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot6"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot7" type="TextureRect" parent="AllPlayerGoals/Playergoals_1"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot7"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot8" type="TextureRect" parent="AllPlayerGoals/Playergoals_1"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot8"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot9" type="TextureRect" parent="AllPlayerGoals/Playergoals_1"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot9"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_1/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Playergoals_2" type="GridContainer" parent="AllPlayerGoals"] +clip_contents = true +layout_mode = 2 +columns = 3 + +[node name="Slot1" type="TextureRect" parent="AllPlayerGoals/Playergoals_2"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot1"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot2" type="TextureRect" parent="AllPlayerGoals/Playergoals_2"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot2"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot3" type="TextureRect" parent="AllPlayerGoals/Playergoals_2"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot3"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot4" type="TextureRect" parent="AllPlayerGoals/Playergoals_2"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot4"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot5" type="TextureRect" parent="AllPlayerGoals/Playergoals_2"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot5"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot6" type="TextureRect" parent="AllPlayerGoals/Playergoals_2"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot6"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot7" type="TextureRect" parent="AllPlayerGoals/Playergoals_2"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot7"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot8" type="TextureRect" parent="AllPlayerGoals/Playergoals_2"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot8"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot9" type="TextureRect" parent="AllPlayerGoals/Playergoals_2"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot9"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_2/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Playergoals_3" type="GridContainer" parent="AllPlayerGoals"] +clip_contents = true +layout_mode = 2 +columns = 3 + +[node name="Slot1" type="TextureRect" parent="AllPlayerGoals/Playergoals_3"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot1"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot2" type="TextureRect" parent="AllPlayerGoals/Playergoals_3"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot2"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot3" type="TextureRect" parent="AllPlayerGoals/Playergoals_3"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot3"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot4" type="TextureRect" parent="AllPlayerGoals/Playergoals_3"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot4"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot5" type="TextureRect" parent="AllPlayerGoals/Playergoals_3"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot5"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot6" type="TextureRect" parent="AllPlayerGoals/Playergoals_3"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot6"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot7" type="TextureRect" parent="AllPlayerGoals/Playergoals_3"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot7"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot8" type="TextureRect" parent="AllPlayerGoals/Playergoals_3"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot8"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot9" type="TextureRect" parent="AllPlayerGoals/Playergoals_3"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot9"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_3/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Playergoals_4" type="GridContainer" parent="AllPlayerGoals"] +clip_contents = true +layout_mode = 2 +columns = 3 + +[node name="Slot1" type="TextureRect" parent="AllPlayerGoals/Playergoals_4"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot1"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot2" type="TextureRect" parent="AllPlayerGoals/Playergoals_4"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot2"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot3" type="TextureRect" parent="AllPlayerGoals/Playergoals_4"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot3"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot4" type="TextureRect" parent="AllPlayerGoals/Playergoals_4"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot4"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot5" type="TextureRect" parent="AllPlayerGoals/Playergoals_4"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot5"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot6" type="TextureRect" parent="AllPlayerGoals/Playergoals_4"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot6"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot7" type="TextureRect" parent="AllPlayerGoals/Playergoals_4"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot7"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot8" type="TextureRect" parent="AllPlayerGoals/Playergoals_4"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot8"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + +[node name="Slot9" type="TextureRect" parent="AllPlayerGoals/Playergoals_4"] +layout_mode = 2 +texture = ExtResource("17_hh6ui") + +[node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot9"] +visible = false +layout_mode = 2 +offset_right = 24.0 +offset_bottom = 24.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_xwcc1") + +[node name="TileDiamond" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_quhbu") + +[node name="TileStar" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_i0gbs") + +[node name="TileCoin" type="TextureRect" parent="AllPlayerGoals/Playergoals_4/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_my1qp") + [connection signal="pressed" from="Menu/Host" to="." method="_on_host_pressed"] [connection signal="pressed" from="Menu/Join" to="." method="_on_join_pressed"] [connection signal="text_submitted" from="MessageInput" to="." method="_on_message_input_text_submitted"] diff --git a/scenes/player.gd b/scenes/player.gd index ca6c3d6..3147a30 100644 --- a/scenes/player.gd +++ b/scenes/player.gd @@ -78,7 +78,10 @@ func _ready(): if enhanced_gridmap: current_position = find_valid_starting_position() update_player_position(current_position) - append_random_goals() + + # Remove this line as goals are now managed by the host + #append_random_goals() + playerboard.resize(25) playerboard.fill(-1) return @@ -90,7 +93,7 @@ func _ready(): current_position = find_valid_starting_position() update_player_position(current_position) - append_random_goals() + #append_random_goals() playerboard.resize(25) playerboard.fill(-1)