invite the bot: https://discord.com/oauth2/authorize?client_id=961824443653574687&permissions=0&scope=bot
-
first time? clone this repo with
git clone https://github.com/OceanUwU/slaytabase --depth=1
(so that you don't download the entire commit history). otherwise justgit pull
-
download the latest version of my fork of modded spire exporter
-
launch ModTheSpire with BaseMod, my SpireExporter, and the mod(s) you'd like to add/update
-
in SpireExporter's mod config, disable "export vanilla items", and enable "export images"
-
create a directory called
gamedata
in this repo -
on a profile where no beta art is enabled, create an export and move the
export
directory it creates intogamedata
in this repo (delete/rename the oldexport
if there's already an existing one) -
if you want to add additional information that's not directly found in item descriptions you may add it to
extraItems.js
(there is a template at the bottom, copy and paste that) -
(requires node.js v16+) run
npm install
thennode alterExport.js
(this can take a while depending on how many files there are)- if the mod has a gigantic amount of art or if it has AI-generated art or it has art taken from external sources run the script with the
--no-images
flag i.e.node alterExport.js --no-images
. if youre not sure whether you should do this or not just ask me
- if the mod has a gigantic amount of art or if it has AI-generated art or it has art taken from external sources run the script with the
-
if you want your custom keywords to have emoji icons, add them to
emojis.js
-
if the mod contains a character or a custom card colour, add data about them to
characters.js
(the number is a hex code converted to decimal) -
make a pull request (make sure you aren't editing any of files of any other mods)
one of the following must be true:
- it's on the steam workshop
- you are the mod's author
- you have permission from the mod's author for it to be on slaytabase
also, all of the following must be true:
- the mod's author hasn't said something along the lines of "dont put my mod on there please"
- no extreme nsfw
npm ci
- install GraphicsMagick
- create
cfg.js
and paste the following in:export default {"token":"jsdakfhajksdfh", "exportURL": "https://slay.ocean.lol", websitePort: 8622, "overriders": ["106068236000329728"], "mkswtKey": null, "feedbackChannel": "???", "workshopReleasesChannel": null, "packDiscussions": null}
and settoken
as your discord bot token and setfeedbackChannel
as the channel ID of a channel where you want the bot to send feedback messages (can be a thread channel) npx sequelize-cli db:migrate
npm start