Files
sendou.ink/scripts
William Lam 02516e26bd Add script that generates a CSV containing basic attribute information on each Main Weapon (#1148)
* Added a script that generates a CSV containing basic attribute information on each Main Weapon

* Improved some names & console info

* More comments

* Renamed file & fixed Prettier error

* Shortened the default string a weapon attribute if it doesn't exist
2022-11-22 17:48:43 +02:00
..
2022-07-23 01:40:21 +03:00
2022-11-13 14:41:13 +02:00
2022-09-03 18:14:53 +03:00
2022-10-03 21:01:25 +03:00
2022-11-03 22:10:24 +02: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)