Skip to content

Conversation

@wjt
Copy link
Member

@wjt wjt commented May 15, 2025

The music puzzle logic and its element have now been made generic enough to be used for various different sequence puzzles. So we can now rename all the scenes, scripts, and some lingering music and rock references in the API, and move the files out of the LoreQuest into generic directories.

Fixes #526


One remaining piece is that I can make the musician a generic NPC but I'll do that as a follow-up.

wjt added 7 commits May 15, 2025 15:13
The "bonfire" nature of this sign is now specific to the LoreQuest music
puzzle. Rename the scene to a generic name, updating references elsewhere.

#526
These are no longer fire-specific.
The sign is no longer necessarily a bonfire, so it doesn't make sense to
talk about "igniting" it.
Previouly this component was buried inside the first lorequest.

Rehome it to game_elements/props, which matches comparable props like
the ink jars in the combat minigame.

#526
This is no longer necessarily a rock, nor musical, but a generic object
that can be kicked and may or may not make a musical sound when the
player does so.

Rename the scene & class; adjust its API to reflect its new generic
nature. Rehouse it from a xylophone directory in the lorequest puzzle
into the components tree. Move the rock sprite frames up one level of
the hierarchy, to the lorequest puzzle's components directory.

#526
This is no longer music-specific.

Rename MusicPuzzle to SequencePuzzle, and move it plus its
SequencePuzzleStep sub-component to the game_logic directory.

Fixes #526
It's no longer necessarily musical. Rename the scene, nodes within it,
its directory, and relevant assets. Update the dialogue.

#526
@manuq
Copy link
Collaborator

manuq commented May 15, 2025

One remaining piece is that I can make the musician a generic NPC but I'll do that as a follow-up.

I wonder if we really need this. Asking over Discord.

Copy link
Collaborator

@manuq manuq left a comment

Choose a reason for hiding this comment

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

All good!

var hint_levels: Dictionary = {}

var _rocks: Array[MusicalRock]
var _objects: Array[SequencePuzzleObject]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe "object" is too generic? Anyways it works.

@manuq manuq merged commit f827467 into main May 15, 2025
6 checks passed
@manuq manuq deleted the rename-music-puzzle-to-sequence-puzzle branch May 15, 2025 15:09
cassidyjames pushed a commit to cassidyjames/threadbare that referenced this pull request Jun 17, 2025
…sequence-puzzle

Rename music puzzle to sequence puzzle
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.

Rename music puzzle components & move to a new home

3 participants