forked from mio/scripts
24 lines
563 B
Markdown
24 lines
563 B
Markdown
# giraffe
|
|
|
|
A minigame for the our bot based on dozens' [giraffe] TTRPG.
|
|
|
|
|
|
## Install
|
|
|
|
```
|
|
# Build executable
|
|
nim c -d:release giraffe.nim
|
|
|
|
# Copy executable to the our bot scripts directory
|
|
cp giraffe /town/our/
|
|
|
|
# Copy *.json files to the our bot data directory
|
|
cp *.json /town/our/data/
|
|
chmod 666 /town/our/data/giraffe.json
|
|
```
|
|
|
|
If running outside of our bot, set `env.our.on` to `false` in giraffe.nim before building the executable. The `.json` files should be in the same directory as the giraffe executable.
|
|
|
|
|
|
[giraffe]: https://tilde.town/~dozens/giraffe
|