/AIDscripts

JS scripts for AI Dungeon (play.aidungeon.io)

Primary LanguageJavaScript

AIDscripts

Scripts for AI Dungeon (play.aidungeon.io)

All JS scenario script zips should import as-is on AID. Python scripts require Python 3.

JS scenario scripts:

Encounters: Dynamic game event framework, with plenty functionality. See the wiki for more info.

RPGmech: No giant robots, but RPG mechanics in AID, using InputDCattributeBot and the skill/stat menus. Has example of piping placeholders into skills as well. Now with plenty more docstrings.

PlaceholderGrab: Grab encapsulated placeholders for scripting.

RandomNamesReplacer: Replaces a list of names with completely randomly generated words (with some rudimentary morphology).

TemmieSpeak: Turns normal player inputs into tEMmiE speK, bUt Yo Cn gO COlEg t fiX i.

EditorsNote: (HACKY!) Changes 'Author's Note:' to 'Editor's Note:', in a bruteforce way.

FixQuotes: Fixes missing/trailing quotes.

FormChangeMaintain: Commands to set a context note that tells Ai which form you are in. Lotsa QoL.

UwUfier: Don't ask.

Python utility scripts:

tokenStuff: Convenviently checks how texts encode/decode, with some utility to easily share the results

License blurb

Currently published under MIT license:

Copyright <2021> <J.K.P. Jordan>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.