Skip to content

Commit

Permalink
feat: added RailJack turrets
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayerOrnstein committed Oct 20, 2024
1 parent 5edca7a commit a7178fc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/parser.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,7 @@ class Parser {
} else if (item.slot === 5) item.category = 'Melee';
else if (item.slot === 0) item.category = 'Secondary';
else if (item.slot === 1) item.category = 'Primary';
else if (item.slot === 14) item.category = 'Railjack';
else if (item.type === 'Pets') item.category = 'Pets';
else item.category = 'Misc';
item.isArchwing = undefined;
Expand Down
2 changes: 2 additions & 0 deletions build/scraper.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ class Scraper {
const data = raw ? raw[`Export${category}`] : undefined;
bar.tick();

if (category === 'Weapons') data.push(...raw.ExportWeapons, ...raw.ExportRailjackWeapons);

if (category === 'Upgrades') {
const modSets = raw.ExportModSet.map((modSet) => ({
...modSet,
Expand Down
5 changes: 5 additions & 0 deletions config/itemTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,11 @@
"id": "BeastWeapons/Stances",
"name": "Posture Mod"
},
{
"id": "Weapons/CrewShip",
"regex": true,
"name": "Railjack Turret"
},
{
"id": "Weapon",
"regex": true,
Expand Down

0 comments on commit a7178fc

Please sign in to comment.