drop uncut gem stuff

This commit is contained in:
kvan7
2025-09-30 21:33:55 -05:00
parent 0fa2323ecd
commit 6533f8cb81

View File

@@ -377,14 +377,8 @@ function pickCorrectVariant(item: ParserState) {
function parseNamePlate(section: string[]) {
let line = section.shift();
let uncutSkillGem = false;
if (!line?.startsWith(_$.ITEM_CLASS)) {
// FIXME: Uncut skill gems (remove)
if (line && section.unshift(line) && isUncutSkillGem(section)) {
uncutSkillGem = true;
} else {
return err("item.parse_error");
}
return err("item.parse_error");
}
line = section.shift();
@@ -444,9 +438,6 @@ function parseNamePlate(section: string[]) {
item.rarity = ItemRarity.Unique;
break;
}
if (uncutSkillGem) {
item.category = ItemCategory.UncutGem;
}
return ok(item);
}