Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# SPDX-FileCopyrightText: The Threadbare Authors
# SPDX-License-Identifier: MPL-2.0
extends StaticBody2D

signal book_read

var already_read: bool = false

func reveal_thread():
if not already_read:
already_read = true
book_read.emit()
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://ompfuw82ctb2
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[gd_scene format=3 uid="uid://b8hje84ld36o5"]

[ext_resource type="Script" uid="uid://ompfuw82ctb2" path="res://scenes/quests/lore_quests/side_quest_001/6_treasure_room/components/book/book.gd" id="1_fmb8s"]
[ext_resource type="Texture2D" uid="uid://bhqanyxhpxpm" path="res://assets/first_party/rocks/Rock_Idle.png" id="1_g276n"]
[ext_resource type="Script" uid="uid://edcifob4jc4s" path="res://scenes/game_logic/talk_behavior.gd" id="2_g705x"]
[ext_resource type="Resource" uid="uid://bo4uavbp0al61" path="res://scenes/quests/lore_quests/side_quest_001/6_treasure_room/components/book/outro.dialogue" id="3_fmb8s"]
[ext_resource type="Script" uid="uid://du8wfijr35r35" path="res://scenes/game_elements/props/interact_area/interact_area.gd" id="4_5lx86"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_kkask"]
size = Vector2(60, 55)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_spiih"]
size = Vector2(53, 45)

[node name="Book" type="StaticBody2D" unique_id=1091175077]
script = ExtResource("1_fmb8s")

[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1054940245]
texture = ExtResource("1_g276n")

[node name="TalkBehavior" type="Node" parent="." unique_id=2026477836 node_paths=PackedStringArray("interact_area")]
script = ExtResource("2_g705x")
dialogue = ExtResource("3_fmb8s")
interact_area = NodePath("../Interact Area")
metadata/_custom_type_script = "uid://edcifob4jc4s"

[node name="Interact Area" type="Area2D" parent="." unique_id=1349640596]
collision_layer = 32
collision_mask = 0
script = ExtResource("4_5lx86")

[node name="CollisionShape2D" type="CollisionShape2D" parent="Interact Area" unique_id=1724627938]
position = Vector2(-2, -16.5)
shape = SubResource("RectangleShape2D_kkask")

[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=110530989]
position = Vector2(-1.5, -0.5)
shape = SubResource("RectangleShape2D_spiih")

[connection signal="interaction_ended" from="Interact Area" to="." method="reveal_thread"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: The Threadbare Authors
# SPDX-License-Identifier: MPL-2.0
~ start
The fabled treasure sat before Daffy and StoryWeaver, but it was no quilt. Instead, a dusty tome waited to be cracked open.
StoryWeaver opened the book...
...and it was empty!
Daffy: What?! All of this searching for a blank book?
But in that moment, StoryWeaver knew exactly what to do. The threads of memory once lost to time were ready to be woven.
StoryWeaver wielded the pen with swift strokes.
"This is the tale of a legendary adventurer, Daffodil Lockstich, Captain of The Spindle..."
=> END
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[remap]

importer="dialogue_manager"
importer_version=15
type="Resource"
uid="uid://bo4uavbp0al61"
path="res://.godot/imported/outro.dialogue-5b235f10e9e23cf7f565764fb9ed1c1f.tres"

[deps]

source_file="res://scenes/quests/lore_quests/side_quest_001/6_treasure_room/components/book/outro.dialogue"
dest_files=["res://.godot/imported/outro.dialogue-5b235f10e9e23cf7f565764fb9ed1c1f.tres"]

[params]

defaults=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: The Threadbare Authors
# SPDX-License-Identifier: MPL-2.0
~ start
The Eternal Quilt is steps away, but this final test is more dangerous than the last.
Daffy: Chiffon, I'm here!! Our new friend helped me remember.
Daffy: Now, to find the Quilt.
=> END
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[remap]

importer="dialogue_manager"
importer_version=15
type="Resource"
uid="uid://cx6v6n1guhxyo"
path="res://.godot/imported/intro.dialogue-c4ff0fde284c9296a6ecc8a07d4fd871.tres"

[deps]

source_file="res://scenes/quests/lore_quests/side_quest_001/6_treasure_room/components/intro.dialogue"
dest_files=["res://.godot/imported/intro.dialogue-c4ff0fde284c9296a6ecc8a07d4fd871.tres"]

[params]

defaults=true

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# SPDX-FileCopyrightText: The Threadbare Authors
# SPDX-License-Identifier: MPL-2.0
~ start
[[Hi|Hello|Greetings]], {{player_name}}
Townies: Tell us a story about your last adventure!
StoryWeaver: I found Fringe Island and met a friendly Skeleton. Together, we...
#- Had to run! [#thread=spirit] => retell_spirit
#- Found inventive ways of moving [#thread=imagination] => retell_imagination


=> END
Loading