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-weapon-json.ts create-weapon-json.ts script initial 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 create-weapon-json.ts script initial 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

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

  1. Move .json files matching wanted languages from https://github.com/Leanny/leanny.github.io/tree/master/splat3/data/language to /scripts/dicts/langs
  2. Move WeaponInfoMain.json from https://github.com/Leanny/leanny.github.io/blob/master/splat3/data/mush/099/WeaponInfoMain.json to /scripts/dicts