Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

i have a question, does the AI read the description of stats? cause a lot of game rules i have in my big world talk a lot about stats and i wanna know if i can save memory by putting that information in the stat tab instead

(+2)

I looked at the source code on Lion's github. The stats, their thresholds, and the description for the relevant stat threshold get sent when your prompt includes the <STATS DESCRIPTION> text. The game basically tokenizes each stat and includes it with the prompt with the description of its current threshold ("current" measured as "current value <= threshold value"). For example, if you define "Stamina" as a stat with thresholds at 33 (you are tired), 66 (you are winded), and 90 (you feel great), when the current game state thinks the player's "Stamina" is 70, the prompt will include the stat and the description from the "90" threshold as "Stamina: You feel great".

I don't think "rules" work in the stats descriptions or thresholds. If you want them to do something, you should probably put that as instructions in the System Prompt