diff --git a/addons/enhanced_gridmap/enhanced_gridmap.gd b/addons/enhanced_gridmap/enhanced_gridmap.gd index 508ef7b..1c99efe 100644 --- a/addons/enhanced_gridmap/enhanced_gridmap.gd +++ b/addons/enhanced_gridmap/enhanced_gridmap.gd @@ -105,17 +105,52 @@ func validate_item_indices(): func generate_grid(floor_index: int = -1): if floor_index == -1: clear() - for y in range(floors): - generate_floor(y) + # Generate Floor 0 using Modular Generator + var map_gen = load("res://scripts/generators/modular_map_generator.gd") + if map_gen: + var generator = map_gen.new() + # Pick random shape + var rng = RandomNumberGenerator.new() + rng.randomize() + var shape = rng.randi() % 4 # 0-3 (Rect, Islands, Maze, Rooms) + generator.generate_map(self, columns, rows, shape) + else: + generate_floor(0) + + # Generate upper floors (just Items, initially empty or randomized) + for y in range(1, floors): + # Just clear them initially or fill based on generator? + # Usually Floor 1 is items on top of Floor 0. + # Let's clean them first. + clear_floor(y) + else: - clear_floor(floor_index) - generate_floor(floor_index) + if floor_index == 0: + var map_gen = load("res://scripts/generators/modular_map_generator.gd") + if map_gen: + var generator = map_gen.new() + var rng = RandomNumberGenerator.new() + rng.randomize() + var shape = rng.randi() % 4 + generator.generate_map(self, columns, rows, shape) + else: + clear_floor(floor_index) + generate_floor(floor_index) update_grid_data() initialize_astar() update_astar_costs() + # After generating map, if we are auto-randomizing, we should randomize items (Floor 1) + # ONLY on valid Floor 0 tiles. + if auto_randomize: + randomize_grid(1) # Floor 1 items + + # Explicitly ensure Floor 0 is never randomized with items via standard randomize_grid + # (randomize_grid(0) would overwrite the map with items) + func generate_floor(floor_index: int): + # Fallback / Standard generation if not mesh_library: print("Error: No MeshLibrary assigned to GridMap") return @@ -124,12 +159,14 @@ func generate_floor(floor_index: int): current_mesh_library = mesh_library var item_list = mesh_library.get_item_list() - if item_list.size() < 5: - print("Warning: MeshLibrary should have at least 5 items") - for x in range(columns): - for z in range(rows): - set_cell_item(Vector3i(x, floor_index, z), normal_items[0]) + if floor_index == 0: + for x in range(columns): + for z in range(rows): + set_cell_item(Vector3i(x, floor_index, z), normal_items[0]) + else: + # Upper floors start empty unless specified + pass # Grid operations func clear_floor(floor_index: int): @@ -198,15 +235,33 @@ func randomize_floor(floor_index: int): var rng = RandomNumberGenerator.new() rng.randomize() + var scarcity_mgr = null + if floor_index == 1: + scarcity_mgr = load("res://scripts/managers/scarcity_manager.gd") + for x in range(columns): for z in range(rows): - var random_value = rng.randi() % 100 - var item_index - if random_value < 80: - item_index = normal_items[rng.randi() % normal_items.size()] + # IMPORTANT: Only place items if Floor 0 has a walkable tile + var floor_0_item = get_cell_item(Vector3i(x, 0, z)) + var is_ground = (floor_0_item == normal_items[0]) # Assuming 0 is ground + + if not is_ground: + set_cell_item(Vector3i(x, floor_index, z), -1) # Clear item if no ground + continue + + # If Floor 1 and ScarcityManager exists, use it + if floor_index == 1 and scarcity_mgr: + var item_index = scarcity_mgr.get_random_tile_id() + set_cell_item(Vector3i(x, floor_index, z), item_index) else: - item_index = non_walkable_items[rng.randi() % non_walkable_items.size()] - set_cell_item(Vector3i(x, floor_index, z), item_index) + # Default behavior + var random_value = rng.randi() % 100 + var item_index + if random_value < 80: + item_index = normal_items[rng.randi() % normal_items.size()] + else: + item_index = non_walkable_items[rng.randi() % non_walkable_items.size()] + set_cell_item(Vector3i(x, floor_index, z), item_index) func randomize_grid_custom(randomize_states: Array, floor_index: int = -1): if not mesh_library: diff --git a/scenes/main.gd b/scenes/main.gd index be08bae..867b892 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -439,15 +439,26 @@ func _start_game(): func _assign_random_spawn_positions(): """Assign random unique spawn positions to all players.""" - var spawn_locations = [ - Vector2i(0, 0), Vector2i(0, 1), Vector2i(0, 2), Vector2i(0, 3), - Vector2i(0, 4), Vector2i(0, 5), Vector2i(0, 6), Vector2i(0, 7), - Vector2i(0, 8), Vector2i(0, 9), Vector2i(0, 10), Vector2i(0, 11) - ] + # Fetch all valid walkable positions from the generated map + var valid_spawns = [] + var enhanced_gridmap = $EnhancedGridMap + if enhanced_gridmap: + for x in range(enhanced_gridmap.columns): + for z in range(enhanced_gridmap.rows): + var ground = enhanced_gridmap.get_cell_item(Vector3i(x, 0, z)) + if ground == 0: # Walkable + valid_spawns.append(Vector2i(x, z)) + + # Fallback if map generation failed or is empty + if valid_spawns.size() < 12: + print("Warning: Low spawn count! Adding defaults.") + for i in range(12): + if not Vector2i(0, i) in valid_spawns: + valid_spawns.append(Vector2i(0, i)) + # Shuffle spawn locations - var shuffled_spawns = spawn_locations.duplicate() - shuffled_spawns.shuffle() + valid_spawns.shuffle() # Get all players var all_players = get_tree().get_nodes_in_group("Players") @@ -455,9 +466,10 @@ func _assign_random_spawn_positions(): # Assign positions var spawn_index = 0 for player in all_players: - if spawn_index >= shuffled_spawns.size(): + if spawn_index >= valid_spawns.size(): + print("Critical: Not enough spawn points for players!") break - var spawn_pos = shuffled_spawns[spawn_index] + var spawn_pos = valid_spawns[spawn_index] # Set position and sync to all clients player.current_position = spawn_pos player.position = player.grid_to_world(spawn_pos) @@ -900,13 +912,25 @@ func randomize_item_at_position(grid_position: Vector2i): var cell = Vector3i(grid_position.x, 1, grid_position.y) var current_item = enhanced_gridmap.get_cell_item(cell) + # If current item exists, replace it (scarcity aware) if current_item != -1: - var rng = RandomNumberGenerator.new() - rng.randomize() - var new_item = rng.randi_range(7, 10) + var scarcity_mgr = load("res://scripts/managers/scarcity_manager.gd") + var new_item = 7 - while new_item == current_item: + if scarcity_mgr: + new_item = scarcity_mgr.get_random_tile_id() + # Try to ensure it changes, but respect scarcity + var max_retries = 3 + while new_item == current_item and max_retries > 0: + new_item = scarcity_mgr.get_random_tile_id() + max_retries -= 1 + else: + # Fallback + var rng = RandomNumberGenerator.new() + rng.randomize() new_item = rng.randi_range(7, 10) + while new_item == current_item: + new_item = rng.randi_range(7, 10) sync_grid_item(cell.x, cell.y, cell.z, new_item) rpc("sync_grid_item", cell.x, cell.y, cell.z, new_item) diff --git a/scenes/main.tscn b/scenes/main.tscn index 56a4b13..1b206de 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1050,32 +1050,32 @@ theme_override_constants/separation = 20 [node name="Host" type="Button" parent="Menu"] layout_mode = 2 -theme_override_styles/focus = ExtResource("5_dvx6y") -theme_override_styles/disabled_mirrored = ExtResource("5_dvx6y") -theme_override_styles/disabled = ExtResource("5_dvx6y") -theme_override_styles/hover_pressed_mirrored = ExtResource("5_dvx6y") -theme_override_styles/hover_pressed = ExtResource("5_dvx6y") -theme_override_styles/hover_mirrored = ExtResource("5_dvx6y") -theme_override_styles/hover = ExtResource("5_dvx6y") -theme_override_styles/pressed_mirrored = ExtResource("5_dvx6y") -theme_override_styles/pressed = ExtResource("5_dvx6y") -theme_override_styles/normal_mirrored = ExtResource("5_dvx6y") theme_override_styles/normal = ExtResource("5_dvx6y") +theme_override_styles/normal_mirrored = ExtResource("5_dvx6y") +theme_override_styles/pressed = ExtResource("5_dvx6y") +theme_override_styles/pressed_mirrored = ExtResource("5_dvx6y") +theme_override_styles/hover = ExtResource("5_dvx6y") +theme_override_styles/hover_mirrored = ExtResource("5_dvx6y") +theme_override_styles/hover_pressed = ExtResource("5_dvx6y") +theme_override_styles/hover_pressed_mirrored = ExtResource("5_dvx6y") +theme_override_styles/disabled = ExtResource("5_dvx6y") +theme_override_styles/disabled_mirrored = ExtResource("5_dvx6y") +theme_override_styles/focus = ExtResource("5_dvx6y") text = "Host" [node name="Join" type="Button" parent="Menu"] layout_mode = 2 -theme_override_styles/focus = ExtResource("5_dvx6y") -theme_override_styles/disabled_mirrored = ExtResource("5_dvx6y") -theme_override_styles/disabled = ExtResource("5_dvx6y") -theme_override_styles/hover_pressed_mirrored = ExtResource("5_dvx6y") -theme_override_styles/hover_pressed = ExtResource("5_dvx6y") -theme_override_styles/hover_mirrored = ExtResource("5_dvx6y") -theme_override_styles/hover = ExtResource("5_dvx6y") -theme_override_styles/pressed_mirrored = ExtResource("5_dvx6y") -theme_override_styles/pressed = ExtResource("5_dvx6y") -theme_override_styles/normal_mirrored = ExtResource("5_dvx6y") theme_override_styles/normal = ExtResource("5_dvx6y") +theme_override_styles/normal_mirrored = ExtResource("5_dvx6y") +theme_override_styles/pressed = ExtResource("5_dvx6y") +theme_override_styles/pressed_mirrored = ExtResource("5_dvx6y") +theme_override_styles/hover = ExtResource("5_dvx6y") +theme_override_styles/hover_mirrored = ExtResource("5_dvx6y") +theme_override_styles/hover_pressed = ExtResource("5_dvx6y") +theme_override_styles/hover_pressed_mirrored = ExtResource("5_dvx6y") +theme_override_styles/disabled = ExtResource("5_dvx6y") +theme_override_styles/disabled_mirrored = ExtResource("5_dvx6y") +theme_override_styles/focus = ExtResource("5_dvx6y") text = "Join" [node name="MessageInput" type="LineEdit" parent="."] @@ -1091,8 +1091,8 @@ offset_right = 212.0 offset_bottom = -41.0 grow_horizontal = 2 grow_vertical = 0 -theme_override_styles/focus = SubResource("StyleBoxFlat_1cewu") theme_override_styles/normal = ExtResource("5_dvx6y") +theme_override_styles/focus = SubResource("StyleBoxFlat_1cewu") placeholder_text = "Chat" alignment = 1 @@ -1146,7 +1146,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel1/MarginContainer/Playergoals/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1189,7 +1189,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel1/MarginContainer/Playergoals/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1232,7 +1232,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel1/MarginContainer/Playergoals/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1275,7 +1275,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel1/MarginContainer/Playergoals/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1318,7 +1318,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel1/MarginContainer/Playergoals/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1361,7 +1361,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel1/MarginContainer/Playergoals/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1404,7 +1404,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel1/MarginContainer/Playergoals/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1447,7 +1447,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel1/MarginContainer/Playergoals/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1490,7 +1490,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel1/MarginContainer/Playergoals/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1558,7 +1558,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel2/MarginContainer/Playergoals/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1601,7 +1601,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel2/MarginContainer/Playergoals/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1644,7 +1644,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel2/MarginContainer/Playergoals/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1687,7 +1687,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel2/MarginContainer/Playergoals/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1730,7 +1730,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel2/MarginContainer/Playergoals/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1773,7 +1773,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel2/MarginContainer/Playergoals/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1816,7 +1816,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel2/MarginContainer/Playergoals/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1859,7 +1859,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel2/MarginContainer/Playergoals/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1902,7 +1902,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel2/MarginContainer/Playergoals/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -1970,7 +1970,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel3/MarginContainer/Playergoals/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2013,7 +2013,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel3/MarginContainer/Playergoals/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2056,7 +2056,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel3/MarginContainer/Playergoals/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2099,7 +2099,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel3/MarginContainer/Playergoals/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2142,7 +2142,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel3/MarginContainer/Playergoals/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2185,7 +2185,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel3/MarginContainer/Playergoals/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2228,7 +2228,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel3/MarginContainer/Playergoals/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2271,7 +2271,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel3/MarginContainer/Playergoals/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2314,7 +2314,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel3/MarginContainer/Playergoals/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2382,7 +2382,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel4/MarginContainer/Playergoals/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2425,7 +2425,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel4/MarginContainer/Playergoals/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2468,7 +2468,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel4/MarginContainer/Playergoals/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2511,7 +2511,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel4/MarginContainer/Playergoals/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2554,7 +2554,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel4/MarginContainer/Playergoals/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2597,7 +2597,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel4/MarginContainer/Playergoals/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2640,7 +2640,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel4/MarginContainer/Playergoals/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2683,7 +2683,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel4/MarginContainer/Playergoals/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2726,7 +2726,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel4/MarginContainer/Playergoals/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2794,7 +2794,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel5/MarginContainer/Playergoals/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2837,7 +2837,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel5/MarginContainer/Playergoals/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2880,7 +2880,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel5/MarginContainer/Playergoals/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2923,7 +2923,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel5/MarginContainer/Playergoals/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -2966,7 +2966,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel5/MarginContainer/Playergoals/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3009,7 +3009,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel5/MarginContainer/Playergoals/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3052,7 +3052,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel5/MarginContainer/Playergoals/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3095,7 +3095,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel5/MarginContainer/Playergoals/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3138,7 +3138,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel5/MarginContainer/Playergoals/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3206,7 +3206,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel6/MarginContainer/Playergoals/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3249,7 +3249,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel6/MarginContainer/Playergoals/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3292,7 +3292,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel6/MarginContainer/Playergoals/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3335,7 +3335,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel6/MarginContainer/Playergoals/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3378,7 +3378,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel6/MarginContainer/Playergoals/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3421,7 +3421,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel6/MarginContainer/Playergoals/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3464,7 +3464,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel6/MarginContainer/Playergoals/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3507,7 +3507,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel6/MarginContainer/Playergoals/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3550,7 +3550,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel6/MarginContainer/Playergoals/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3618,7 +3618,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel7/MarginContainer/Playergoals/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3661,7 +3661,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel7/MarginContainer/Playergoals/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3704,7 +3704,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel7/MarginContainer/Playergoals/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3747,7 +3747,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel7/MarginContainer/Playergoals/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3790,7 +3790,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel7/MarginContainer/Playergoals/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3833,7 +3833,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel7/MarginContainer/Playergoals/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3876,7 +3876,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel7/MarginContainer/Playergoals/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3919,7 +3919,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel7/MarginContainer/Playergoals/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -3962,7 +3962,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel7/MarginContainer/Playergoals/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4030,7 +4030,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel8/MarginContainer/Playergoals/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4073,7 +4073,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel8/MarginContainer/Playergoals/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4116,7 +4116,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel8/MarginContainer/Playergoals/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4159,7 +4159,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel8/MarginContainer/Playergoals/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4202,7 +4202,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel8/MarginContainer/Playergoals/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4245,7 +4245,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel8/MarginContainer/Playergoals/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4288,7 +4288,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel8/MarginContainer/Playergoals/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4331,7 +4331,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel8/MarginContainer/Playergoals/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4374,7 +4374,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel8/MarginContainer/Playergoals/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4442,7 +4442,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel9/MarginContainer/Playergoals/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4485,7 +4485,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel9/MarginContainer/Playergoals/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4528,7 +4528,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel9/MarginContainer/Playergoals/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4571,7 +4571,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel9/MarginContainer/Playergoals/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4614,7 +4614,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel9/MarginContainer/Playergoals/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4657,7 +4657,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel9/MarginContainer/Playergoals/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4700,7 +4700,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel9/MarginContainer/Playergoals/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4743,7 +4743,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel9/MarginContainer/Playergoals/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4786,7 +4786,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel9/MarginContainer/Playergoals/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4854,7 +4854,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel10/MarginContainer/Playergoals/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4897,7 +4897,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel10/MarginContainer/Playergoals/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4940,7 +4940,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel10/MarginContainer/Playergoals/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -4983,7 +4983,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel10/MarginContainer/Playergoals/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5026,7 +5026,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel10/MarginContainer/Playergoals/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5069,7 +5069,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel10/MarginContainer/Playergoals/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5112,7 +5112,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel10/MarginContainer/Playergoals/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5155,7 +5155,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel10/MarginContainer/Playergoals/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5198,7 +5198,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel10/MarginContainer/Playergoals/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5266,7 +5266,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel11/MarginContainer/Playergoals/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5309,7 +5309,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel11/MarginContainer/Playergoals/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5352,7 +5352,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel11/MarginContainer/Playergoals/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5395,7 +5395,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel11/MarginContainer/Playergoals/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5438,7 +5438,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel11/MarginContainer/Playergoals/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5481,7 +5481,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel11/MarginContainer/Playergoals/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5524,7 +5524,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel11/MarginContainer/Playergoals/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5567,7 +5567,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel11/MarginContainer/Playergoals/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5610,7 +5610,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel11/MarginContainer/Playergoals/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5678,7 +5678,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel12/MarginContainer/Playergoals/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5721,7 +5721,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel12/MarginContainer/Playergoals/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5764,7 +5764,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel12/MarginContainer/Playergoals/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5807,7 +5807,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel12/MarginContainer/Playergoals/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5850,7 +5850,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel12/MarginContainer/Playergoals/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5893,7 +5893,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel12/MarginContainer/Playergoals/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5936,7 +5936,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel12/MarginContainer/Playergoals/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -5979,7 +5979,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel12/MarginContainer/Playergoals/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -6022,7 +6022,7 @@ texture = ExtResource("17_hh6ui") [node name="TileHeart" type="TextureRect" parent="AllPlayerGoals/Panel12/MarginContainer/Playergoals/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 grow_horizontal = 2 @@ -6070,10 +6070,10 @@ offset_top = -72.0 offset_right = 196.0 offset_bottom = 115.0 grow_vertical = 2 -theme_override_styles/tab_focus = SubResource("StyleBoxEmpty_s1l63") -theme_override_styles/tab_selected = ExtResource("18_u5x6e") -theme_override_styles/tab_hovered = ExtResource("19_w1rqq") theme_override_styles/tab_unselected = ExtResource("20_q6bc1") +theme_override_styles/tab_hovered = ExtResource("19_w1rqq") +theme_override_styles/tab_selected = ExtResource("18_u5x6e") +theme_override_styles/tab_focus = SubResource("StyleBoxEmpty_s1l63") current_tab = 0 tabs_position = 1 clip_tabs = false @@ -6098,28 +6098,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6130,28 +6130,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6162,28 +6162,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6194,28 +6194,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6226,28 +6226,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6258,28 +6258,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6290,28 +6290,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6322,28 +6322,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6354,28 +6354,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6386,28 +6386,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6418,28 +6418,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6450,28 +6450,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6482,28 +6482,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6514,28 +6514,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6546,28 +6546,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6578,28 +6578,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6610,28 +6610,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6642,28 +6642,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6674,28 +6674,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6706,28 +6706,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6738,28 +6738,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6770,28 +6770,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6802,28 +6802,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6834,28 +6834,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6866,28 +6866,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/1/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6913,28 +6913,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6945,28 +6945,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -6977,28 +6977,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7009,28 +7009,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7041,28 +7041,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7073,28 +7073,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7105,28 +7105,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7137,28 +7137,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7169,28 +7169,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7201,28 +7201,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7233,28 +7233,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7265,28 +7265,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7297,28 +7297,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7329,28 +7329,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7361,28 +7361,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7393,28 +7393,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7425,28 +7425,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7457,28 +7457,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7489,28 +7489,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7521,28 +7521,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7553,28 +7553,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7585,28 +7585,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7617,28 +7617,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7649,28 +7649,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7681,28 +7681,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/2/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7728,28 +7728,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7760,28 +7760,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7792,28 +7792,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7824,28 +7824,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7856,28 +7856,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7888,28 +7888,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7920,28 +7920,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7952,28 +7952,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -7984,28 +7984,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8016,28 +8016,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8048,28 +8048,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8080,28 +8080,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8112,28 +8112,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8144,28 +8144,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8176,28 +8176,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8208,28 +8208,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8240,28 +8240,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8272,28 +8272,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8304,28 +8304,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8336,28 +8336,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8368,28 +8368,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8400,28 +8400,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8432,28 +8432,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8464,28 +8464,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8496,28 +8496,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/3/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8543,28 +8543,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot1"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8575,28 +8575,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot2"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8607,28 +8607,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot3"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8639,28 +8639,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot4"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8671,28 +8671,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot5"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8703,28 +8703,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot6"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8735,28 +8735,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot7"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8767,28 +8767,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot8"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8799,28 +8799,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot9"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8831,28 +8831,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot10"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8863,28 +8863,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot11"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8895,28 +8895,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot12"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8927,28 +8927,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot13"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8959,28 +8959,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot14"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -8991,28 +8991,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot15"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -9023,28 +9023,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot16"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -9055,28 +9055,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot17"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -9087,28 +9087,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot18"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -9119,28 +9119,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot19"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -9151,28 +9151,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot20"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -9183,28 +9183,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot21"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -9215,28 +9215,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot22"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -9247,28 +9247,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot23"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -9279,28 +9279,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot24"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") @@ -9311,28 +9311,28 @@ texture = ExtResource("18_p3nmx") [node name="TileHeart" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("7_xwcc1") [node name="TileDiamond" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("8_quhbu") [node name="TileStar" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("9_i0gbs") [node name="TileCoin" type="TextureRect" parent="AllPlayerBoards/4/PlayerboardUI/Slot25"] visible = false -layout_mode = 2 +layout_mode = 0 offset_right = 24.0 offset_bottom = 24.0 texture = ExtResource("10_my1qp") diff --git a/scenes/player.gd b/scenes/player.gd index e239b5a..8d19ab0 100644 --- a/scenes/player.gd +++ b/scenes/player.gd @@ -877,11 +877,23 @@ func clear_spawn_highlights(): enhanced_gridmap._update_cell_option_buttons() func _find_random_spawn_position() -> Vector2i: + if not enhanced_gridmap: + print("Warning: No gridmap for random spawn") + return Vector2i.ZERO + var available_positions = [] - for spawn_pos in spawn_locations: - if not is_position_occupied(spawn_pos): - available_positions.append(spawn_pos) + # Scan the grid for valid walkable floor tiles that are not occupied + for x in range(enhanced_gridmap.columns): + for z in range(enhanced_gridmap.rows): + var pos = Vector2i(x, z) + + # Check Floor 0 for walkable ground (Item 0) + var ground_item = enhanced_gridmap.get_cell_item(Vector3i(x, 0, z)) + if ground_item == 0: # Assuming 0 is walkable ground + # Check if position is occupied by another player + if not is_position_occupied(pos): + available_positions.append(pos) if available_positions.size() > 0: var rng = RandomNumberGenerator.new() diff --git a/scripts/generators/modular_map_generator.gd b/scripts/generators/modular_map_generator.gd new file mode 100644 index 0000000..dd272f0 --- /dev/null +++ b/scripts/generators/modular_map_generator.gd @@ -0,0 +1,205 @@ +extends Node +class_name ModularMapGenerator + +# ModularMapGenerator - Procedural generation for Floor 0 (Ground) + +const GROUND_ITEM = 0 +const WALL_ITEM = 4 # Or Void if using empty cells + +# Generation Parameters +var grid_width: int = 14 +var grid_depth: int = 14 +var min_walkable_cells: int = 20 # Minimum for 12 players + space +var max_walkable_cells: int = 100 +var connectivity_guaranteed: bool = true + +# Shapes / Strategies +enum MapShape { + RECTANGLE, + ISLANDS, + MAZE_LIKE, + ROOMS, + RANDOM_NOISE +} + +func generate_map(gridmap: Node, width: int, depth: int, shape: int = MapShape.ROOMS) -> bool: + grid_width = width + grid_depth = depth + + var grid_data = [] # 2D array [z][x] + + # Initialize with walls/void + for z in range(depth): + var row = [] + for x in range(width): + row.append(WALL_ITEM) + grid_data.append(row) + + # Apply generation strategy + match shape: + MapShape.RECTANGLE: + _generate_rectangle(grid_data) + MapShape.ISLANDS: + _generate_islands(grid_data) + MapShape.ROOMS: + _generate_rooms(grid_data) + MapShape.RANDOM_NOISE: + _generate_noise(grid_data) + _: + _generate_rooms(grid_data) # Default + + # Ensure connectivity + if connectivity_guaranteed: + _ensure_connectivity(grid_data) + + # Ensure minimum walkable count (by growing if needed) + _ensure_min_walkable(grid_data) + + # Apply to GridMap + _apply_to_gridmap(gridmap, grid_data) + + return true + +func _generate_rectangle(grid: Array): + # Simple rectangle with some noise edges? + for z in range(1, grid_depth - 1): + for x in range(1, grid_width - 1): + grid[z][x] = GROUND_ITEM + +func _generate_noise(grid: Array): + var rng = RandomNumberGenerator.new() + rng.randomize() + for z in range(1, grid_depth - 1): + for x in range(1, grid_width - 1): + if rng.randf() > 0.4: + grid[z][x] = GROUND_ITEM + +func _generate_rooms(grid: Array): + # Random walk rooms + var rng = RandomNumberGenerator.new() + rng.randomize() + + var room_count = rng.randi_range(3, 6) + var rooms = [] # Rects + + for i in range(room_count): + var w = rng.randi_range(3, 6) + var h = rng.randi_range(3, 6) + var x = rng.randi_range(1, grid_width - w - 1) + var z = rng.randi_range(1, grid_depth - h - 1) + + # Carve room + for rz in range(z, z + h): + for rx in range(x, x + w): + grid[rz][rx] = GROUND_ITEM + + # Connect to previous room + if i > 0: + var prev = rooms[i-1] + _connect_points(grid, Vector2i(prev[0], prev[1]), Vector2i(x, z)) + + rooms.append([x, z, w, h]) + +func _generate_islands(grid: Array): + # Cellular automata smoothing + _generate_noise(grid) + + # Smoothing passes + for i in range(3): + var new_grid = grid.duplicate(true) + for z in range(1, grid_depth - 1): + for x in range(1, grid_width - 1): + var neighbors = _count_neighbors(grid, x, z) + if neighbors > 4: + new_grid[z][x] = GROUND_ITEM + elif neighbors < 3: + new_grid[z][x] = WALL_ITEM + grid = new_grid + +func _count_neighbors(grid: Array, x: int, z: int) -> int: + var count = 0 + for dz in range(-1, 2): + for dx in range(-1, 2): + if dz == 0 and dx == 0: continue + if grid[z + dz][x + dx] == GROUND_ITEM: + count += 1 + return count + +func _connect_points(grid: Array, p1: Vector2i, p2: Vector2i): + var curr = p1 + while curr != p2: + grid[curr.y][curr.x] = GROUND_ITEM + if curr.x != p2.x: + curr.x += 1 if p2.x > curr.x else -1 + elif curr.y != p2.y: + curr.y += 1 if p2.y > curr.y else -1 + grid[p2.y][p2.x] = GROUND_ITEM + +func _ensure_connectivity(grid: Array): + # Flood fill from first walkable + var start = Vector2i(-1, -1) + var all_walkable = [] + + for z in range(grid_depth): + for x in range(grid_width): + if grid[z][x] == GROUND_ITEM: + if start == Vector2i(-1, -1): + start = Vector2i(x, z) + all_walkable.append(Vector2i(x, z)) + + if start == Vector2i(-1, -1): + return # Empty map + + var visited = {} + var queue = [start] + visited[start] = true + var connected_count = 0 + + while not queue.is_empty(): + var curr = queue.pop_front() + connected_count += 1 + + # Check neighbors + var dirs = [Vector2i(0, 1), Vector2i(0, -1), Vector2i(1, 0), Vector2i(-1, 0)] + for d in dirs: + var next = curr + d + if next.x >= 0 and next.x < grid_width and next.y >= 0 and next.y < grid_depth: + if grid[next.y][next.x] == GROUND_ITEM and not visited.has(next): + visited[next] = true + queue.append(next) + + # If disconnected parts, keep largest island or removing others? + # Better: grow bridges. But for simplicity, let's just use the main island + # and turn others to walls? Or connect them? + # For "Rooms" geneation, we explicitly connected them. + # For "Islands", let's just keep the biggest island or assume automata made big blobs. + + if connected_count < all_walkable.size(): + # Prune disconnected (simple approach) + for pos in all_walkable: + if not visited.has(pos): + grid[pos.y][pos.x] = WALL_ITEM + +func _ensure_min_walkable(grid: Array): + var walkable = [] + for z in range(grid_depth): + for x in range(grid_width): + if grid[z][x] == GROUND_ITEM: + walkable.append(Vector2i(x, z)) + + if walkable.size() < min_walkable_cells: + # Force create a central room + var center_x = grid_width / 2 + var center_z = grid_depth / 2 + var radius = int(sqrt(min_walkable_cells)) / 2 + 1 + for z in range(center_z - radius, center_z + radius): + for x in range(center_x - radius, center_x + radius): + if x >= 0 and x < grid_width and z >= 0 and z < grid_depth: + grid[z][x] = GROUND_ITEM + +func _apply_to_gridmap(gridmap: Node, grid: Array): + for z in range(grid_depth): + for x in range(grid_width): + var item = grid[z][x] + # Floor 0 logic + gridmap.set_cell_item(Vector3i(x, 0, z), item) diff --git a/scripts/managers/playerboard_manager.gd b/scripts/managers/playerboard_manager.gd index 7567231..59d8bf8 100644 --- a/scripts/managers/playerboard_manager.gd +++ b/scripts/managers/playerboard_manager.gd @@ -159,8 +159,46 @@ func _execute_grab(grid_pos: Vector2i, cell: Vector3i, item_id: int): # 3f. Reset the UI for the player who acted player.rpc("force_action_state_none") + # 4. Check if we need to respawn tiles (Scarcity Logic) + # "during no more tiles" -> Refill if floor is empty + _check_and_refill_grid_if_needed(server_gridmap) + return true +func _check_and_refill_grid_if_needed(server_gridmap: Node): + # Check if there are any items left on floor 1 + var has_items = false + var item_list = server_gridmap.mesh_library.get_item_list() if server_gridmap.mesh_library else [] + + # We can't efficiently iterate all cells, but we can check usage via get_used_cells_by_item is too specific + # Iterating columns/rows is safe for this map size (10x10 usually) + for x in range(server_gridmap.columns): + for z in range(server_gridmap.rows): + var item = server_gridmap.get_cell_item(Vector3i(x, 1, z)) + if item != -1: + has_items = true + break + if has_items: + break + + if not has_items: + print("[PlayerboardManager] Floor 1 empty! Respawning tiles with Scarcity...") + # Call randomize_floor on floor 1 + # Since Main owns gridmap, we can sync this or just do it server side (which we are) + server_gridmap.randomize_floor(1) + + # We need to sync the ENTIRE floor to clients. + # EnhancedGridMap doesn't have a "Sync Floor" RPC built-in to Main, only single cells or array update. + # Main.gd has sync_grid_item which handles single cells. + # Ideally we'd loop and sync all, or add a method to Main to sync floor. + # Loop is okay for 10x10 (100 RPCs is a bit much but acceptable for a rare event). + var main = player.get_tree().get_root().get_node_or_null("Main") + if main: + for x in range(server_gridmap.columns): + for z in range(server_gridmap.rows): + var item = server_gridmap.get_cell_item(Vector3i(x, 1, z)) + main.rpc("sync_grid_item", x, 1, z, item) + func bot_try_grab_item() -> bool: if not enhanced_gridmap or player.action_points <= 0: return false diff --git a/scripts/managers/scarcity_manager.gd b/scripts/managers/scarcity_manager.gd new file mode 100644 index 0000000..687cd74 --- /dev/null +++ b/scripts/managers/scarcity_manager.gd @@ -0,0 +1,51 @@ +extends Node +class_name ScarcityManager + +# ScarcityManager - Handles weighted random, tile generation for gameplay balance + +const TILES = [7, 8, 9, 10] +const SPECIAL_TILES = [11, 12, 13, 14] + +# Weights (higher = more common) +# Standard tiles: Heart, Diamond, Star, Coin +const TILE_WEIGHTS = { + 7: 100, # Heart + 8: 100, # Diamond + 9: 100, # Star + 10: 100 # Coin +} + +# Special tiles: Burn, Spawn, Freeze, Block, Invisible +const SPECIAL_WEIGHTS = { + 11: 5, + 12: 5, + 13: 5, + 14: 5 +} + +static func get_random_tile_id() -> int: + var rng = RandomNumberGenerator.new() + rng.randomize() + + var total_weight = 0 + var pool = {} + + # Add standard tiles + for id in TILE_WEIGHTS: + pool[id] = TILE_WEIGHTS[id] + total_weight += TILE_WEIGHTS[id] + + # Add special tiles + for id in SPECIAL_WEIGHTS: + pool[id] = SPECIAL_WEIGHTS[id] + total_weight += SPECIAL_WEIGHTS[id] + + var roll = rng.randi_range(0, total_weight - 1) + var current = 0 + + for id in pool: + current += pool[id] + if roll < current: + return id + + return 7 # Fallback to Heart