This repository has been archived on 2025-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
AIDScripting/examples/evaluationBots.js
2021-05-06 08:13:50 -06:00

35 lines
No EOL
809 B
JavaScript

// Checkout the repo examples to get an idea of other ways you can use scripting
// https://github.com/latitudegames/Scripting/blob/master/examples
//CONTEXT MODIFIER
const modifier = (text) => {
state.evaluationBot = 'JudgeBot'
return { text }
}
// Don't modify this part
modifier(text)
// OUTPUT MODIFIER
const modifier = (text) => {
console.log(info)
return { text }
}
// Don't modify this part
modifier(text)
/*
AVAILABLE BOTS
['KillBot', 'JudgeBot', 'EmpathyBot', 'SuccessBot', 'SantaBot'] -> Score
['GoblinBot'] -> Goblins killed, health lost, loot gained
['KittenBot'] -> Rapport gained, hunger
['SpaceLootBot'] -> Loot
['DCStatDifficultyBot'] -> Stat, Difficulty
['HungerBot'] -> Fullness
['SimplePossiblityBot'] -> PossibleAction1, PossibleAction2
*/