diff --git a/README.md b/README.md index 57e98c85b..db59a053d 100644 --- a/README.md +++ b/README.md @@ -110,3 +110,11 @@ Note: This is only useful if you have access to a production running on Render.c 1. Add image in both .png and .avif with the correct weapon ID (`replace-img-names.ts` can help) 2. Create new weapon ids json and weapon translation jsons using `create-weapon-json.ts` script + +### Add new gear gear + +0. If Salmon Run gear, update constant in create-gear-json.ts +1. `npm run create-gear-json` +2. Copy generated files from output folder to gear-ids.ts file +3. Get .png from Lean's repository +4. Generate .avif image diff --git a/app/modules/in-game-lists/gear-ids.ts b/app/modules/in-game-lists/gear-ids.ts index e665ef62d..b9af733df 100644 --- a/app/modules/in-game-lists/gear-ids.ts +++ b/app/modules/in-game-lists/gear-ids.ts @@ -3,9 +3,9 @@ export const headGearIds = [ 3003, 3008, 3009, 3011, 3012, 3016, 3021, 3022, 3023, 3024, 3025, 3026, 3027, 3029, 4004, 4006, 4008, 4015, 4016, 4017, 4019, 5000, 5001, 5004, 5007, 5008, 6001, 6003, 6004, 7007, 7012, 7013, 7014, 8005, 8008, 8011, 8014, 8015, 8016, - 9003, 9007, 9009, 21010, 21011, 25000, 25001, 25002, 25003, 25004, 25005, - 25006, 25007, 25008, 25009, 25010, 25016, 25017, 27000, 27004, 27109, 27306, - 28000, + 9003, 9007, 9009, 21010, 21011, 21015, 25000, 25001, 25002, 25003, 25004, + 25005, 25006, 25007, 25008, 25009, 25010, 25016, 25017, 27000, 27004, 27109, + 27306, 28000, ] as const; export const clothesGearIds = [ diff --git a/public/img/gear/head/21015.avif b/public/img/gear/head/21015.avif new file mode 100644 index 000000000..31938426c Binary files /dev/null and b/public/img/gear/head/21015.avif differ diff --git a/public/img/gear/head/21015.png b/public/img/gear/head/21015.png new file mode 100644 index 000000000..72b72613c Binary files /dev/null and b/public/img/gear/head/21015.png differ diff --git a/public/locales/de/gear.json b/public/locales/de/gear.json index d35da2194..0d3ff87c0 100644 --- a/public/locales/de/gear.json +++ b/public/locales/de/gear.json @@ -202,6 +202,7 @@ "C_10014": "Sudadera Celeste", "H_21010": "Schnapperkappe", "H_21011": "Opak-Visor", + "H_21015": "Genialotron", "H_25000": "Tintenfisch-Spange", "C_25000": "Schuluniform A", "S_25000": "Schuluniform-Schuhe", diff --git a/public/locales/en/gear.json b/public/locales/en/gear.json index cdf6f0897..987b2d8e0 100644 --- a/public/locales/en/gear.json +++ b/public/locales/en/gear.json @@ -202,6 +202,7 @@ "C_10014": "Sudadera Celeste", "H_21010": "Bream-Brim Cap", "H_21011": "Lo-Vis Visor", + "H_21015": "Brain Strainer", "H_25000": "Squid Hairclip", "C_25000": "School Uniform A", "S_25000": "School Shoes + Hi Socks", diff --git a/public/locales/es/gear.json b/public/locales/es/gear.json index b16e5af90..27817435c 100644 --- a/public/locales/es/gear.json +++ b/public/locales/es/gear.json @@ -202,6 +202,7 @@ "C_10014": "Sudadera de jerga celeste", "H_21010": "Gorra besugo dorado", "H_21011": "Visor opaco", + "H_21015": "Casco psicotrónico", "H_25000": "Horquilla calamar", "C_25000": "Uniforme escolar A", "S_25000": "Mocasín escolar", diff --git a/public/locales/fr/gear.json b/public/locales/fr/gear.json index 296864875..1605ad0a8 100644 --- a/public/locales/fr/gear.json +++ b/public/locales/fr/gear.json @@ -202,6 +202,7 @@ "C_10014": "Sweat ethnique azur", "H_21010": "Casquette dorade", "H_21011": "Lunettes opaques", + "H_21015": "Casque Eurêka", "H_25000": "Barrette seiche", "C_25000": "Uniforme scolaire A", "S_25000": "Mocassins scolaires d'hiver", diff --git a/public/locales/it/gear.json b/public/locales/it/gear.json index a66765eac..ba92bb5e2 100644 --- a/public/locales/it/gear.json +++ b/public/locales/it/gear.json @@ -202,6 +202,7 @@ "C_10014": "Maglia baja celeste", "H_21010": "Cappello pescoso", "H_21011": "Visore cieco", + "H_21015": "Eurekappello", "H_25000": "Fermaglio calamaro", "C_25000": "Uniforme scolastica A", "S_25000": "Mocassini neri (calze)", diff --git a/public/locales/ja/gear.json b/public/locales/ja/gear.json index a845a8e88..e2e7ea774 100644 --- a/public/locales/ja/gear.json +++ b/public/locales/ja/gear.json @@ -202,6 +202,7 @@ "C_10014": "バハフーディー セレステ", "H_21010": "イトヨリキャップ", "H_21011": "シカイバイザー", + "H_21015": "ヒラメキブレインメット", "H_25000": "イカパッチン", "C_25000": "スクールブレザーL", "S_25000": "スクールローファー ハイソ", diff --git a/public/locales/ko/gear.json b/public/locales/ko/gear.json index 935cef277..9d2c0360f 100644 --- a/public/locales/ko/gear.json +++ b/public/locales/ko/gear.json @@ -202,6 +202,7 @@ "C_10014": "블루 바하 후드", "H_21010": "실꼬리 캡", "H_21011": "시야 바이저", + "H_21015": "번뜩 브레인 헬멧", "H_25000": "오징어 머리핀", "C_25000": "스쿨 유니폼 L", "S_25000": "니 삭스 스쿨 로퍼", diff --git a/public/locales/nl/gear.json b/public/locales/nl/gear.json index be0636834..8513e0abf 100644 --- a/public/locales/nl/gear.json +++ b/public/locales/nl/gear.json @@ -202,6 +202,7 @@ "C_10014": "Blauwe wereldse hoody", "H_21010": "Snapperpet", "H_21011": "Slaapmasker", + "H_21015": "Whizzkidhelm", "H_25000": "Inktvishaarspeld", "C_25000": "Schooluniform A", "S_25000": "Schoolschoenen", diff --git a/public/locales/ru/gear.json b/public/locales/ru/gear.json index ddcb4ee78..d163415f7 100644 --- a/public/locales/ru/gear.json +++ b/public/locales/ru/gear.json @@ -202,6 +202,7 @@ "C_10014": "Лазурное этно-худи", "H_21010": "Кепка «Лещик»", "H_21011": "Визор «Ширма»", + "H_21015": "Мозготрон", "H_25000": "Заколка «Кальмарчик»", "C_25000": "Школьная форма А", "S_25000": "Школьные ботинки + чулки", diff --git a/public/locales/zh/gear.json b/public/locales/zh/gear.json index 185e8d8b0..4bb71172c 100644 --- a/public/locales/zh/gear.json +++ b/public/locales/zh/gear.json @@ -202,6 +202,7 @@ "C_10014": "巴哈连帽上衣 天蓝色", "H_21010": "金线鱼帽", "H_21011": "视野中空遮阳帽", + "H_21015": "灵光一闪安全帽", "H_25000": "鱿鱼发夹", "C_25000": "学校制服外套L", "S_25000": "学校乐福鞋 高级", diff --git a/scripts/create-gear-json.ts b/scripts/create-gear-json.ts index cea6cd707..cb5da9c70 100644 --- a/scripts/create-gear-json.ts +++ b/scripts/create-gear-json.ts @@ -17,7 +17,7 @@ const LEAN_HEAD_CODE = "Hed"; const LEAN_CLOTHES_CODE = "Clt"; const LEAN_SHOES_CODE = "Shs"; -const AVAILABLE_SR_GEAR = [21010, 21011]; +const AVAILABLE_SR_GEAR = [21010, 21011, 21015]; async function main() { const allGear: Array<{