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
Expand Up @@ -4,17 +4,17 @@
if is_enemy_defeated():
=> success

{{npc_name}}: An adventurer! It’s not often that we get visitors here.
{{player_name}}: What’s going on? Across the water I can see something dark and mysterious.
{{npc_name}}: A terrible force has come over our archipelago: that’s the Void.
{{npc_name}}: Our homes are safe only because we tell each other stories. And this place, our dear LinenVille...
{{npc_name}}: Two islands away lives a wise monk. Seek her! She knows enough stories to restore LinenVille. Sadly, I cannot reach her, but you might!
{{player_name}}: How can I find her?
{{npc_name}}: Cross the bridge, and follow the path.
{{npc_name}}: But beware: once the Void senses you, you will be in grave danger. Move swiftly!
Mirabel: An adventurer! It’s not often that we get visitors here.
StoryWeaver: What’s going on? Across the water I can see something dark and mysterious.
Mirabel: A terrible force has come over our archipelago: that’s the Void.
Mirabel: Our homes are safe only because we tell each other stories. And this place, our dear LinenVille...
Mirabel: Two islands away lives a wise monk. Seek her! She knows enough stories to restore LinenVille. Sadly, I cannot reach her, but you might!
StoryWeaver: How can I find her?
Mirabel: Cross the bridge, and follow the path.
Mirabel: But beware: once the Void senses you, you will be in grave danger. Move swiftly!
=> END

~ success
{{npc_name}}: We cannot thank you enough!
{{npc_name}}: Please, can you check if the old village north of the big forest is still there?
Mirabel: We cannot thank you enough!
Mirabel: Please, can you check if the old village north of the big forest is still there?
=> END

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# SPDX-FileCopyrightText: The Threadbare Authors
# SPDX-License-Identifier: MPL-2.0
@tool
extends NPC
extends Node2D

@export var enemy: CharacterBody2D
@onready var enemy: CharacterBody2D = %VoidSpreadingEnemy


func is_enemy_defeated() -> bool:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uid://2lwkwxpawda3
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[gd_scene format=4 uid="uid://bm4ewr8p48x0i"]

[ext_resource type="PackedScene" uid="uid://2rbpl811wlv1" path="res://scenes/game_elements/props/background_music/background_music.tscn" id="1_g2rto"]
[ext_resource type="Script" uid="uid://2lwkwxpawda3" path="res://scenes/quests/lore_quests/quest_002/1_void_runner/components/void_runner.gd" id="1_r04sh"]
[ext_resource type="AudioStream" uid="uid://bwgtbylflkup2" path="res://scenes/quests/lore_quests/quest_002/components/void_music.tres" id="2_kgem8"]
[ext_resource type="Material" uid="uid://64aeyjitacv3" path="res://scenes/game_elements/props/void/void_chromakey_material.tres" id="2_ljnmn"]
[ext_resource type="TileSet" uid="uid://oynx002hv8tl" path="res://tiles/water.tres" id="3_7u86q"]
Expand All @@ -17,7 +18,7 @@
[ext_resource type="TileSet" uid="uid://ciq5guijvlyb0" path="res://tiles/void_chromakey.tres" id="9_qgmg5"]
[ext_resource type="PackedScene" uid="uid://7873qa54birk" path="res://scenes/game_elements/props/tree/tree.tscn" id="10_epkxq"]
[ext_resource type="PackedScene" uid="uid://bp20cjimwi8l0" path="res://scenes/game_elements/props/buildings/house/house_2.tscn" id="11_5y4tu"]
[ext_resource type="PackedScene" uid="uid://bs6vm2sdawbhh" path="res://scenes/quests/lore_quests/quest_002/1_void_runner/components/townie.tscn" id="12_ljnmn"]
[ext_resource type="PackedScene" uid="uid://dgrrudegturnw" path="res://scenes/game_elements/characters/npcs/townie.tscn" id="12_ljnmn"]
[ext_resource type="SpriteFrames" uid="uid://djwymcffy83" path="res://scenes/game_elements/props/tree/components/tree_spriteframes_red.tres" id="13_b5w51"]
[ext_resource type="PackedScene" uid="uid://crqjcicx0vdu" path="res://scenes/game_elements/props/decoration/bush/bush.tscn" id="13_wy2h8"]
[ext_resource type="SpriteFrames" uid="uid://br4k784ht8hh0" path="res://scenes/game_elements/props/decoration/bush/components/bush_spriteframes_yellow_large.tres" id="14_ljnmn"]
Expand All @@ -28,9 +29,12 @@
[ext_resource type="Texture2D" uid="uid://be3845r07rhkm" path="res://scenes/game_elements/props/buildings/house/components/House_Wool_Red_Stage3.png" id="17_tsnue"]
[ext_resource type="Texture2D" uid="uid://cy66l5b3uox84" path="res://scenes/game_elements/props/buildings/house/components/House_Patches_Red_Stage2.png" id="18_rrp37"]
[ext_resource type="Texture2D" uid="uid://0xceungm1p8a" path="res://scenes/game_elements/props/buildings/house/components/House_Wool_Red_Stage2.png" id="19_j6nb3"]
[ext_resource type="Script" uid="uid://du8wfijr35r35" path="res://scenes/game_elements/props/interact_area/interact_area.gd" id="20_s0pn8"]
[ext_resource type="SpriteFrames" uid="uid://cuokvpf58hkee" path="res://scenes/game_elements/props/tree/components/tree_spriteframes_purple.tres" id="20_twlcp"]
[ext_resource type="Script" uid="uid://edcifob4jc4s" path="res://scenes/game_logic/talk_behavior.gd" id="21_kfcfu"]
[ext_resource type="SpriteFrames" uid="uid://brspwu70qbdaf" path="res://scenes/game_elements/props/tree/components/tree_spriteframes_blue.tres" id="21_xqo3t"]
[ext_resource type="PackedScene" uid="uid://fuhl3l6gxq5k" path="res://scenes/game_elements/props/collectible_item/collectible_item.tscn" id="22_auh5r"]
[ext_resource type="Resource" uid="uid://cy6q1djsmma1f" path="res://scenes/quests/lore_quests/quest_002/1_void_runner/components/townie.dialogue" id="22_tsnue"]
[ext_resource type="Script" uid="uid://bgmwplmj3bfls" path="res://scenes/globals/game_state/inventory/inventory_item.gd" id="23_amu0w"]
[ext_resource type="PackedScene" uid="uid://dme77bdscoo1o" path="res://scenes/quests/lore_quests/quest_002/1_void_runner/components/monk.tscn" id="23_swnl7"]
[ext_resource type="SpriteFrames" uid="uid://2ek86nvw6y28" path="res://scenes/game_elements/props/tree/components/tree_spriteframes_yellow.tres" id="23_wtoj6"]
Expand All @@ -56,12 +60,16 @@ _data = {
}
point_count = 17

[sub_resource type="RectangleShape2D" id="RectangleShape2D_rrp37"]
size = Vector2(52, 61)

[sub_resource type="Resource" id="Resource_8l6e1"]
script = ExtResource("23_amu0w")
name = "Memory"
metadata/_custom_type_script = "uid://bgmwplmj3bfls"

[node name="VoidRunner" type="Node2D" unique_id=506997450]
script = ExtResource("1_r04sh")
metadata/_edit_lock_ = true

[node name="BackgroundMusic" parent="." unique_id=649811497 instance=ExtResource("1_g2rto")]
Expand Down Expand Up @@ -165,6 +173,7 @@ position_smoothing_enabled = true
editor_draw_limits = true

[node name="VoidSpreadingEnemy" parent="OnTheGround" unique_id=1727069559 node_paths=PackedStringArray("void_layer", "idle_patrol_path") instance=ExtResource("6_wtoj6")]
unique_name_in_owner = true
position = Vector2(735, 3148)
void_layer = NodePath("../../TileMapLayers/Void")
idle_patrol_path = NodePath("../VoidSpreadingEnemyPatrolPath")
Expand Down Expand Up @@ -268,9 +277,28 @@ y_sort_enabled = true
[node name="House_2" parent="OnTheGround/StartingIsland" unique_id=132243375 instance=ExtResource("11_5y4tu")]
position = Vector2(353, 2635)

[node name="Townie" parent="OnTheGround/StartingIsland" unique_id=202712988 node_paths=PackedStringArray("enemy") instance=ExtResource("12_ljnmn")]
[node name="Townie" parent="OnTheGround/StartingIsland" unique_id=202712988 instance=ExtResource("12_ljnmn")]
position = Vector2(298, 2715)
enemy = NodePath("../../VoidSpreadingEnemy")
character_seed = 1006531516

[node name="InteractArea" type="Area2D" parent="OnTheGround/StartingIsland/Townie" unique_id=1515853328]
unique_name_in_owner = true
collision_layer = 32
collision_mask = 0
script = ExtResource("20_s0pn8")
metadata/_custom_type_script = "uid://du8wfijr35r35"

[node name="CollisionShape2D" type="CollisionShape2D" parent="OnTheGround/StartingIsland/Townie/InteractArea" unique_id=1236597835]
visible = false
position = Vector2(0, -23.5)
shape = SubResource("RectangleShape2D_rrp37")
debug_color = Color(0.600391, 0.54335, 0, 0.42)

[node name="TalkBehavior" type="Node" parent="OnTheGround/StartingIsland/Townie" unique_id=526014934 node_paths=PackedStringArray("interact_area")]
script = ExtResource("21_kfcfu")
dialogue = ExtResource("22_tsnue")
interact_area = NodePath("../InteractArea")
metadata/_custom_type_script = "uid://edcifob4jc4s"

[node name="Sign" parent="OnTheGround/StartingIsland" unique_id=111510925 instance=ExtResource("14_r04sh")]
position = Vector2(600, 2802)
Expand Down Expand Up @@ -1177,3 +1205,5 @@ position = Vector2(2461, 2732)

[connection signal="body_entered" from="EnemyTrigger" to="OnTheGround/VoidSpreadingEnemy" method="start" flags=6]
[connection signal="body_entered" from="GoalReachedTrigger" to="OnTheGround/VoidSpreadingEnemy" method="defeat" flags=6 unbinds=1]
[connection signal="interaction_ended" from="OnTheGround/StartingIsland/Townie/InteractArea" to="OnTheGround/StartingIsland/Townie" method="_on_interact_area_interaction_ended"]
[connection signal="interaction_started" from="OnTheGround/StartingIsland/Townie/InteractArea" to="OnTheGround/StartingIsland/Townie" method="_on_interact_area_interaction_started"]
Loading