Move farmers delight to bworld
This commit is contained in:
+10
-10
@@ -65,21 +65,21 @@ Deno.test("the recipe viewer finds what makes and uses an item, in any recipe ty
|
||||
assertEquals(outputs(bowl), [{ ids: ["bworld:bowl"], count: 4 }]);
|
||||
|
||||
// the cooking pot's own type: ingredients, alternatives, and the bowl it's served in
|
||||
const [rolls] = making("farmersdelight:cabbage_rolls");
|
||||
const [rolls] = making("bworld:cabbage_rolls");
|
||||
assertEquals(category_name(rolls.type), "Cooking");
|
||||
assertEquals(ids(inputs(rolls)), [
|
||||
"farmersdelight:cabbage",
|
||||
"bworld:carrot|bworld:potato|farmersdelight:onion|farmersdelight:tomato",
|
||||
"bworld:cabbage",
|
||||
"bworld:carrot|bworld:potato|bworld:onion|bworld:tomato",
|
||||
]);
|
||||
const [rice] = making("farmersdelight:cooked_rice");
|
||||
assertEquals(ids(inputs(rice)), ["farmersdelight:rice", "bworld:bowl"]);
|
||||
const [rice] = making("bworld:cooked_rice");
|
||||
assertEquals(ids(inputs(rice)), ["bworld:rice", "bworld:bowl"]);
|
||||
|
||||
// uses: the bowl serves meals, coal is fuel and in the stove, potatoes are in cabbage rolls
|
||||
const served_in_bowls = using("bworld:bowl").map((r) => outputs(r)[0].ids[0]);
|
||||
assert(served_in_bowls.includes("farmersdelight:cooked_rice"));
|
||||
assert(served_in_bowls.includes("farmersdelight:tomato_sauce"));
|
||||
assert(served_in_bowls.includes("bworld:cooked_rice"));
|
||||
assert(served_in_bowls.includes("bworld:tomato_sauce"));
|
||||
assert(using("bworld:coal").some((r) => r.type === "fuel"));
|
||||
assert(using("bworld:coal").some((r) => r.type === "shaped" && outputs(r)[0].ids[0] === "farmersdelight:stove"));
|
||||
assert(using("bworld:coal").some((r) => r.type === "shaped" && outputs(r)[0].ids[0] === "bworld:stove"));
|
||||
assert(using("bworld:potato").includes(rolls));
|
||||
|
||||
// smelting and smithing
|
||||
@@ -96,8 +96,8 @@ Deno.test("recipes are found by category in jei's order, and a catalyst's uses a
|
||||
const titles = index.categories.map((category) => category.title);
|
||||
assertEquals(titles.slice(0, 4), ["Crafting", "Smelting", "Fuel", "Smithing"]);
|
||||
assert(titles.includes("Cooking"));
|
||||
assertEquals(index.categories.find((c) => c.type === "farmersdelight:cooking")?.catalysts, [
|
||||
"farmersdelight:cooking_pot",
|
||||
assertEquals(index.categories.find((c) => c.type === "bworld:cooking")?.catalysts, [
|
||||
"bworld:cooking_pot",
|
||||
]);
|
||||
|
||||
const furnace_uses = index.find(item("bworld:furnace"), "uses").map((
|
||||
|
||||
Reference in New Issue
Block a user