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

@@ -15,3 +15,15 @@ func _on_ogres_cottage_interacted() -> void:
func _on_forest_path_interacted() -> void:
$kq4_027_forest_path.default_script(self)
func _on_room_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "You see a crude mine shaft in the midst of this forest of pine trees.")
).build(self, "_on_script_complete"))
func _on_mine_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "The mine entrance is dark and foreboding. Rocks are scattered about the entrance.")
).build(self, "_on_script_complete"))

View File

@@ -4,6 +4,8 @@
[ext_resource type="Texture2D" uid="uid://xoexo8qjh1n0" path="res://scenes/kq4_028_mine_entrance/caption_1_751152612_generated.png" id="2_qqkdp"]
[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://i6pvbq66x7my" path="res://scenes/kq4_028_mine_entrance/mine_polygon_0.tres" id="5_mine"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"]
[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)
@@ -93,6 +95,16 @@ position = Vector2(-64, 534)
[connection signal="interacted" from="kq4_004_ogres_cottage" to="." method="_on_ogres_cottage_interacted"]
[connection signal="interacted" from="kq4_027_forest_path" to="." method="_on_forest_path_interacted"]
[node name="mine" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(0.78, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(1941, 474, 2079, 560, 2090, 678, 2030, 882, 1943, 883, 1951, 859, 1747, 809, 1723, 555, 1798, 487)
script = ExtResource("6_setpiece")
label = "Mine Entrance"
points_resource = ExtResource("5_mine")
[connection signal="looked" from="mine" to="." method="_on_mine_looked"]
[editable path="kq4_022_gnomes_cottage"]
[editable path="kq4_029_dense_forest"]
[editable path="kq4_004_ogres_cottage"]

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://i6pvbq66x7my"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(1941, 474, 2079, 560, 2090, 678, 2030, 882, 1943, 883, 1951, 859, 1747, 809, 1723, 555, 1798, 487)
metadata/_custom_type_script = "uid://dtemboas3bi8y"