[gd_scene format=3 uid="uid://dkhyh5ce4iuk3"]

[ext_resource type="Script" uid="uid://bks7uplgjjdg0" path="res://scripts/battle/map/combat_map.gd" id="1_jyv1f"]
[ext_resource type="Script" uid="uid://c6701vy8h5rfx" path="res://scripts/battle/map/dl_tileset.gd" id="2_8rn0j"]
[ext_resource type="Texture2D" uid="uid://sjsl8q7tkx8" path="res://assets/sprites/grid_highlight.png" id="3_vcj5e"]
[ext_resource type="Script" uid="uid://cxl38x2m6sj3w" path="res://scripts/battle/map/grid_overlay.gd" id="4_jelju"]
[ext_resource type="Texture2D" uid="uid://b1ks72fiesfrm" path="res://assets/sprites/combat_map_ui.BMP" id="5_mycp7"]
[ext_resource type="Texture2D" uid="uid://65rmoynep5hy" path="res://assets/sprites/MP000A.BMP" id="6_muxvo"]
[ext_resource type="Script" uid="uid://c4f1vflwd81b8" path="res://scripts/battle/map/wall_renderer.gd" id="7_wallr"]
[ext_resource type="Texture2D" uid="uid://b20mhn7ca5xyo" path="res://assets/sprites/aux_terrain.BMP" id="8_auxtr"]
[ext_resource type="Script" uid="uid://d1d1nbetdvynk" path="res://scripts/battle/map/fog_renderer.gd" id="9_fogrn"]

[sub_resource type="Resource" id="Resource_vcj5e"]
script = ExtResource("2_8rn0j")
wall_tile_coords = Vector2i(0, 1)
metadata/_custom_type_script = "uid://c6701vy8h5rfx"

[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_jelju"]
texture = ExtResource("3_vcj5e")
texture_region_size = Vector2i(48, 48)
0:0/animation_columns = 6
0:0/animation_frame_0/duration = 1.0
0:0/animation_frame_1/duration = 1.0
0:0/animation_frame_2/duration = 1.0
0:0/animation_frame_3/duration = 1.0
0:0/animation_frame_4/duration = 1.0
0:0/animation_frame_5/duration = 1.0
0:0/0 = 0

[sub_resource type="TileSet" id="TileSet_muxvo"]
tile_size = Vector2i(100, 100)
sources/0 = SubResource("TileSetAtlasSource_jelju")

[sub_resource type="AtlasTexture" id="AtlasTexture_e2u25"]
atlas = ExtResource("5_mycp7")
region = Rect2(0, 428, 100, 100)

[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_mycp7"]
texture = ExtResource("6_muxvo")
texture_region_size = Vector2i(100, 100)
0:0/0 = 0
1:0/0 = 0
2:0/0 = 0
3:0/0 = 0
4:0/0 = 0
0:1/0 = 0
1:1/0 = 0
2:1/0 = 0
3:1/0 = 0
4:1/0 = 0
0:2/0 = 0
1:2/0 = 0
2:2/0 = 0
3:2/0 = 0
4:2/0 = 0
0:3/0 = 0
1:3/0 = 0
2:3/0 = 0
3:3/0 = 0
4:3/0 = 0
0:4/0 = 0
1:4/0 = 0
2:4/0 = 0
3:4/0 = 0
4:4/0 = 0

[sub_resource type="TileSet" id="TileSet_e2u25"]
tile_size = Vector2i(100, 100)
sources/0 = SubResource("TileSetAtlasSource_mycp7")

[node name="CombatMap" type="Node2D" unique_id=546780706]
script = ExtResource("1_jyv1f")
tile_set = SubResource("Resource_vcj5e")

[node name="OverlayLayer" type="TileMapLayer" parent="." unique_id=1335660296]
unique_name_in_owner = true
tile_set = SubResource("TileSet_muxvo")
script = ExtResource("4_jelju")

[node name="TargetingIndicator" type="Sprite2D" parent="OverlayLayer" unique_id=1836328987]
visible = false
z_index = 3
texture = SubResource("AtlasTexture_e2u25")
offset = Vector2(50, 50)

[node name="TerrainLayer" type="TileMapLayer" parent="." unique_id=1201875024]
unique_name_in_owner = true
tile_set = SubResource("TileSet_e2u25")

[node name="FogRenderer" type="Node2D" parent="." unique_id=641669860]
unique_name_in_owner = true
script = ExtResource("9_fogrn")
atlas_texture = ExtResource("8_auxtr")

[node name="WallRenderer" type="Node2D" parent="." unique_id=1008825128]
unique_name_in_owner = true
z_index = 1
script = ExtResource("7_wallr")
atlas_texture = ExtResource("8_auxtr")
