Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions models/extract-and-assemble.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export async function extractAndAssemble(path) {
const itemIdIndex = 0;
const nameIndex = 1;
const itemTypeIndex = 2;
const armorAppearanceMIndex = 41;
const armorAppearanceFIndex = 42;
const armorAppearanceMIndex = 42;
const armorAppearanceFIndex = 43;

for (let line of lines) {
const cells = line.split(';');
Expand All @@ -42,14 +42,14 @@ export async function extractAndAssemble(path) {
const lines = data.split('\n');

const itemIdIndex = 0;
const skin1Index = 27;
const material1Index = 28;
const isSkin1Index = 29;
const mask1Index = 30;
const skin2Index = 31;
const material2Index = 32;
const isSkin2Index = 33;
const mask2Index = 34;
const skin1Index = 28;
const material1Index = 29;
const isSkin1Index = 30;
const mask1Index = 31;
const skin2Index = 32;
const material2Index = 33;
const isSkin2Index = 34;
const mask2Index = 35;

for (let line of lines) {
const cells = line.split(';');
Expand Down