progress
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://w0ydnt3i4mpp"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(316, 178, 177, 187, 122, 187, 0, 136, 0, 12, 78, 2, 317, 0, 319, 139)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -15,3 +15,21 @@ func _on_fishermans_shack_interacted() -> void:
|
||||
|
||||
func _on_green_meadow_interacted() -> void:
|
||||
$kq4_014_green_meadow.default_script(self)
|
||||
|
||||
|
||||
func _on_cottage_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "You see the back of an old shack.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_window_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "You peek through the window, but can make out no details.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "You stand behind the fisherman's shack.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://31tmx5rtcbd9h" path="res://scenes/kq4_008_back_of_fishermans_shack/kq4_008_back_of_fishermans_shack.gd" id="1_abc"]
|
||||
[ext_resource type="Texture2D" uid="uid://1qgkzu9kzrsb2" path="res://scenes/kq4_008_back_of_fishermans_shack/pic_008_visual.png" id="2_abc"]
|
||||
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="5_setpiece"]
|
||||
[ext_resource type="Resource" uid="uid://2yu2h2auhjq02" path="res://scenes/kq4_008_back_of_fishermans_shack/cottage_polygon.tres" id="6_cottage"]
|
||||
[ext_resource type="Resource" uid="uid://ie9kcj20t0tl" path="res://scenes/kq4_008_back_of_fishermans_shack/window_polygon.tres" id="7_window"]
|
||||
[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"]
|
||||
|
||||
@@ -89,10 +92,26 @@ position = Vector2(118, 514)
|
||||
[node name="exit" parent="kq4_014_green_meadow" index="1"]
|
||||
position = Vector2(151, 615)
|
||||
|
||||
[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("5_setpiece")
|
||||
label = "Cottage"
|
||||
points_resource = ExtResource("6_cottage")
|
||||
|
||||
[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("5_setpiece")
|
||||
label = "Window"
|
||||
points_resource = ExtResource("7_window")
|
||||
|
||||
[connection signal="interacted" from="kq4_009_shady_wooded_area" to="." method="_on_shady_wooded_area_interacted"]
|
||||
[connection signal="interacted" from="kq4_002_meadow" to="." method="_on_meadow_interacted"]
|
||||
[connection signal="interacted" from="kq4_007_fishermans_shack" to="." method="_on_fishermans_shack_interacted"]
|
||||
[connection signal="interacted" from="kq4_014_green_meadow" to="." method="_on_green_meadow_interacted"]
|
||||
[connection signal="looked" from="cottage" to="." method="_on_cottage_looked"]
|
||||
[connection signal="looked" from="window" to="." method="_on_window_looked"]
|
||||
|
||||
[editable path="kq4_009_shady_wooded_area"]
|
||||
[editable path="kq4_002_meadow"]
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://ifakcj20t0tl"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(298, 74, 306, 187, 0, 189, 16, 91, 68, 27, 234, 35, 277, 48)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
Reference in New Issue
Block a user