1. AI Roguelite
  2. News

AI Roguelite News

Improved Coherence and Control, Part 2

Note: At the time of this announcement, this update is currently in the Beta channel and will most likely be pushed to the Regular channel within 24 hours.

[h2]Better story illustrations[/h2]
Instead of passing your story turn verbatim to the image generator, the text generator will generate a visual description of the scene to send to the image generator. Improves coherence of story turn illustrations.

[h2]Skill check overhaul[/h2]
The previous skills system was designed around weaker LLMs which couldn’t follow instructions. The idea was a “shotgun” approach mimicking the chaos of how the brain works in real life, where each action would grow 3 skills, and statistically one of them might match something you learned previously. This approach was unpopular because it was too chaotic, and a little outdated with the capability of smarter LLMs. The new skill system outputs only 1 skill per action. The LLM is fed the entire list of skills in the universe and told to pick a closest matching one or generate a new one if none match (up to a maximum of 100).

Additionally, whereas previously the conversation skills were hardcoded, they are now AI-determined, which means you can have different skills in different contexts. For example, asking for information in a black market may use the skill Streetwise.

[h2]Better combat biasing[/h2]
Improved “power” string mechanic, which previously was only included in some actions and wasn’t influential enough. It is also moddable now. This message indicates the balance of power based on your level difference when in combat with an enemy. There are 5 variants (much stronger, slightly stronger, equal, slightly weaker, much weaker). In particular, the new version makes instant defeats less likely when fighting an enemy close to your level.

As a result of these changes, enemy plot armor was also removed, because it was interfering with story coherence in some cases.

[h2]Better item descriptions for looted, foraged, harvested, crafted, and storage items[/h2]
All of these items are now generated with name and description in one go, and also get the context of their parent object or place description. Please note: mods which edited these prompt files may stop working. To fix this, remove the affected prompts from the modded folder to force it to use the default prompt.

[h2]Better and more flexible NPC context[/h2]
Added NPC descriptions to the prompt, which largely fixes the inconsistent gender issue. As well, now NPCs mentioned in the story get that story turn added to their interaction history (as opposed to only the target of an interaction).

Added a checkbox for whether to disable NPC description auto-update. If disabled, it uses the old mechanism of having a separate “history summary”. The reason I leave it enabled by default is often as you get to know a character, their original description becomes outdated and needs to be re-summarized.

[h2]Added button for respawning enemies[/h2]
Respawning enemies is now player-controlled via a button instead of automatic. Also rewrote the prompt for spawning enemies to include both name and description for better coherence.

[h2]Better control/modding support of “full prompt string”[/h2]
Under chatgpt-prompts, there is a new file called full_prompt_str.txt which specifies how your story context is built (the part of the prompt preceding your action sent to the story generator). Editing this file influences all prompts which use ${FULL_PROMPT_STR}. Please note the lack of newlines is intentional, to account for the case where the string doesn’t exist (if it does exist, the newlines will be inserted by the game).

[h2]Added the following cheat codes:[/h2]
npc [name]: Spawn an npc with the given name
ene [name]: Spawn an enemy with the given name
thing [name]: Spawn a thing with the given name

[h2]Improved “minor failure” from conversation (no more Sheepishly)[/h2]
Instead of making you “sheepishly” say the thing, a minor failure in conversation now suggests to the AI that the character’s reaction may not be entirely what you intended. Thus minor failures are now enabled by default.

[h2]Better mood debuff mechanic[/h2]
Added a field called chatgpt_zero_status_str which inserts itself into the prompt when the survival bars reach 0. Mods can use it. This is less annoying than having a random % chance to trigger a low-mood story overriding your action.

[h2]Configurable basic action roll check minimum[/h2]
Changed "disable critical failures" option to a slightly more flexible one where you can specify the minimum roll of talking or using a consumable on yourself. Options are critical failure, minor failure, or minor success; default is minor failure.

[h2]Farming check[/h2]
Added an AI check for farming. The farm UI is now only available for places that could conceivably be used for harvesting/processing.

[h2]Misc[/h2]
  • Tweaked a large number of prompts (event checks and otherwise) to improve accuracy. Some mods may be outdated. The easiest way to see which prompts were modified is to go into the relevant "default" folder and sort by Date descending. Most (not all) touched files have been modified; some may have been modified but reverted.
  • Started limiting token length for some texts other than just full prompt string, with generous limits that won't affect the vast majority of users. If you go over, a warning will be displayed in the story view, but the game will proceed normally.
  • Added learned name to the list of event checks that can be player-confirmable.
  • Increased description length and greatly reduced chance of ambiguous gender of generated NPCs.
  • Added creative mode option to name the location/region you’re going into.
  • Added AI-determined vendor/merchant logic.
  • Added logic using AI to determine whether a character went with you if you changed locations.
  • Separated defeated vs dead entities to avoid situation where horde of zombies is defeated if one zombie is killed.
  • Fixed bug where initial images were being generated twice in a row.
  • Improved responsiveness of the console.
  • Fixed bugs in NSFW fallback in cloud text gen services. Please report issues if you run into any more.
  • Equipment slot check now includes item description.
  • Fixed a couple bugs related to mention of a new location.
  • Fixed “(blocked)” or “(locked)” issue with place names/descriptions.
  • Fixed bug in map UI where a stale location image would be displayed in location details.
  • Fixed bug in map UI where location description wasn’t scrollable all the way to the bottom.
  • Added a bracketed note when NPC dies even if it was dead according to event checks (in case it was ambiguous in the story). The case where it was dead according to event checks is already covered by the extra turn implemented in the previous update.
  • Fixed bug where enemy sometimes didn’t get a turn in combat.
  • Prevented new location from triggering if it matches existing thing name.
  • Slightly increased image gen prefix text box size.
  • Fixed bug when pressing Undo after marking a task as complete.
  • AI decision icons should now remain clickable if an error occurred during processing.
  • Regions are now highlighted if matching the filter string in map search.

Improved Coherence and Control, Part 1

[h2]Improved Coherence[/h2]
  • Upgraded all cloud services (Free, Silver, and Sapphire) to better models.
  • Many entity descriptions are now also taking the recent story text into account, which solves most cases of entity descriptions not matching the story.
  • If an NPC or enemy died via injuries instead of story-detected death, a system turn will be triggered to describe their death, so that the AI can understand they're dead.
  • Place descriptions will be automatically updated if they were mentioned again in the story.
  • NPC descriptions will be automatically updated based on their interaction history (can be disabled by disabling interaction history in Options).
  • Entering a location now causes all entities to be generated with their description (as opposed to generating the description later). This reduces the chance for entity descriptions to be out of place for the world.
  • When you enter a new place via a story turn, the story turn will be taken into account when generating the location’s entities.
  • Improved location change event check accuracy by including original location in prompt.


[h2]Improved Player Control[/h2]
  • Multiple event checks are now player-configurable in terms of whether they require confirmation via a button press. These now include combat, task completion, task obsoletion, new item, new character, new follower, and new location.
  • Quest V4 tasks can now be viewed and edited, both from the new game view as well as in-game via Essence of Transformation or Creative Mode.
  • Starting quest tasks can also be saved in world presets to share with others.


[h2]Misc[/h2]
  • Fixed annoying issue where story turn illustration sometimes wouldn’t go away even after mouse stopped hovering over it.
  • Fixed bug where “computer room” ambience wouldn’t play.
  • For autogen world preset, the last typed in text is remembered so you can easily retry your generations.
  • Fixed writing style not showing up in prompt for Kobold API users.
  • Fixed bug when pressing Undo while unblocking a blocking thing.
  • Added prompt text to help AI coherence when unblocking a blocking thing.
  • Fixed issue experienced by a small portion of local image gen users, where images wouldn’t show up in the game.

Quests Overhaul (V4)

[h2]Quests V4[/h2]

Hard to believe we’ve already been through 3 iterations of quest systems. V1 was just a single task you could perform at a single location. V2 and V3 were multi-stage and a bit more immersive, but still designed for an “older” era (just 1-2 years ago) when LLMs weren’t nearly as powerful. Quests V4 is the next logical step to take this game to the next level of immersion, and utilizes the capabilities of modern LLMs for storytelling much more effectively than before.

When you start a new quest, an entire plot line is now generated using your world background and story so far. As you complete the tasks, you reveal more of the plot.

The plot is not set in stone. At any time, if you express interest to take a different path, or if the AI thinks a task became impossible (e.g. an essential NPC died), the remaining tasks will be regenerated.

The last task of each quest segment contains a choice, where each choice leads to a different ending.

At every turn, if you are tracking a quest, an event check is included to see if you progressed along the current task. Possible outcomes are: No change, instant completion, partial completion, or task became obsolete (due to player picking a different strategy, or task becoming impossible).

At each stage when you complete a task, an extra story turn may be generated which reveals more of the plot line and introduces you to the next task.

Any action you take has the potential to progress your current task, but if you feel stuck or uncreative, just click the orange button which will generate 3 options somewhat relevant to your current task.

Finishing a quest will create a persistent world status effect that lasts for a configurable number of turns (defaulting to 10).

Quests V4 applies only to new saves. Older saves can continue questing on the Quests V3 system.

A number of issues were uncovered in the Beta and since fixed, and the feature is now being rolled out to the Default build. The fixes include:

  • Fixed story turns being broken
  • Fixed tooltip text going off screen
  • Changed format of task generation to reduce chance of error when using smaller models
  • Increased token limit for local API options to reduce chance of error when generating quest tasks
  • Tweaked prompt for story result from task result, reducing chance of a disconnect between finishing one task and starting the next one

Please report any remaining issues in the Discord or Steam discussions.

[h2]Event Checks UI Overhaul[/h2]

Event check messages have been converted to icons, which reduces clutter in the text view. Mousing over the icons provides more info about the triggered event check. Additionally, some event checks are now player-controlled and require you to click on them to confirm them, which helps mitigate false positives.

[h2]Story turns minor overhaul[/h2]

The logical representation of the text view has been improved, so now editing a story turn can finally cause it to be reflected in the text.

[h2]Misc[/h2]
  • Generic exception message now includes a link to Player.log (finally) which you should include in any bug reports
  • Removed deprecated “local” option. You may of course still play locally using one of the supported local text gen options (kobold or oobabooga).

Improved New Game UI

[h2]New Game Overhaul[/h2]

[h3]Starting Item[/h3]

Players now get 1 starting item at the start of the game.

[h3]More Customization[/h3]

Improved customization for new games. You can now optionally pre-generate the initial locations, starting quest, inate abilities, starting item, and passive skills. You can re-roll these generations individually as many times as you want. You can also manually edit the fields, although editing the starting item or innate abilities is restricted to creative mode due to being OP.

Moddable world presets can also include these new fields. Sometimes you might choose to predefine some of the options for a preset, such as some ability names or a starting quest you find interesting. However, in many cases, you may want to leave these fields empty, which indicates that they should be AI-generated at the start of each new game (to increase variance and replayability).

[h3]Easy exporting of world presets[/h3]

Moddable world presets have been updated to a more future-proof format, though the game should still support old versions. You can also export your current preset as a new json file, which provides a much easier way to create customized presets to share with others.

[h3]Improved location generation[/h3]

In the case of pre-generating initial locations, you can optionally provide additional instructions to the AI. This can greatly influence how it generates the locations. A demonstration of this is included in the pre-bundled preset “UC Berkeley” which replaces “College”. In this case, I instructed the AI to generate real-life locations, and it did so successfully (including Top Dog, La Burrita, Cheeseboard, Sproul Plaza, and various other restaurants and campus locations).

[h3]Visual Improvements[/h3]

Updated fonts to be consistent and made the Auto-Generate button more prominent to encourage its use.

[h2]ComfyUI Custom Workflows[/h2]

Logic for how the game uses ComfyUI has been expanded to allow custom workflows. Instructions in the readme file inside the model-params directory.

Image gen issue mitigation

Wombo image gen was down for several hours. The image gen was broken in an unconventional way, where it would allow you to download a PNG file, but the PNG file would be corrupted. This update prevents that kind of issue from breaking game logic, so you can still at least play the game without getting error messages. It also lets the game automatically delete corrupted PNG files so that they may be generated if you reload that save.

At almost the exact time I pushed this update, Wombo was fixed again, so there should be no change in behavior for those reading this.

Note that if this happens in the future, Stable Horde is a good fallback for free image generation. Their response times seem to have greatly improved from how it was several months ago.