Files
pomchronicles/templates/guildhall.tscn
2025-09-04 22:33:48 -04:00

323 lines
13 KiB
Plaintext

[gd_scene load_steps=33 format=4 uid="uid://cd08dp16bixfv"]
[ext_resource type="Script" uid="uid://ccorfvcfa84gf" path="res://scripts/guildhall.gd" id="1_lsinl"]
[ext_resource type="TileSet" uid="uid://6im0g3eg6sr4" path="res://test_tiles.tres" id="1_qel1r"]
[ext_resource type="Script" uid="uid://dolqtw1ye4ras" path="res://scripts/player.gd" id="2_5n4iw"]
[ext_resource type="Shader" uid="uid://cenbje61a2wi6" path="res://shaders/void_composite.gdshader" id="2_ggqxp"]
[ext_resource type="Texture2D" uid="uid://83ayd5rg7x8l" path="res://graphics/reception-table.png" id="3_13vc8"]
[ext_resource type="Texture2D" uid="uid://cg6ptmynq0aq0" path="res://graphics/basic-sprite.png" id="4_l3mu1"]
[ext_resource type="PackedScene" uid="uid://cf6nnjyp8kv78" path="res://templates/receptionist.tscn" id="5_l3mu1"]
[ext_resource type="Script" uid="uid://2g4ja3a7o2l" path="res://scripts/void_ripple.gd" id="5_nfvtf"]
[ext_resource type="PackedScene" uid="uid://b3mksvn2jf7e0" path="res://templates/quest_board.tscn" id="7_hph4e"]
[ext_resource type="Script" uid="uid://bh54wpqgau8hc" path="res://scripts/npc.gd" id="8_nhrwr"]
[ext_resource type="Texture2D" uid="uid://dcrhry67g00vk" path="res://graphics/pom.png" id="9_4bidn"]
[ext_resource type="PackedScene" uid="uid://jbqw0n6dlj08" path="res://templates/speech_bubble.tscn" id="10_6hdsl"]
[ext_resource type="Texture2D" uid="uid://cg42wsmb3ocfq" path="res://graphics/first-guild.png" id="11_4bidn"]
[ext_resource type="Shader" uid="uid://hr8vdp56p4yo" path="res://shaders/void.tres" id="12_0ydii"]
[ext_resource type="Texture2D" uid="uid://bbh444vapab3y" path="res://graphics/voidcircle.png" id="13_0xaku"]
[ext_resource type="Shader" uid="uid://dvdm8x66gwu2v" path="res://shaders/starfield.tres" id="14_0aygh"]
[ext_resource type="Texture2D" uid="uid://bhupleoa6pkkb" path="res://external/test_star.png" id="15_b2pr6"]
[ext_resource type="Texture2D" uid="uid://ct7y401wpmcdf" path="res://external/test_star2.png" id="16_b2pr6"]
[sub_resource type="ViewportTexture" id="ViewportTexture_0ydii"]
viewport_path = NodePath("SubViewport")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_28dkg"]
resource_local_to_scene = true
shader = ExtResource("12_0ydii")
shader_parameter/void_view = SubResource("ViewportTexture_0ydii")
[sub_resource type="Curve" id="Curve_0aygh"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="ShaderMaterial" id="ShaderMaterial_nfvtf"]
shader = ExtResource("2_ggqxp")
shader_parameter/line_thickness = 3.8570001832075
shader_parameter/line_color = Color(0.7666664, 0, 1, 1)
[sub_resource type="Gradient" id="Gradient_ggqxp"]
offsets = PackedFloat32Array(0, 0.27842227, 0.7447796, 0.9976798, 1)
colors = PackedColorArray(1, 0, 1, 1, 0.6414714, 0, 1, 1, 0.3529412, 0, 1, 1, 0.13464576, 8.6924134e-05, 0.43542284, 1, 0.3529412, 0, 1, 1)
[sub_resource type="NavigationPolygon" id="NavigationPolygon_w7eqs"]
vertices = PackedVector2Array(335, 241, 335, 111.36719, 378.1875, 129.53125, 399, 241, 395.97656, 137, 523.21875, 137, 497, 241, 624.0469, 71.046875, 689, 30, 689, 241, 588.78125, 107.5, 497, 305, 399, 305, 630.75, 30, 582.15625, 110.47656)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(3, 2, 4), PackedInt32Array(3, 4, 5, 6), PackedInt32Array(7, 8, 9, 6, 10), PackedInt32Array(6, 11, 12, 3), PackedInt32Array(7, 13, 8), PackedInt32Array(10, 6, 5, 14)])
outlines = Array[PackedVector2Array]([PackedVector2Array(315, 60, 330, 93, 399, 122, 520, 122, 580, 95, 610, 64, 618, 15, 695, 15, 695, -18, 317, -19)])
border_size = 250.0
agent_radius = 15.0
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_l3mu1"]
radius = 15.0
height = 54.0
[sub_resource type="NavigationPolygon" id="NavigationPolygon_l3mu1"]
vertices = PackedVector2Array(112, 144, 14, 144, 14, -69, 112, -69)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
outlines = Array[PackedVector2Array]([PackedVector2Array(4, -79, 122, -79, 122, 154, 4, 154)])
[sub_resource type="Gradient" id="Gradient_28dkg"]
offsets = PackedFloat32Array(0, 0.15085158, 0.63017035, 1)
colors = PackedColorArray(0, 0, 0, 1, 0, 0.07479378, 0.21630663, 1, 0.11818864, 0.00013856843, 0.3326036, 1, 1.1310726e-06, 1.2032687e-07, 0.37330782, 1)
[sub_resource type="FastNoiseLite" id="FastNoiseLite_ggqxp"]
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_lsfle"]
width = 384
height = 216
noise = SubResource("FastNoiseLite_ggqxp")
color_ramp = SubResource("Gradient_28dkg")
seamless = true
normalize = false
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ggqxp"]
shader = ExtResource("14_0aygh")
shader_parameter/stars_speed = Vector2(25, 0)
shader_parameter/stars_density = 0.0050000002375
[sub_resource type="ShaderMaterial" id="ShaderMaterial_b2pr6"]
shader = ExtResource("14_0aygh")
shader_parameter/stars_speed = Vector2(10, 0)
shader_parameter/stars_density = 0.0030000001425
[sub_resource type="ShaderMaterial" id="ShaderMaterial_o230c"]
shader = ExtResource("14_0aygh")
shader_parameter/stars_speed = Vector2(15, 0)
shader_parameter/stars_density = 0.0
[node name="Guildhall" type="Node2D"]
script = ExtResource("1_lsinl")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = -1
scale = Vector2(2, 2)
transform = Transform2D(2, 0, 0, 2, 0, 0)
[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -801.5
offset_top = -413.5
offset_right = -801.5
offset_bottom = -413.5
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0.018666686, 0, 0.08, 1)
[node name="CPUParticles2D2" type="CPUParticles2D" parent="."]
visible = false
material = SubResource("ShaderMaterial_28dkg")
position = Vector2(-800, 176)
scale = Vector2(4.9999995, 4.9999995)
amount = 1000
texture = ExtResource("13_0xaku")
preprocess = 5.0
speed_scale = 0.13
emission_shape = 2
emission_sphere_radius = 30.0
spread = 180.0
gravity = Vector2(0, 0)
initial_velocity_min = 100.0
initial_velocity_max = 120.0
linear_accel_min = -300.0
linear_accel_max = -150.0
scale_amount_min = 1.1
scale_amount_max = 4.2
scale_amount_curve = SubResource("Curve_0aygh")
[node name="CanvasGroup" type="CanvasGroup" parent="."]
material = SubResource("ShaderMaterial_nfvtf")
position = Vector2(509, 176)
scale = Vector2(5, 5)
[node name="CPUParticles2D" type="CPUParticles2D" parent="CanvasGroup"]
material = SubResource("ShaderMaterial_28dkg")
scale = Vector2(0.99999994, 0.99999994)
amount = 1000
texture = ExtResource("13_0xaku")
preprocess = 5.0
speed_scale = 0.13
emission_shape = 2
emission_sphere_radius = 30.0
spread = 180.0
gravity = Vector2(0, 0)
initial_velocity_min = 100.0
initial_velocity_max = 120.0
linear_accel_min = -300.0
linear_accel_max = -150.0
scale_amount_min = 1.1
scale_amount_max = 4.2
scale_amount_curve = SubResource("Curve_0aygh")
[node name="VoidRipple" type="Node2D" parent="."]
z_index = 1
script = ExtResource("5_nfvtf")
speed = 0.01000000000931322
ripple_width = 4.5
gradient = SubResource("Gradient_ggqxp")
[node name="Center" type="Node2D" parent="VoidRipple"]
position = Vector2(486, 158)
[node name="Line2D" type="Line2D" parent="VoidRipple"]
visible = false
points = PackedVector2Array(312, 447, 312, 484, 245, 486, 232, 422, 249, 421, 253, 17, 244, 17, 241, -51, 303, -51, 306, -21, 701, -20, 701, -47, 771, -47, 770, 16, 759, 17, 768, 425, 781, 425, 767, 485, 700, 485, 700, 449, 544, 446, 544, 462, 508, 460, 500, 431, 391, 431, 386, 460, 347, 464, 347, 447, 312, 447)
width = 5.0
[node name="Line2D2" type="Line2D" parent="VoidRipple"]
z_index = -1
points = PackedVector2Array(312, 444, 312, 484, 245, 484, 241, 425, 253, 425, 253, 17, 244, 17, 241, -51, 303, -51, 306, -21, 701, -20, 701, -47, 771, -47, 767, 16, 750, 16, 758, 428, 775, 428, 767, 485, 700, 485, 700, 446, 544, 446, 545, 457, 508, 457, 500, 431, 391, 431, 386, 457, 348, 457, 348, 444, 312, 444)
width = 50.0
default_color = Color(0, 0, 0, 0.46666667)
joint_mode = 2
round_precision = 16
antialiased = true
[node name="RoomRegion" type="NavigationRegion2D" parent="."]
z_index = 1
navigation_polygon = SubResource("NavigationPolygon_w7eqs")
[node name="TileMapLayer" type="TileMapLayer" parent="RoomRegion"]
visible = false
tile_map_data = PackedByteArray("AAAFAAIAAAAOAAEAAAAGAAIAAAAOAAEAAAAHAAIAAAAOAAEAAAAIAAIAAAAOAAEAAAAJAAIAAAAOAAEAAAAKAAIAAAAOAAEAAAAHAAEAAAAOAAEAAAAGAAEAAAAOAAEAAAAFAAEAAAAOAAEAAAAKAAEAAAAOAAEAAAAJAAEAAAAOAAEAAAAIAAEAAAAOAAEAAAALAAIAAAACAAUAAAALAAEAAAACAAUAAAAKAAAAAAAOAAEAAAAJAAAAAAAOAAEAAAAIAAAAAAAOAAEAAAAHAAAAAAAOAAEAAAAGAAAAAAAOAAEAAAAFAAAAAAAOAAEAAAALAAAAAAACAAUAAAAFAP//AAACAAQAAAAGAP//AAACAAQAAAAHAP//AAACAAQAAAAIAP//AAACAAQAAAAJAP//AAACAAQAAAAKAP//AAACAAQAAAALAP//AAABAAQAAAAEAP//AAAAAAQAAAAEAAAAAAACAAUAAAAEAAEAAAACAAUAAAAEAAIAAAACAAUAAAAEAAMAAAACAAUAAAAFAAMAAAAOAAEAAAAGAAMAAAAOAAEAAAAHAAMAAAAOAAEAAAAIAAMAAAAOAAEAAAAJAAMAAAAOAAEAAAAKAAMAAAAOAAEAAAALAAMAAAACAAUAAAAEAAQAAAAAAAUAAAAKAAQAAAACAAQAAAALAAQAAAABAAUAAAAFAAQAAAACAAQAAAAHAAQAAAAOAAEAAAAIAAQAAAACAAQAAAAGAAQAAAAOAAEAAAAJAAQAAAACAAQAAAA=")
tile_set = ExtResource("1_qel1r")
[node name="TileMapLayer2" type="TileMapLayer" parent="RoomRegion"]
visible = false
tile_map_data = PackedByteArray("AAANAAAAAAAKABEAAAAOAAAAAAAKABEAAAAPAAAAAAAKABEAAAAQAAAAAAAKABEAAAA=")
tile_set = ExtResource("1_qel1r")
[node name="Sprite2D" type="Sprite2D" parent="."]
z_index = 1
position = Vector2(497, 136)
texture = ExtResource("11_4bidn")
[node name="Sprites" type="Node2D" parent="."]
z_index = 2
y_sort_enabled = true
[node name="Reception Desk" type="StaticBody2D" parent="Sprites"]
position = Vector2(423, 103)
[node name="Sprite2D" type="Sprite2D" parent="Sprites/Reception Desk"]
texture = ExtResource("3_13vc8")
offset = Vector2(0, -80)
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprites/Reception Desk"]
polygon = PackedVector2Array(-86, -160, -152, -160, -152, -107, -148, -75, -128, -35, -57, 0, 56, 0, 127, -34, 148, -75, 152, -107, 152, -160, 86, -160, 86, -115, 75, -93, 52, -81, -51, -81, -75, -92, -86, -114)
[node name="Receptionist" parent="Sprites" instance=ExtResource("5_l3mu1")]
position = Vector2(492, 24)
[node name="Queue" parent="Sprites/Receptionist" index="3"]
position = Vector2(0, 97)
[node name="Player" type="CharacterBody2D" parent="Sprites"]
position = Vector2(451, 430)
script = ExtResource("2_5n4iw")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprites/Player"]
rotation = 1.5707964
shape = SubResource("CapsuleShape2D_l3mu1")
[node name="Sprite2D" type="Sprite2D" parent="Sprites/Player"]
position = Vector2(0, -43)
texture = ExtResource("4_l3mu1")
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="Sprites/Player"]
path_desired_distance = 30.0
avoidance_enabled = true
[node name="EntranceRegion" type="NavigationRegion2D" parent="."]
position = Vector2(385, 374)
navigation_polygon = SubResource("NavigationPolygon_l3mu1")
[node name="Quest Board" parent="." instance=ExtResource("7_hph4e")]
position = Vector2(654, -2)
[node name="Npc" type="CharacterBody2D" parent="."]
z_index = 2
position = Vector2(347, 3)
script = ExtResource("8_nhrwr")
metadata/_custom_type_script = "uid://bh54wpqgau8hc"
[node name="CollisionShape2D" type="CollisionShape2D" parent="Npc"]
position = Vector2(1, 16)
rotation = 1.5707964
shape = SubResource("CapsuleShape2D_l3mu1")
[node name="Sprite2D" type="Sprite2D" parent="Npc"]
texture = ExtResource("9_4bidn")
[node name="SpeechBubble" parent="Npc" instance=ExtResource("10_6hdsl")]
position = Vector2(44, -93)
[node name="NavigationAgent2D" type="NavigationAgent2D" parent="Npc"]
path_desired_distance = 30.0
avoidance_enabled = true
[node name="SubViewport" type="SubViewport" parent="."]
size = Vector2i(1920, 1080)
[node name="ColorRect" type="ColorRect" parent="SubViewport"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0, 0, 0.12941177, 1)
[node name="Parallax2D" type="Parallax2D" parent="SubViewport"]
repeat_size = Vector2(1920, 1080)
autoscroll = Vector2(-10, 0)
follow_viewport = false
ignore_camera_scroll = true
[node name="TextureRect2" type="TextureRect" parent="SubViewport/Parallax2D"]
anchors_preset = -1
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = 1920.0
offset_bottom = 1080.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = SubResource("NoiseTexture2D_lsfle")
[node name="TextureRect" type="TextureRect" parent="SubViewport"]
modulate = Color(0.45840502, 0.45840508, 0.45840502, 1)
material = SubResource("ShaderMaterial_ggqxp")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("15_b2pr6")
[node name="TextureRect4" type="TextureRect" parent="SubViewport"]
modulate = Color(0.45840502, 0.45840508, 0.45840502, 1)
material = SubResource("ShaderMaterial_b2pr6")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("15_b2pr6")
[node name="TextureRect3" type="TextureRect" parent="SubViewport"]
material = SubResource("ShaderMaterial_o230c")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("16_b2pr6")
[editable path="Sprites/Receptionist"]