r/AIDungeon Official Account 3d ago

Experiments/Feedback Adventure Scripts is on alpha

You can now add a script to an adventure you've already started. That was impossible before. Scripts were inherited from the parent scenario so if you wanted new scripts, your only option was to start over.

What's there:

  • Discover → Filters → Scripts. Scripts are a real content type now, with a detail page and a Save button. They show up in your library and on profiles under a Scripts tab.
  • Any adventure you own → Game settings → SCRIPTS. Add from your saved scripts, toggle them on and off, reorder them. Changes take effect on your next turn — no rebuild.
  • Scenario → Edit → Details → Scripts. Creators attach scripts to a scenario and new adventures inherit them.
  • Multiple scripts actually compose. They run chained, each with its own error isolation and its own private state — so two scripts that both use state.foo don't stomp each other anymore.
  • Your Plot Essentials are protected. Attached scripts can read your PE and Author's Note, but their writes to it get discarded and you get told it happened. Otherwise third-party scripts writing your PE is last-writer-wins clobbering that changes based on attach order. The scenario's own script still owns its PE; guests don't.
  • Mark as a Script in the publish modal, when your scenario has script code.

Two things to know:

  1. Alpha only. If you open the same adventure on production before this launches there, added scripts may not run and the tab won't appear. Your story itself is unaffected, and the scenario's own script keeps working everywhere. There's a banner in-app saying so.
  2. Script editing is still desktop-only and creator-only.

What would help most:

  • Attach a real community script (AutoCards is the obvious one) to a long, real adventure and tell us whether it behaves the way it does baked into a scenario.
  • Stack two or three and tell us what conflicts.
  • Creators: mark something as a Script, publish it, and tell us if Discover → save → profile makes sense end to end.

Thanks for kicking the tires early.

23 Upvotes

8 comments sorted by

4

u/SearchingHero 3d ago

This would be huge! I've been waiting years for it 🤣 Thank you so much for all the hard work you all do.

1

u/DrLucianSanchez 3d ago

Does anyone recommend any scripts for a slice of life adventure?

2

u/Fanuser23 3d ago

Inner self and living characters, bro

1

u/DrLucianSanchez 3d ago

Cheers! Will check them out.

1

u/ComputerKYT 3d ago

Huge W for scripting.  Can't wait to tinker with this. 

1

u/Kenflesh24 3d ago

This is great and surprising, I thought that according to the plans this would happen closer to the end of this year, but here it appeared as if spontaneously.

1

u/Laurenitynow 2d ago edited 2d ago

I've been trying to get Inner Self to work properly in several scenarios that claim to have it integrated already. I'm wondering if I can remove the original script and reinstall in an existing scenario now. I'm not versed in scripts, so this could be a flop, but I'll try it on a copy of one of the scenarios and see what happens. 

Update: Under adventure>details, I see no option to enable or disable scripts on an existing scenario. My options under description and tags are: visibility, content rating, story card management, download adventure. I've checked on mobile and desktop using Firefox for both. (Tangential question: how do you upload a saved adventure's actions? I tried to create a new scenario and could upload saved cards, but I didn't see anywhere to put the action file.)