Merge branch 'feature/jewelry-bar-descriptions'
@@ -40,6 +40,17 @@ test("jewellery uses silver gold electrum by gem tier", () =>
40
40
assert.equal(jewelryMetalIdForGemTier(GemTier.jadeite), GatherMaterialId.electrum);
41
41
});
42
42
43
test("precious bars describe the jewelering station, not the anvil", () =>
44
{
45
for (const itemId of [MetalItemId.silverBar, MetalItemId.goldBar, MetalItemId.electrumBar])
46
{
47
const def = itemDefinition(itemId);
48
assert.match(def.description, /jewelering station/i);
49
assert.doesNotMatch(def.description, /anvil/i);
50
}
51
assert.match(itemDefinition(MetalItemId.ironBar).description, /anvil/i);
52
});
53
43
54
test("jewellery recipes take one bar one cut gem and yarn for amulets", () =>
44
55
{
45
56
const ring = recipeDefinition("ring-opal");
@@ -40,6 +40,17 @@ test("jewellery uses silver gold electrum by gem tier", () =>40
assert.equal(jewelryMetalIdForGemTier(GemTier.jadeite), GatherMaterialId.electrum);40
assert.equal(jewelryMetalIdForGemTier(GemTier.jadeite), GatherMaterialId.electrum);41
});41
});42
42
43
test("precious bars describe the jewelering station, not the anvil", () =>44
{45
for (const itemId of [MetalItemId.silverBar, MetalItemId.goldBar, MetalItemId.electrumBar])46
{47
const def = itemDefinition(itemId);48
assert.match(def.description, /jewelering station/i);49
assert.doesNotMatch(def.description, /anvil/i);50
}51
assert.match(itemDefinition(MetalItemId.ironBar).description, /anvil/i);52
});53
43
test("jewellery recipes take one bar one cut gem and yarn for amulets", () =>54
test("jewellery recipes take one bar one cut gem and yarn for amulets", () =>44
{55
{45
const ring = recipeDefinition("ring-opal");56
const ring = recipeDefinition("ring-opal");