Vast improvements and a working finite state machine, working on new guild member registration.
This commit is contained in:
78
active_scene.tscn
Normal file
78
active_scene.tscn
Normal file
@@ -0,0 +1,78 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://dfa6ep4o53s08"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cci652umkym1f" path="res://test_scene.gd" id="1_8p2cu"]
|
||||
[ext_resource type="PackedScene" uid="uid://cd08dp16bixfv" path="res://guildhall.tscn" id="1_fcxuj"]
|
||||
[ext_resource type="PackedScene" uid="uid://c8ofw6na082gv" path="res://main_panel.tscn" id="2_8p2cu"]
|
||||
[ext_resource type="Script" uid="uid://ccorfvcfa84gf" path="res://guildhall.gd" id="3_hyuu1"]
|
||||
[ext_resource type="PackedScene" uid="uid://dly7in8ql1fn4" path="res://quest_log.tscn" id="4_tro8a"]
|
||||
[ext_resource type="Script" uid="uid://blo7tb5135vfm" path="res://quest_board.gd" id="5_46fpu"]
|
||||
[ext_resource type="Texture2D" uid="uid://bldpiytpdrge6" path="res://icon.svg" id="5_eenn6"]
|
||||
[ext_resource type="PackedScene" uid="uid://drrtypncppjps" path="res://quest_board_window.tscn" id="5_uh7v7"]
|
||||
[ext_resource type="Script" uid="uid://bnbljf6u2d3kh" path="res://visitor_spawner.gd" id="6_d0hfk"]
|
||||
|
||||
[node name="Active Scene" type="Node2D"]
|
||||
script = ExtResource("1_8p2cu")
|
||||
|
||||
[node name="Guildhall" parent="." instance=ExtResource("1_fcxuj")]
|
||||
position = Vector2(421, 161)
|
||||
script = ExtResource("3_hyuu1")
|
||||
|
||||
[node name="NavigationRegion2D" parent="Guildhall" index="0"]
|
||||
position = Vector2(-8, 25)
|
||||
|
||||
[node name="QuestBoard" type="StaticBody2D" parent="Guildhall/NavigationRegion2D" index="2"]
|
||||
position = Vector2(942, 31)
|
||||
input_pickable = true
|
||||
script = ExtResource("5_46fpu")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="Guildhall/NavigationRegion2D/QuestBoard"]
|
||||
scale = Vector2(1.84375, 0.4375)
|
||||
texture = ExtResource("5_eenn6")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Guildhall/NavigationRegion2D/QuestBoard"]
|
||||
polygon = PackedVector2Array(-118, -28, 118, -28, 118, 28, -118, 29)
|
||||
|
||||
[node name="QuestBoardWindow" parent="Guildhall/NavigationRegion2D/QuestBoard" instance=ExtResource("5_uh7v7")]
|
||||
position = Vector2i(0, 36)
|
||||
|
||||
[node name="CharacterBody2D" parent="Guildhall" index="1"]
|
||||
interaction_range = 100.0
|
||||
|
||||
[node name="NavigationAgent2D" parent="Guildhall/CharacterBody2D" index="1"]
|
||||
path_desired_distance = 100.0
|
||||
target_desired_distance = 75.0
|
||||
|
||||
[node name="Queue" parent="Guildhall/Receptionist" index="3"]
|
||||
position = Vector2(-6, 186)
|
||||
direction = Vector2(0, 1)
|
||||
|
||||
[node name="StateMachine" parent="Guildhall/Receptionist" index="4"]
|
||||
starting_state = "Advance Queue"
|
||||
|
||||
[node name="VisitorSpawner" type="Node2D" parent="Guildhall"]
|
||||
position = Vector2(505, 870)
|
||||
script = ExtResource("6_d0hfk")
|
||||
total_visitors = 5
|
||||
|
||||
[node name="Timer" type="Timer" parent="Guildhall/VisitorSpawner"]
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="UI"]
|
||||
offset_left = 1567.0
|
||||
offset_top = 23.0
|
||||
offset_right = 1903.0
|
||||
offset_bottom = 185.0
|
||||
|
||||
[node name="PanelContainer" parent="UI/VBoxContainer" instance=ExtResource("2_8p2cu")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Notices" type="Control" parent="UI/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Quest Log" parent="UI" instance=ExtResource("4_tro8a")]
|
||||
|
||||
[connection signal="input_event" from="Guildhall/NavigationRegion2D/QuestBoard" to="Guildhall/NavigationRegion2D/QuestBoard" method="_input_event"]
|
||||
[connection signal="timeout" from="Guildhall/VisitorSpawner/Timer" to="Guildhall/VisitorSpawner" method="_on_timer_timeout"]
|
||||
|
||||
[editable path="Guildhall"]
|
||||
Reference in New Issue
Block a user