progress
This commit is contained in:
@@ -15,3 +15,15 @@ func _on_haunted_forest_interacted() -> void:
|
||||
|
||||
func _on_spooky_house_exterior_interacted() -> void:
|
||||
$kq4_017_spooky_house_exterior.default_script(self)
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "This place gives you the willies! The trees around here are very strange; almost human-like. A dense forest surrounds this odd grove of trees.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_tree_left_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "This gnarled tree has an almost human-like appearance. Its twisted branches seem to reach toward you...")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dk7r6la0vktg5" path="res://scenes/kq4_011_enchanted_grove/caption_2_496392820_generated.png" id="2_4yweh"]
|
||||
[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://3v7bd74wy099f" path="res://scenes/kq4_011_enchanted_grove/tree_left_polygon.tres" id="5_abc"]
|
||||
[ext_resource type="Script" uid="uid://byf6hc1mxm7b8" path="res://SetPiece_.gd" id="6_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,12 +89,21 @@ position = Vector2(506, 555)
|
||||
[node name="exit" parent="kq4_010_forest_path" index="1"]
|
||||
position = Vector2(-64, 534)
|
||||
|
||||
[node name="tree_left" type="Polygon2D" parent="." unique_id=1234567890]
|
||||
scale = Vector2(0.78, 0.78)
|
||||
polygon = PackedVector2Array()
|
||||
script = ExtResource("6_abc")
|
||||
label = "Gnarled Tree"
|
||||
polygon_resource = ExtResource("5_abc")
|
||||
|
||||
[connection signal="interacted" from="kq4_005_forest_grove" to="." method="_on_forest_grove_interacted"]
|
||||
[connection signal="interacted" from="kq4_012_haunted_forest" to="." method="_on_haunted_forest_interacted"]
|
||||
[connection signal="interacted" from="kq4_017_spooky_house_exterior" to="." method="_on_spooky_house_exterior_interacted"]
|
||||
[connection signal="interacted" from="kq4_010_forest_path" to="." method="_on_forest_path_interacted"]
|
||||
[connection signal="looked" from="tree_left" to="." method="_on_tree_left_looked"]
|
||||
|
||||
[editable path="kq4_005_forest_grove"]
|
||||
[editable path="kq4_012_haunted_forest"]
|
||||
[editable path="kq4_017_spooky_house_exterior"]
|
||||
[editable path="kq4_010_forest_path"]
|
||||
[editable path="tree_left"]
|
||||
|
||||
8
scenes/kq4_011_enchanted_grove/tree_left_polygon.tres
Normal file
8
scenes/kq4_011_enchanted_grove/tree_left_polygon.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://buc68to51l5x2"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(1123, 0, 911, 1391, 0, 1391, 0, 0)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
Reference in New Issue
Block a user