changes
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://7w579iaq7ykd"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(2495, 901, 1443, 1358, 1053, 1358, 228, 1128, 65, 945, 0, 559, 2485, 490)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -27,3 +27,7 @@ func _on_house_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.narrate("The old house looks abandoned and decrepit. Windows are boarded up and the door hangs off its hinges.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_house_door_interacted() -> void:
|
||||
$kq4_068_the_foyer.default_script(self)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://bmxs6lml73kld" path="res://scenes/kq4_017_spooky_house_exterior/caption_2_3103518838_generated.png" id="2_j6qr1"]
|
||||
[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://24qjts0n6t644" path="res://scenes/kq4_017_spooky_house_exterior/house_polygon_0.tres" id="5_house"]
|
||||
[ext_resource type="Resource" path="res://scenes/kq4_017_spooky_house_exterior/house_polygon_0.tres" id="5_house"]
|
||||
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"]
|
||||
@@ -90,12 +90,7 @@ position = Vector2(506, 555)
|
||||
[node name="exit" parent="kq4_016_graveyard" index="1"]
|
||||
position = Vector2(-64, 534)
|
||||
|
||||
[connection signal="interacted" from="kq4_011_enchanted_grove" to="." method="_on_enchanted_grove_interacted"]
|
||||
[connection signal="interacted" from="kq4_018_cemetery" to="." method="_on_cemetery_interacted"]
|
||||
[connection signal="interacted" from="kq4_023_forest_path_with_cottage" to="." method="_on_forest_path_with_cottage_interacted"]
|
||||
[connection signal="interacted" from="kq4_016_graveyard" to="." method="_on_graveyard_interacted"]
|
||||
|
||||
[node name="house" type="Polygon2D" parent="." groups=["set-piece"]]
|
||||
[node name="house" type="Polygon2D" parent="." unique_id=1366262640 groups=["set-piece"]]
|
||||
scale = Vector2(0.78, 0.78)
|
||||
color = Color(0.5, 0.5, 0.5, 0.25)
|
||||
polygon = PackedVector2Array(882, 0, 228, 447, 811, 957, 293, 1014, 1052, 1378, 0, 1391, 0, 0)
|
||||
@@ -103,9 +98,26 @@ script = ExtResource("6_setpiece")
|
||||
label = "Spooky House"
|
||||
points_resource = ExtResource("5_house")
|
||||
|
||||
[node name="kq4_068_the_foyer" parent="." unique_id=1207243820 instance=ExtResource("4_abc")]
|
||||
polygon = PackedVector2Array(822, 652, 1167, 675, 1190, 1017, 1056, 1074, 742, 1054)
|
||||
appear_at_node = &"kq4_017_spooky_house_exterior"
|
||||
target = "uid://bfgygdasrhic6"
|
||||
|
||||
[node name="entrance" parent="kq4_068_the_foyer" index="0"]
|
||||
position = Vector2(967, 930)
|
||||
|
||||
[node name="exit" parent="kq4_068_the_foyer" index="1"]
|
||||
position = Vector2(950, 1093)
|
||||
|
||||
[connection signal="interacted" from="kq4_011_enchanted_grove" to="." method="_on_enchanted_grove_interacted"]
|
||||
[connection signal="interacted" from="kq4_018_cemetery" to="." method="_on_cemetery_interacted"]
|
||||
[connection signal="interacted" from="kq4_023_forest_path_with_cottage" to="." method="_on_forest_path_with_cottage_interacted"]
|
||||
[connection signal="interacted" from="kq4_016_graveyard" to="." method="_on_graveyard_interacted"]
|
||||
[connection signal="looked" from="house" to="." method="_on_house_looked"]
|
||||
[connection signal="interacted" from="kq4_068_the_foyer" to="." method="_on_house_door_interacted"]
|
||||
|
||||
[editable path="kq4_011_enchanted_grove"]
|
||||
[editable path="kq4_018_cemetery"]
|
||||
[editable path="kq4_023_forest_path_with_cottage"]
|
||||
[editable path="kq4_016_graveyard"]
|
||||
[editable path="kq4_068_the_foyer"]
|
||||
|
||||
Reference in New Issue
Block a user