Reputation Script <3

Reputation System for AI Dungeon A scenario-independent reputation script. Your actions change how groups and NPCs see your character, and the AI is quietly told about it, so the world reacts. Features Three dimensions per group: trust, respect and fear Tiers from hostile to devoted, with perks and penalties sent to the AI Hidden deeds that can be exposed later Individual NPC reputations from Character story cards Grudges, streaks, repeat falloff and traits Six scenario packs: generic, secnav, fantasy, crime, corporate, scifi In-game commands, presets and a setup block Installation Open your scenario and go to Scripts. Copy sharedLibrary.js into Library, input.js into Input, context.js into Context and output.js into Output. Edit the setup block at the top of sharedLibrary.js. Play. On the first action the script creates all story cards starting with "RE ". Setup block At the top of sharedLibrary.js: pack: generic, secnav, fantasy, crime, corporate or scifi playerName: how the AI refers to your character (empty = pack default) playerCard: story card titles to ignore as NPCs (empty = pack default) preset: easy, normal, hard or realistic commands: false disables /rep and /npc for players messages: false hides all reputation messages config: any setting from the config cards, for example { MaxPerks: 3 } cards: your own texts instead of the pack texts (each under 1000 characters) Values apply to new adventures started from the scenario. Commands /rep shows all reputation /rep <group> shows details /rep set <group> <0-100> sets a value /rep reset, /rep log, /rep perks, /rep traits /rep history, /rep report, /rep secrets, /rep expose /rep preset <easy|normal|hard|realistic> /rep pack <name> confirm loads a scenario pack /rep on and /rep off /npc, /npc <name>, /npc add <name> | <group>, /npc remove <name> /rephelp Story cards RE Config (3 cards): all settings, explained in the Notes field RE Groups: groups with weight, start values and hint words RE Reputation Status: live values, editable RE Rules (4 cards) and RE Mods: keyword rules, links and modifiers RE Perks (6 cards): effects sent to the AI Extra cards whose title starts with "RE Rules", "RE Mods" or "RE Perks" are read automatically. Deleting a config card resets it. Notes Story card entries are limited to 1000 characters, so defaults are split across several cards. Keyword matching is English. For other languages, write the rules in that language. Tested only against a local simulation of the AI Dungeon scripting API.

Cover art for Reputation Script <3 on AI Dungeon