progress
This commit is contained in:
8
scenes/kq4_016_graveyard/gravestones_polygon.tres
Normal file
8
scenes/kq4_016_graveyard/gravestones_polygon.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://jwqdk5e17ucs"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(2274, 760, 2254, 907, 1872, 1362, 1734, 1391, 542, 1139, 188, 965, 151, 710, 564, 606, 1723, 614)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -15,3 +15,21 @@ func _on_gnomes_cottage_interacted() -> void:
|
||||
|
||||
func _on_spooky_house_exterior_interacted() -> void:
|
||||
$kq4_017_spooky_house_exterior.default_script(self)
|
||||
|
||||
|
||||
func _on_gravestones_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "Each tombstone has an epitaph written on it.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_tree_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "An old, rotting tree adds appropriate charm to the decrepit cemetery.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "This run-down, gloomy cemetery gives you the creeps!")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
[ext_resource type="Texture2D" uid="uid://clkah304erwsa" path="res://scenes/kq4_016_graveyard/caption_1_2842997487_generated.png" id="2_8fbum"]
|
||||
[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://jwqdk5e17ucs" path="res://scenes/kq4_016_graveyard/gravestones_polygon.tres" id="5_gravestones"]
|
||||
[ext_resource type="Resource" uid="uid://3j9gqpqwomat0" path="res://scenes/kq4_016_graveyard/tree_polygon.tres" id="6_tree"]
|
||||
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="7_setpiece"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"]
|
||||
vertices = PackedVector2Array(366.85156, 1243.1484, -140.97656, 1182.2422, -76.0625, 588.09375, -30.171875, 216.07031, 1221.4063, 226.97656, 1994.1406, 468.39844, 2011.7969, 1321.9766, 1052.7422, 1419.8672, -76.0625, 588.0781)
|
||||
@@ -94,6 +97,25 @@ position = Vector2(293, 554)
|
||||
[connection signal="interacted" from="kq4_022_gnomes_cottage" to="." method="_on_gnomes_cottage_interacted"]
|
||||
[connection signal="interacted" from="kq4_017_spooky_house_exterior" to="." method="_on_spooky_house_exterior_interacted"]
|
||||
|
||||
[node name="gravestones" type="Polygon2D" parent="." groups=["set-piece"]]
|
||||
scale = Vector2(0.78, 0.78)
|
||||
color = Color(0.5, 0.5, 0.5, 0.25)
|
||||
polygon = PackedVector2Array(2274, 760, 2254, 907, 1872, 1362, 1734, 1391, 542, 1139, 188, 965, 151, 710, 564, 606, 1723, 614)
|
||||
script = ExtResource("7_setpiece")
|
||||
label = "Gravestones"
|
||||
points_resource = ExtResource("5_gravestones")
|
||||
|
||||
[node name="tree" type="Polygon2D" parent="." groups=["set-piece"]]
|
||||
scale = Vector2(0.78, 0.78)
|
||||
color = Color(0.5, 0.5, 0.5, 0.25)
|
||||
polygon = PackedVector2Array(2274, 377, 2095, 619, 1935, 756, 1185, 1239, 6, 434, 578, 0, 1845, 7)
|
||||
script = ExtResource("7_setpiece")
|
||||
label = "Tree"
|
||||
points_resource = ExtResource("6_tree")
|
||||
|
||||
[connection signal="looked" from="gravestones" to="." method="_on_gravestones_looked"]
|
||||
[connection signal="looked" from="tree" to="." method="_on_tree_looked"]
|
||||
|
||||
[editable path="kq4_015_frog_pond"]
|
||||
[editable path="kq4_010_forest_path"]
|
||||
[editable path="kq4_022_gnomes_cottage"]
|
||||
|
||||
8
scenes/kq4_016_graveyard/tree_polygon.tres
Normal file
8
scenes/kq4_016_graveyard/tree_polygon.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://bifdmcb5p65jn"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(2274, 377, 2095, 619, 1935, 756, 1185, 1239, 6, 434, 578, 0, 1845, 7)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
Reference in New Issue
Block a user