diff --git a/examples/stats.js b/examples/stats.js new file mode 100644 index 0000000..df18b06 --- /dev/null +++ b/examples/stats.js @@ -0,0 +1,11 @@ +//input modifiers to set up stats + +// creates stats to open up the stats overlay +const modifier = (text) => { + state.stats = {stats:{strength:{level: 4, cost:2}, agility:{level: 1, cost:5},}, statPoints:50} + return ({text}) + } + + // Don't modify this part + modifier(text) + \ No newline at end of file