Skip to content

Write dialogue for Template Elder - #2817

Open
edwardvilcamonje-max wants to merge 2 commits into
endlessm:mainfrom
edwardvilcamonje-max:main
Open

Write dialogue for Template Elder #2817
edwardvilcamonje-max wants to merge 2 commits into
endlessm:mainfrom
edwardvilcamonje-max:main

Conversation

@edwardvilcamonje-max

@edwardvilcamonje-max edwardvilcamonje-max commented Sep 1, 2026

Copy link
Copy Markdown

Description

Created a new dialogue for the third Elder, the "TemplateQuest Elder", which offers Template StoryQuests separately from the StoryQuest Elder.
The dialogue makes it clear that these quests are templates intended to be explored, adapted, and developed by contributors. It encourages players to use the templates as inspiration and make the stories their own.
The new dialogue was added in the same directory and format as the existing Elder dialogue files.

resolver:#1102

@edwardvilcamonje-max
edwardvilcamonje-max requested a review from a team as a code owner September 1, 2026 23:35
@edwardvilcamonje-max edwardvilcamonje-max changed the title dialogue for Template Elder Write dialogue for Template Elder #1102- #2807 Sep 1, 2026
@edwardvilcamonje-max edwardvilcamonje-max changed the title Write dialogue for Template Elder #1102- #2807 Write dialogue for Template Elder #1102 Sep 1, 2026
Comment thread project.godot Outdated
run/main_scene="uid://huuo8mnwsphv"
config/project_settings_override="user://custom_overrides.cfg"
config/features=PackedStringArray("4.7", "GL Compatibility")
config/features=PackedStringArray("4.6", "GL Compatibility")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
config/features=PackedStringArray("4.6", "GL Compatibility")
config/features=PackedStringArray("4.7", "GL Compatibility")

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Play this branch at https://play.threadbare.game/branches/edwardvilcamonje-max/main/.

(This launches the game from the start, not directly at the change(s) in this pull request.)

@wjt wjt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see https://github.com/endlessm/threadbare/wiki/Contributing#pull-request-descriptions and tweak the title & description:

Comment on lines +8 to +10
% TemplateQuest Elder: Take a look at this template. Perhaps it will inspire a story of your own!
% TemplateQuest Elder: This story is waiting to be explored, adapted, and brought to life!
% TemplateQuest Elder: We hope it sparks your imagination!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the tone of these is quite right because in this path the player has chosen not to play the template. These should be encouraging the player to come back later and take a look.

Template Elder: Thank you, StoryWeaver! The fabric of the world slowly heals!
Template Elder: Go forth: our world still needs your help.
=> END
~ no_quests

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The elder.gd code assumes that the no_quests title exists:

elif not _quests:
talk_behavior.title = "no_quests"

so please keep that one. (In practice it will never be reached, so I suggest keeping the existing line of dialogue.)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any change here. I think this must be in a copy of the file you have made locally but not committed.

% TemplateQuest Elder: We hope it sparks your imagination!
else:
Template Elder: We believe in you, StoryWeaver. Become the hero, and see where the path leads.
TemplateQuest Elder: Explore the template, adapt the story, and see where the path leads.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the coding style checker is going to complain about the use of spaces rather than tabs here.

@edwardvilcamonje-max edwardvilcamonje-max changed the title Write dialogue for Template Elder #1102 Write dialogue for Template Elder Sep 2, 2026
@edwardvilcamonje-max

Copy link
Copy Markdown
Author

I’ve made the changes. Is everything okay now, or is there anything else I should change?

@manuq manuq left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As Will pointed out the lint check complains about the indentation type, using spaces instead of tabs:

scenes/game_elements/characters/npcs/elder/components/template_quest_starter.dialogue:
	8-10: Wrong indentation type(spaces instead of tabs)
	12: Wrong indentation type(spaces instead of tabs)

2 errors found

It's boring but is the way we have for ensuring the same formatting in all files instead of one developer preferring tabs, another dev preferring spaces, and having them change every time depending on who touched the file the last time. My recommendation is that you install pre-commit which will automatically fix this for you in most cases. Although not in this one. At least it will show you the error and won't let you commit.

% TemplateQuest Elder: Take a look at this template. Perhaps it will inspire a story of your own!
% TemplateQuest Elder: This story is waiting to be explored, adapted, and brought to life!
% TemplateQuest Elder: We hope it sparks your imagination!
else:s

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it and it's interesting that the Dialogue Manager doesn't complain about this extra "s", not in syntax check or at runtime. But is not needed.

Suggested change
else:s
else:

@wjt

wjt commented Sep 3, 2026

Copy link
Copy Markdown
Member

Please also adjust the PR description as requested above!

[ext_resource type="Script" uid="uid://du8wfijr35r35" path="res://scenes/game_elements/props/interact_area/interact_area.gd" id="3_ftke6"]
[ext_resource type="Script" uid="uid://edcifob4jc4s" path="res://scenes/game_logic/talk_behavior.gd" id="4_m4ftv"]
[ext_resource type="Resource" uid="uid://dg0fe4uwdjlbd" path="res://scenes/game_elements/characters/npcs/elder/components/template_quest_starter.dialogue" id="5_l4hfl"]
[ext_resource type="Resource" uid="uid://dg0fe4uwdjlbd" path="res://scenes/game_elements/characters/npcs/elder/components/template_quest_starter1.dialogue" id="5_l4hfl"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you've copied the file, edited the copy, but then not committed the copy.

You should edit the original file, and restore this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants