From c578c3e97e02ea3264f851e391608b7f2659c52f Mon Sep 17 00:00:00 2001 From: adtpdn Date: Tue, 4 Feb 2025 17:34:56 +0800 Subject: [PATCH] goals now visible on every players, need to fix the pattern of goals generator --- .../item_tiles_24px.png | Bin 0 -> 2020 bytes .../item_tiles_24px.png.import | 34 + .../tile_coin_goals.tres | 7 + .../tile_diamond_goals.tres | 7 + .../tile_heart_goals.tres | 7 + .../tile_null_24px.tres | 4 + .../tile_star_goals.tres | 7 + .../tiles_null_24px.png | Bin 0 -> 186 bytes .../tiles_null_24px.png.import | 34 + scenes/main.gd | 196 +- scenes/main.tscn | 1690 ++++++++++++++++- scenes/player.gd | 7 +- 12 files changed, 1914 insertions(+), 79 deletions(-) create mode 100644 assets/textures/player_board_and_blue_print/item_tiles_24px.png create mode 100644 assets/textures/player_board_and_blue_print/item_tiles_24px.png.import create mode 100644 assets/textures/player_board_and_blue_print/tile_coin_goals.tres create mode 100644 assets/textures/player_board_and_blue_print/tile_diamond_goals.tres create mode 100644 assets/textures/player_board_and_blue_print/tile_heart_goals.tres create mode 100644 assets/textures/player_board_and_blue_print/tile_null_24px.tres create mode 100644 assets/textures/player_board_and_blue_print/tile_star_goals.tres create mode 100644 assets/textures/player_board_and_blue_print/tiles_null_24px.png create mode 100644 assets/textures/player_board_and_blue_print/tiles_null_24px.png.import 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 0000000000000000000000000000000000000000..e5d6eee413990e24771b2fba84380bc6de89d9e3 GIT binary patch literal 2020 zcmVPx+o=HSORA_ZuDxiWIi(1S$QKAMhRg0RKc6~`rZ0yjC zAvJANo2qrRGig$7KA0fMw9=;Nq`r{0Av=vRF)yaH)j%bLiIQkQ2NblUF0d>tyLor5${2=E0E`~w+Hf~qb={|~QMB)8BqXl6v6Rv_SwAP9(}K-7O_EfB8H z7lI!+v&mQ6G^a|G!+1Rb-I|Gh3^GX<%?LI1$$Ek_NEHy z`Pk;03Vwb@5smHdQ+8~&u3gYs16@5HCZwBb>*(X{4?B6V^bg|gFC|LOsV-rnmSe+Ttk<7GM)~(9mNKN|?MSBr1 z$X>(NqJtsz0qk1wrsDag^BPYaxm!U~W#GAIrZF+i48XdT85G?+j-6$>VHpfKkM90d z+w!NdbOqyD*CmznpcTM@FQxJRT{9{FMSfTYlIOmoB*-%#RR51vO;pW4e0Dbgn-5Q> zv%6KnvwwDgt;g@t)U67j*X3n=!HIBumN35HM95l|!!^)@tujeLGn)pF22OVuDb_5B zZmUe9>g>;Tb?I(od-gYn<;>TXeGrzM7F+|}()i&yKLOy#<2NK)P2)=;b?63AUe&^% zPhK;eeC4W(jvM_Ujp)H_vKsRHJiVH9d9DqQ5~V-;6i2s5lXvf$k11IBk-==^l1dtr zX2=I{xw}HD4tW-uvN(8y8m#$?mz^OUFv6}Cf04$=|Mdd4$|RmTR-lmSaXUil3F|N? zU)1Y=P#>m?`WZ-1m_mBORBrWlvguG3$ItBrptHLLTV)de?r8(S?Qw;)67~sw$s>QK z@q$iDwIF*d1;3!u6Q{D__o;Y%Zq2D%j^>kWorGyrjE?Gn!mtAvmh*#VbUAgG-wruj z>*T4WI$}36QEo*9pI1Z}A_)Pqu47{GSRB$Sf_EUmlLGLGxA3c1o*ebAQ}Pn=kA0HC zyNlOL{7D67TI-edECdH2%5)7mEDk*j;!qI2!M{abSyBKqmao-ubYzfKV2+4hLHs;3 zqJ1GpSz#pA2Qu)Py#s-vi^tFfM0zGrNUG~1Qh7=xA&M|SP!OA!?0k00WVzo;5w7R zF@QkK>>p}74#mQH8ZxAf*@eeTf(^?|57EV8-U~0 z7=-9p;!8sxr~u+Owd1Hzwo;_AhJ5PMLeiEkq~V$8Rkyj4FHd2asO;R8G@qg-XAv&h zzi$`-5VrHf#oGQ0(m1#5QJk%9*z<~2ykMjj7t->FHx#tMTPR4_y78+!a80`}C&%nx zJ*%QwvN9Qe-#x5qF}fguw^w~b)6GDXMvpQy21_B>dH-|v#)rszdXwhNqW2Dk)ZX!K zt%??r_PXAdl{9x|c=J8#YwWcXr*Yp_AL&OdfWE&y9a5&ZO}PNiet(Bbrmk!^Er;J! z(NC`~)zoPmfNucDE7A0y*%=`9T*2M+ibBkL{Ve^B`xP`%V|;$!Zxk}QTfU<*Ik$W_ zIh&NdQg6S0=R-FD&y|x9WnxUpU+JrV4o8K6qe7s&Y7*WXbqd*@>Ul(2gSu_92;^&` zCTEc}PMkGe*D*P&<7esebQiJH{tc`fnlVjyfP^g~o~s{&=wnpMJcQ_2Nv`X+aUeut zS@9O#M+1iR)`6?N6K88XmMrZrG{HC)YaFEEKG6Mo9#IKXh|XTa=&3d^SsA!^1n-SH z+)WkIy)R*lNdG5$6wYgvkRSHEB_If_?K^MiTy?^%J8Q4Y;d5NX-LMyT!(Jsr1R*XH z>$)a-Pkonx=GRnwLx>{wykbh4)qN)z{O7~zw@LvF`?M~A=xn2_GEvPEQMFRE;B0N< z=;*<3WT{IRaM!Hqd~x6qURU_-%E)yklue0{=ySB4GxQWuSim zJR=c~2yP#UQ3?{iVSGRE&k2Y3|In2XTO(>A!uSuHV0nR* 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)