sendou.ink/scripts
2022-09-03 18:14:53 +03:00
..
dicts create-weapon-json.ts script initial 2022-09-03 18:14:53 +03:00
output create-weapon-json.ts script initial 2022-09-03 18:14:53 +03:00
add-badge.ts add-badge script 2022-07-23 01:40:21 +03:00
create-gear-json.ts replace-img-names script 2022-09-03 18:14:53 +03:00
create-weapon-json.ts replace-img-names script 2022-09-03 18:14:53 +03:00
delete-db-files.mjs User page initial with SQLite3 (#822) 2022-05-16 17:52:54 +03:00
README.md Gear ids and translations 2022-09-03 18:14:53 +03:00
replace-img-names.ts replace-img-names script 2022-09-03 18:14:53 +03:00
utils.ts Gear ids and translations 2022-09-03 18:14:53 +03:00

This folder has scripts that can be used run time for admin only actions or to prepare some data.

create-weapon-json.ts & create-gear-json.ts

Before using this script you need to copy some files from another repository.

  1. Copy all .json files from https://github.com/Leanny/leanny.github.io/tree/master/splat3/data/language to /scripts/dicts/langs
  2. Move WeaponInfoMain.json, GearInfoClothes.json, GearInfoShoes.json & GearInfoHead.json from https://github.com/Leanny/leanny.github.io/blob/master/splat3/data/mush/099 to /scripts/dicts

(note: the path is likely to change to .../mush/latest in future)