Home Creators Posts Import Register Favorites Logout

Content

Hi adventurers!

This was a HUGE rework of a lot of the core game scripts and systems. I've got my fingers crossed that this update won't break anything.

If you encounter issues, please try running the Tailraise recovery tool on the Main Menu or by going to tailraise.com/recover before reporting any bugs please!

This update makes it so you can save the game now virtually anywhere (unless you have the appearance window or an input prompt active!). This was an incredibly difficult part of the game to adjust, so I'm hoping that this won't cause any breaking changes. Saving when you are on an NPC will add a bit more data to the save file, increasing their size from 3KB to 10KB. This is because we're saving the full call stack from Ink, plus all the rendered text on screen to restore from.

I've included some debug logs in some of the functions in this build, just in case something breaks that didn't break in the development builds.

A lot of the backend work the past two weeks was much needed, and clears the way towards new game systems to be developed and implemented to give players more things to do. I'm hoping to get started on status effects soon, and then hopefully other game systems to add more for players to engage with in the game.

This update brings the game size up to:

Public: 218,982 words (+2,721)

Patron: 304,213 words (+8,821)

---> Play here! <----

Patch Notes:

[PATRON] New Encounter (Horse)

  • A horse can be found in the Depths along with the mouse in the same area.

  • 7,567 words of content (2 scenes to choose from if you win, 2 scenes if you lose).

  • Possibly more to come for this NPC.

[PATRON] Flint Bugfixes

  • Fixed an issue where some variations of text when you spend the night with Flint weren't updating variables properly and working.

  • This is now fixed to properly track the state of clothes on him, so there's some proper variants that are visible now (they were written ages ago, I just forgot to increment a variable, woops).

[PUBLIC] Mason's traveling bakery

  • You can find a small encounter in the outskirts on the Winding Trail (next to the hostile spaces).

  • This contains just a bit of extra flavour to the game, written by ShineTheBat!

[PUBLIC] Code Refactor - Save System

  • YOU CAN NOW SAVE THE GAME WHILE TALKING TO NPCS. This is a huge enhancement!

  • I've centralized the save/load functions and put everything neatly together so it functions nicely.

  • This also means I was able to add some extra functions to clean up the runtime state better, since some stuff wasn't clearing when you loaded different saves while already playing. I wanted to tidy this up a bunch.

  • While doing this, I also found out that Ink allows me to save the story state, including variables, and restore them into the story. So I've implemented this to allow for allowing you to save/load during NPCs now too.

    • This needed many bugfixes to account for the portrait art on the left, the artist/writer credits, and making sure the text restores properly.

    • Tiles don't need this because they always load back to the default at the moment, so saving on a tile saves you 3KB to 10KB on your save files.

  • NOTE: You CANNOT save during input prompts or when the appearance overlay is open, as these require some additional work to allow and track a bunch of extra states for the UI if I allow this.

  • There's some safeguards for NPC file loading which will instead load the tile you're on if things don't line up. Like if you saved as a supporter, but you're now on the public build, it won't load the NPC, but instead go to the tile.

  • NPC encounters are supported in the save/load as well after some bug fixing.

  • If you try to save in a place that doesn't allow it, a quick text message appears to let you know it didn't work.

[PUBLIC] Save System UI Changes

  • The main menu will no longer display an uninteractable 'save' option on the game save screen, just the load and delete buttons on each file. This looks better.

[PUBLIC] Code Refactor - Choice Coordinator

  • I've removed around ~300 lines of code from the core game script and moved them into a Choice Coordinator system that handles everything related to building and restoring choices (player actions, essentially).

  • This covers fallback handling, navigation labels (north, west, etc.), NPC choice names, locked/unlocked states, tooltips, and keeping choices synced to the current story/context.

  • It also uses checks so if the player changes state quickly, outdated choices should not render and the game should only show valid current options.

[PUBLIC] Code Refactor - UI Controller

  • I've removed around ~150 lines of code from the core game script and moved them into a UI Controller that manages dialogue UI elements such as subtitles, credits, portrait images, history viewing, font size refreshes, and restore behavior when returning from overlays.

  • This keeps UI-specific stuff out of the main dialogue flow and makes it easier to update visual systems without touching core scene/state logic.

[PUBLIC] Code Refactor - NPC Visibility Service

  • I've moved NPC-specific visibility logic out of the core game script into its own service.

  • This now handles things like whether NPCs are visible, whether they are currently available, how their displayed names work before/after meeting them, and how saved override values get restored back into runtime attributes.

[PUBLIC] Code Refactor - Modal Controller

  • These systems were all separate and managed themselves previously. It was causing issues and code duplication and not a good way to do it.

  • I've added a dedicated modal controller to manage transitions between save menus, settings menus, and the appearance overlay.

  • This centralizes how the game stores the previous dialogue state, restores the correct tile/NPC/overlay view, and decides whether choices should be restored (from a snapshot) or rebuilt (in case of something affecting game state, like when we add an inventory system later or minigames that give you items, etc.).

  • This fixes the old issue where opening menus and overlays in certain orders could leave the player with missing or invalid choices, and it also makes those transitions much smoother and consistent.

[PUBLIC] Encounter Cooldown System

  • Encounters will now add a random cooldown of 3 to 10 tiles when you win or lose. This will stop back to back encounters from triggering and make this feel a little better.

[PUBLIC] Encounter Anti-Repetition System

  • Added a small check for the new loss scene picker that will remove the last scene picked from the candidates.

  • This means you can't get the same loss scene back to back using this system.

[PUBLIC] Tile Counters

  • The game now stores your moves to use for the new Encounter Cooldown System, but this will also be useful for the status effect system and other stuff later.

  • Every time you successfully move to a new tile, this number increments.

  • Right now, this is an int, so it goes up to 2.147 billion moves. I don't think anyone will reach that any time soon, but if so, I'll consider changing this to a long.

[PUBLIC] Autosave Changes

  • Autosave now also goes through the official tile counter and doesn't use it's own system. It was built before this but I wanted to keep things unified and use a single source of truth.

[PATRON] Mouse Encounter

  • Encounter rate has been halved for all tiles to be less obnoxious from 0.3 to 0.15

  • This also has been decreased further when you turn the power back on, going from 0.1 to 0.075

[WIKI] Wiki updates

  • Some new NPCs were added to the wiki

  • Several NPCs had their files updated with new placeholder image art

  • Several NPCs had their available scenes for public and patrons updated

  • There is now a troubleshooting article, which talks about the recovery tool, plus some ways to troubleshoot common issues (WebGL being disabled, how to get console logs, etc.)

Comments

No comments found for this post.