progress
This commit is contained in:
8
scenes/kq4_027_forest_path/forest_polygon_0.tres
Normal file
8
scenes/kq4_027_forest_path/forest_polygon_0.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://d0dqmhc776mal"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(317, 189, 222, 62, 104, 153, 279, 189, 0, 189, 84, 73, 317, 0)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
8
scenes/kq4_027_forest_path/forest_polygon_1.tres
Normal file
8
scenes/kq4_027_forest_path/forest_polygon_1.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://13sq1kk0i5d7"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(30, 37, 28, 80, 12, 82, 13, 96, 36, 104, 0, 104, 10, 89, 0, 82, 0, 14)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -15,3 +15,15 @@ func _on_mine_entrance_interacted() -> void:
|
||||
|
||||
func _on_river_meadow_interacted() -> void:
|
||||
$kq4_026_river_meadow.default_script(self)
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "You are wandering through a thick wood. You hear birds chirping from the many trees.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_forest_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "Tall trees surround the path on both sides. Sunlight filters through the canopy above.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
[ext_resource type="Texture2D" uid="uid://1tsm5mtf1ls7d" path="res://scenes/kq4_027_forest_path/pic_027_visual.png" id="2_abc"]
|
||||
[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://16sx5suqmeus6" path="res://scenes/kq4_027_forest_path/forest_polygon_0.tres" id="5_forest"]
|
||||
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_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)
|
||||
@@ -93,6 +95,16 @@ position = Vector2(-64, 534)
|
||||
[connection signal="interacted" from="kq4_003_fountain_pool" to="." method="_on_fountain_pool_interacted"]
|
||||
[connection signal="interacted" from="kq4_026_river_meadow" to="." method="_on_river_meadow_interacted"]
|
||||
|
||||
[node name="forest" type="Polygon2D" parent="." groups=["set-piece"]]
|
||||
scale = Vector2(6, 6)
|
||||
color = Color(0.5, 0.5, 0.5, 0.25)
|
||||
polygon = PackedVector2Array(317, 189, 222, 62, 104, 153, 279, 189, 0, 189, 84, 73, 317, 0)
|
||||
script = ExtResource("6_setpiece")
|
||||
label = "Forest"
|
||||
points_resource = ExtResource("5_forest")
|
||||
|
||||
[connection signal="looked" from="forest" to="." method="_on_forest_looked"]
|
||||
|
||||
[editable path="kq4_021_bridge_over_stream"]
|
||||
[editable path="kq4_028_mine_entrance"]
|
||||
[editable path="kq4_003_fountain_pool"]
|
||||
|
||||
Reference in New Issue
Block a user