-
Notifications
You must be signed in to change notification settings - Fork 36
feat: Quest Journal Decorator Integration (Prompt Pair) #417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Gerkinfeltser
wants to merge
1
commit into
MinLL:main
Choose a base branch
from
Gerkinfeltser:feature/quest-journal
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+154
−0
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
SKSE/Plugins/SkyrimNet/prompts/submodules/character_bio/0610_party_quests.prompt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| {% if render_mode == "full" or render_mode == "thoughts" or render_mode == "transform" %} | ||
| {% if is_follower(actorUUID) or actorUUID == player.UUID %} | ||
| {% set tracked_quests = get_selected_quests() %} | ||
| {% set journal = get_quest_journal() %} | ||
| {% set show_misc_tasks = show_misc_tasks | default(true) %} | ||
| {% set show_inactive_quests = show_inactive_quests | default(false) %} | ||
| {% if length(tracked_quests) > 0 %} | ||
| {% if is_follower(actorUUID) %}## {{ player.name }}'s Party's Active Quests{% else %}## Active Quests{% endif %} | ||
| (Quests remain available indefinitely unless explicitly stated otherwise. Do NOT create urgency, invent deadlines, or repeatedly remind about objectives.) | ||
| {% for quest in tracked_quests %} | ||
| {% for jq in journal %}{% if jq.editorID == quest.editorID %} | ||
| {% if jq.journalText and not jq.isMisc %} | ||
| **{{ jq.questName }}** | ||
| {{ jq.journalText }} | ||
| {% for obj in jq.objectives %}{% if obj.displayed %}{% if obj.completed %} | ||
| - {{ obj.text }} [DONE]{% elif not obj.failed %} | ||
| - {{ obj.text }}{% endif %}{% endif %}{% endfor %} | ||
|
|
||
| {% endif %} | ||
| {% endif %}{% endfor %} | ||
| {% endfor %} | ||
| {% if show_inactive_quests %} | ||
| {% for jq in journal %}{% if jq.inQuestLog %}{% if jq.journalText %} | ||
| **{{ jq.questName }}** (inactive) | ||
| {{ jq.journalText }} | ||
| {% endif %}{% endif %}{% endfor %} | ||
| {% endif %} | ||
| {% if show_misc_tasks %} | ||
| ### Misc. Tasks | ||
| {% for quest in tracked_quests %} | ||
| {% for jq in journal %}{% if jq.editorID == quest.editorID %}{% if jq.isMisc %}{% for obj in jq.objectives %}{% if obj.displayed and not obj.completed and not obj.failed %} | ||
| - {{ obj.text }}{% endif %}{% endfor %}{% endif %}{% endif %}{% endfor %} | ||
| {% endfor %} | ||
| {% endif %} | ||
| {% else %} | ||
| ## {{ player.name }}'s Party's Active Quests | ||
| No active quests currently tracked. | ||
| {% endif %} | ||
| {% endif %} | ||
| {% endif %} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Overall looks good. One thought; I think we're going to have duplicate journal objectives in some of our existing templates (player thoughts maybe?); Do a pass to ensure that this is the only source of quest info. Also - I don't have the game booted, but please