Traveller/prefab/roomTemplates/dungeon/cell.tscn
2024-10-16 20:15:39 +08:00

119 lines
12 KiB
Plaintext

[gd_scene load_steps=9 format=4 uid="uid://ce72ll6d2s7qm"]
[ext_resource type="TileSet" uid="uid://c4wpp12rr44hi" path="res://tileSets/dungeon.tres" id="1_feq8g"]
[ext_resource type="Texture2D" uid="uid://drw45jlmfo0su" path="res://sprites/light/White_100.png" id="2_02nwo"]
[ext_resource type="Script" path="res://scripts/map/AiCharacterSpawn.cs" id="3_io6w6"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_o85u0"]
size = Vector2(20, 48)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6qg1t"]
size = Vector2(20.9922, 46.5)
[sub_resource type="NavigationPolygon" id="NavigationPolygon_1qloc"]
vertices = PackedVector2Array(1015.08, 298.672, 1045.31, 299.672, 1046.68, 342, 11.1719, 342, 11.8438, 300.641, 38.7422, 299.648, 45.7266, 45, 1013.07, 45.9766)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3, 4, 5), PackedInt32Array(0, 5, 6, 7)])
outlines = Array[PackedVector2Array]([PackedVector2Array(36, 35, 1023, 36, 1025, 289, 1055, 290, 1057, 352, 1, 352, 2, 291, 29, 290)])
source_geometry_group_name = &"navigation_polygon_source_group"
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kiih8"]
size = Vector2(1054, 379)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kfmgh"]
size = Vector2(916, 305)
[node name="InitialRoom2" type="Node2D"]
[node name="RoomSlotList" type="Node2D" parent="."]
[node name="Area2D" type="Area2D" parent="RoomSlotList"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D"]
position = Vector2(15, 322)
shape = SubResource("RectangleShape2D_o85u0")
[node name="Area2D3" type="Area2D" parent="RoomSlotList"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D3"]
position = Vector2(1041, 319)
shape = SubResource("RectangleShape2D_6qg1t")
[node name="Area2D4" type="Area2D" parent="RoomSlotList"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D4"]
position = Vector2(1041, 164)
shape = SubResource("RectangleShape2D_6qg1t")
[node name="Area2D5" type="Area2D" parent="RoomSlotList"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomSlotList/Area2D5"]
position = Vector2(16, 161)
shape = SubResource("RectangleShape2D_6qg1t")
[node name="NavigationRegion2D" type="NavigationRegion2D" parent="."]
navigation_polygon = SubResource("NavigationPolygon_1qloc")
[node name="TileMap" type="Node2D" parent="."]
[node name="BackgroundWall" type="TileMapLayer" parent="TileMap"]
use_parent_material = true
tile_map_data = PackedByteArray("AAABAAEAAQAGAAUAAAACAAEAAQAGAAUAAAADAAEAAQAGAAUAAAAEAAEAAQAGAAUAAAAFAAEAAQAGAAUAAAAGAAEAAQAGAAUAAAAHAAEAAQAGAAUAAAAIAAEAAQAGAAUAAAAJAAEAAQAGAAUAAAAKAAEAAQAGAAUAAAALAAEAAQAGAAUAAAAMAAEAAQAGAAUAAAANAAEAAQAGAAUAAAAOAAEAAQAGAAUAAAAPAAEAAQAGAAUAAAAQAAEAAQAGAAUAAAARAAEAAQAGAAUAAAASAAEAAQAGAAUAAAATAAEAAQAGAAUAAAAUAAEAAQAGAAUAAAAVAAEAAQAGAAUAAAAWAAEAAQAGAAUAAAAXAAEAAQAGAAUAAAAYAAEAAQAGAAUAAAAZAAEAAQAGAAUAAAAaAAEAAQAGAAUAAAAbAAEAAQAGAAUAAAAcAAEAAQAGAAUAAAAdAAEAAQAGAAUAAAAeAAEAAQAGAAUAAAAfAAEAAQAGAAUAAAAfAAIAAQAGAAUAAAAeAAIAAQAGAAUAAAAdAAIAAQAGAAUAAAAcAAIAAQAGAAUAAAAbAAIAAQAGAAUAAAAaAAIAAQAGAAUAAAAZAAIAAQAGAAUAAAAYAAIAAQAGAAUAAAAXAAIAAQAGAAUAAAAWAAIAAQAGAAUAAAAVAAIAAQAGA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AAkAAQAGAAUAAAALAAgAAQAGAAUAAAAKAAgAAQAGAAUAAAAJAAgAAQAGAAUAAAAIAAgAAQAGAAUAAAAHAAgAAQAGAAUAAAAGAAgAAQAGAAUAAAAMAAgAAQAGAAUAAAAAAAoAAQAGAAUAAAAAAAkAAQAGAAUAAAAgAAkAAQAGAAUAAAAgAAoAAQAGAAUAAAAAAAUAAQADAAMAAAAAAAQAAQADAAMAAAAgAAQAAQADAAMAAAAgAAUAAQADAAMAAAA=")
tile_set = ExtResource("1_feq8g")
navigation_enabled = false
[node name="BackgroundDecoration" type="TileMapLayer" parent="TileMap"]
use_parent_material = true
tile_map_data = PackedByteArray("AAAfAAEAAQAHAAQAAAABAAEAAQAGAAQAAAAGAAUAAQAHAAEAAAA=")
tile_set = ExtResource("1_feq8g")
[node name="Ground" type="TileMapLayer" parent="TileMap"]
use_parent_material = true
tile_map_data = PackedByteArray("AAABAAAAAQABAAIAAAACAAAAAQABAAIAAAADAAAAAQABAAIAAAAEAAAAAQABAAIAAAAFAAAAAQABAAIAAAAGAAAAAQABAAIAAAAHAAAAAQABAAIAAAAIAAAAAQABAAIAAAAJAAAAAQABAAIAAAAKAAAAAQABAAIAAAALAAAAAQABAAIAAAAMAAAAAQABAAIAAAANAAAAAQABAAIAAAAOAAAAAQABAAIAAAAPAAAAAQABAAIAAAAQAAAAAQABAAIAAAARAAAAAQABAAIAAAASAAAAAQABAAIAAAATAAAAAQABAAIAAAAUAAAAAQABAAIAAAAVAAAAAQABAAIAAAAWAAAAAQABAAIAAAAXAAAAAQABAAIAAAAYAAAAAQABAAIAAAAZAAAAAQABAAIAAAAaAAAAAQABAAIAAAAbAAAAAQABAAIAAAAcAAAAAQABAAIAAAAdAAAAAQABAAIAAAAeAAAAAQABAAIAAAAfAAAAAQABAAIAAAAAAAEAAQACAAEAAAAAAAIAAQACAAEAAAAAAAMAAQACAAEAAAAAAAcAAQACAAEAAAAAAAgAAQACAAEAAAAAAAAAAQAAAAMAAAAAAAsAAQAA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AAAAPAAcAAQAEAAQAAAAPAAgAAQAEAAQAAAAPAAkAAQAEAAQAAAAPAAoAAQAEAAQAAAAQAAoAAQAEAAQAAAAQAAkAAQAEAAQAAAAQAAgAAQAEAAQAAAAQAAcAAQAEAAQAAAA=")
tile_set = ExtResource("1_feq8g")
[node name="Barrier" type="TileMapLayer" parent="TileMap"]
use_parent_material = true
tile_map_data = PackedByteArray("AAAgAAkAAQAAAAEAAAAgAAoAAQAAAAEAAAAAAAkAAQACAAEAAAAAAAoAAQACAAEAAAAgAAQAAQAAAAEAAAAgAAUAAQAAAAEAAAAAAAQAAQACAAEAAAAAAAUAAQACAAEAAAA=")
tile_set = ExtResource("1_feq8g")
[node name="PointLight2D" type="PointLight2D" parent="."]
visible = false
position = Vector2(525, 191.5)
scale = Vector2(32.9375, 12.0938)
texture = ExtResource("2_02nwo")
[node name="AutoSpawn" type="Node2D" parent="."]
[node name="Marker2D" type="Marker2D" parent="AutoSpawn"]
position = Vector2(54, 155)
script = ExtResource("3_io6w6")
_resPathArray = PackedStringArray("", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn")
[node name="Marker2D2" type="Marker2D" parent="AutoSpawn"]
position = Vector2(1000, 158)
script = ExtResource("3_io6w6")
_resPathArray = PackedStringArray("", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn")
[node name="Marker2D3" type="Marker2D" parent="AutoSpawn"]
position = Vector2(285, 158)
script = ExtResource("3_io6w6")
_resPathArray = PackedStringArray("res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn")
[node name="Marker2D4" type="Marker2D" parent="AutoSpawn"]
position = Vector2(795, 168)
script = ExtResource("3_io6w6")
_resPathArray = PackedStringArray("res://prefab/entitys/BlackenedAboriginalWarrior.tscn", "", "res://prefab/entitys/BlackenedAboriginalWarrior.tscn")
[node name="RoomArea" type="Area2D" parent="."]
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomArea"]
position = Vector2(528, 190.5)
shape = SubResource("RectangleShape2D_kiih8")
[node name="SpawnArea" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="SpawnArea"]
position = Vector2(523, 191.5)
shape = SubResource("RectangleShape2D_kfmgh")