forked from mio/scripts
1
0
Fork 0
scripts/thirdparty/our/giraffe
mio 961d89d11b Add giraffe script, deprecate old scripts 2023-09-04 02:40:47 +00:00
..
giraffe.json Add giraffe script, deprecate old scripts 2023-09-04 02:40:47 +00:00
giraffe.nim Add giraffe script, deprecate old scripts 2023-09-04 02:40:47 +00:00
giraffeData.json Add giraffe script, deprecate old scripts 2023-09-04 02:40:47 +00:00
readme.md Add giraffe script, deprecate old scripts 2023-09-04 02:40:47 +00:00

readme.md

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.