Introduction:
[b]A mod designed to reduce prompt content by simplifying descriptions of apparel, buildings, and weapons sent to the AI.[/b]
[hr]
Features:
[list]
[*] For apparel, buildings, and weapons, their materials, quality, and durability can be filtered out and not sent to the AI.
[b](Note: The above function cannot filter out job-type text, such as "meditating at steel sculpture". If needed, you can use the experimental feature below, though I suggest using this mod's other feature "Prompt Replacement" instead.)[/b]
[*] For users with mods that color-code item qualities, this mod can strip the color codes from the text sent to the AI.
[*] These features reduce token consumption and prevent these technical tags from distracting the AI.
[*] Experimental Feature: Can basically filter out all material-type text, but may have performance costs. You can enable this in the mod settings.
[/list]
[hr]
Mechanism:
[list]
[*] When RimTalk prepares to generate content for the AI, this mod detects the item codes. It replaces them with the raw item code (text containing no prefixes or stats), effectively showing the AI text stripped of any extra tags.
[*] The color code part is a simple detection and deletion process.
[*] Experimental Feature: Upon game load, it detects all material-type tags, builds a text library, and filters out all matching text found within it.
[/list]
[hr]
Settings:
[list]
[*] You can freely toggle which of these items are sent to the AI in the mod settings interface.
[*] A special feature: For apparel with durability below 50% (which causes a negative mood buff for pawns), it specifically adds a "(Tattered)" tag to these clothes for the AI.
[/list]
[hr]
Others:
This mod is still in the testing phase and was created with AI assistance.
This mod is mainly for my own use, but I thought it might help others, so I'm releasing it.
I lack experience and the mod is rough, please forgive me.
[hr]
Update Log:
[b](1.26)[/b]
[list]
[*] No extra changes, adapted for RimTalk's advanced mode.
[/list]
[b](1.13)[/b]
[list]
[*] Facing another RimTalk update flare (crying). RimTalk itself updated with an item durability filter. Since the two do not conflict, I have not removed this feature from my mod.
[/list]
[b](1.6)[/b]
[list]
[*] Slight optimization; fixed a potential issue with misjudging the number of buildings.
[*] Added a "Prompt Replacement" feature. It functions similarly to the Memory Expansion mod, but since that one wasn't working well, I wrote my own. If there are any issues, I will remove this feature immediately.
[/list]
[b](12.28)[/b]
[list]
[*] Added a material exemption feature. For example, if you want pawns to recognize an item is made of Gold, add it to the list and it won't be filtered.
[*] Discovered that job text (e.g., meditating at steel sculpture) couldn't be filtered, so I added the experimental feature described above.
[/list]
(All texts have been translated by AI—apologies for any errors!)