art-from-the-machine / Mantella

Mantella is a Skyrim and Fallout 4 mod which allows you to naturally speak to NPCs using Whisper (speech-to-text), LLMs (text generation), and xVASynth / XTTS (text-to-speech).
https://art-from-the-machine.github.io/Mantella/
GNU Affero General Public License v3.0
173 stars 43 forks source link

Feature request: adding, updating and removing self-assigned Quests through behaviours. #306

Open DaymareOn opened 3 months ago

DaymareOn commented 3 months ago

Some links first: https://wiki.beyondskyrim.org/wiki/Arcane_University:Dynamic_Book_Entries https://ck.uesp.net/wiki/Text_Replacement

The idea is to create into a .esp a pool of quests, which will be populated by Mantella. Initially, these quests are empty and not started. That pool of quests would be reusable, and the max number of simultaneous quests is determined by the total number of quests in the esp.

Usually, the texts of quests are set in the esp and can't be edited. But in fact, you can replace the texts in most things through scripts with the 2nd link (Text Replacement). For quests, this text replacement technique must be implemented with the Dynamic book entries technique linked above.

So, the llms could set a summarized text for the quest, through an event quest to the pantella papyrus script, which would set the text into the quest and activate it. 3 events would be necessary: one to create a quest, one to modify it, and one to close it.

I'm not sure right now how we could recognize which previously created quest has been modified or finished. Maybe a good phrasing input would allow this... Maybe by tagging each quest with a different keyword given by the player?

I'm available to think about it / design it 🙂

About the gameplay: I sometimes negociate a quest in Mantella with my followers, which concludes by something like that: "Ok, so now let's go look for this Ambrella person in Elsweyr, and convince her to help us. Let's make it a quest!" As it's in the summarized memories, they can sometimes remember which quests we have set. But it's limited by memories. So, putting this in the skyrim quests would be very nice, as it would allow us to create / roleplay our own quests.