This commit is contained in:
2026-03-05 22:47:43 -08:00
parent a2eb4de815
commit 8cfae8dea2
285 changed files with 2814 additions and 11 deletions

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://n2tgvacqmctu"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(319, 189, 241, 189, 54, 174, 74, 77, 80, 64, 165, 19, 194, 21, 317, 57)
metadata/_custom_type_script = "uid://dtemboas3bi8y"

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://p7afm3d325b3"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(37, 56, 55, 10, 68, 0, 316, 4, 315, 73, 304, 117, 268, 183, 48, 69)
metadata/_custom_type_script = "uid://dtemboas3bi8y"

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bb6csq2i5n4jv"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(318, 170, 302, 187, 54, 174, 0, 104, 0, 14, 220, 18, 317, 57)
metadata/_custom_type_script = "uid://dtemboas3bi8y"

View File

@@ -15,3 +15,33 @@ func _on_cave_entrance_interacted() -> void:
func _on_ogres_cottage_interacted() -> void:
$kq4_004_ogres_cottage.default_script(self)
func _on_cottage_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "You see the back of a large, thatched-roof house.")
).build(self, "_on_script_complete"))
func _on_window_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "You look through the window, but can make out no details.")
).build(self, "_on_script_complete"))
func _on_boulders_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "The rocks are insignificant here.")
).build(self, "_on_script_complete"))
func _on_bushes_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "You don't see many shrubs here.")
).build(self, "_on_script_complete"))
func _on_room_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "This is a creepy place! You have found a grove of very odd, (and scary-looking), trees. A thick forest surrounds the grove.")
).build(self, "_on_script_complete"))

View File

@@ -4,6 +4,11 @@
[ext_resource type="Texture2D" path="res://scenes/kq4_005_forest_grove/pic_005_visual.png" id="2_abc"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_abc"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_abc"]
[ext_resource type="Resource" uid="uid://3d1fw5h9328t8" path="res://scenes/kq4_005_forest_grove/cottage_polygon.tres" id="5_abc"]
[ext_resource type="Resource" uid="uid://2jf9850spw0b" path="res://scenes/kq4_005_forest_grove/window_polygon.tres" id="6_abc"]
[ext_resource type="Resource" uid="uid://n2tgvacqmctu" path="res://scenes/kq4_005_forest_grove/boulders_polygon.tres" id="7_abc"]
[ext_resource type="Resource" uid="uid://p7afm3d325b3" path="res://scenes/kq4_005_forest_grove/bushes_polygon.tres" id="8_abc"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="9_abc"]
[sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"]
vertices = PackedVector2Array(374.47656, 1145.0078, -140.75781, 1180.2031, -76.11719, 588.6797, -53.679688, 490.4922, 1222.4688, 227.3125, 1994.2422, 468.4297, 2012.7031, 1020.2031, 1268.1875, 1113.0234)
@@ -87,10 +92,42 @@ position = Vector2(506, 555)
[node name="exit" parent="kq4_004_ogres_cottage" index="1"]
position = Vector2(-64, 534)
[node name="cottage" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
script = ExtResource("9_abc")
label = "Cottage"
points_resource = ExtResource("5_abc")
[node name="window" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
script = ExtResource("9_abc")
label = "Window"
points_resource = ExtResource("6_abc")
[node name="boulders" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
script = ExtResource("9_abc")
label = "Boulders"
points_resource = ExtResource("7_abc")
[node name="bushes" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
script = ExtResource("9_abc")
label = "Bushes"
points_resource = ExtResource("8_abc")
[connection signal="interacted" from="kq4_029_dense_forest" to="." method="_on_dense_forest_interacted"]
[connection signal="interacted" from="kq4_006_cave_entrance" to="." method="_on_cave_entrance_interacted"]
[connection signal="interacted" from="kq4_011_enchanted_grove" to="." method="_on_enchanted_grove_interacted"]
[connection signal="interacted" from="kq4_004_ogres_cottage" to="." method="_on_ogres_cottage_interacted"]
[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"]
[connection signal="looked" from="window" to="." method="_on_window_looked"]
[connection signal="looked" from="boulders" to="." method="_on_boulders_looked"]
[connection signal="looked" from="bushes" to="." method="_on_bushes_looked"]
[editable path="kq4_029_dense_forest"]
[editable path="kq4_006_cave_entrance"]

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://2jga850spw0b"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(305, 115, 268, 183, 256, 181, 0, 104, 0, 25, 10, 24, 255, 85)
metadata/_custom_type_script = "uid://dtemboas3bi8y"