Move farmers delight to bworld

This commit is contained in:
2026-11-01 00:49:05 -03:00
parent 4a713a85d1
commit 61693d611a
161 changed files with 403 additions and 466 deletions
+5 -5
View File
@@ -136,12 +136,12 @@ Deno.test("/give suggests item ids as they're typed", async () => {
const ids = (text: string) => suggest(text).suggestions.map((s: { text: string }) => s.text);
assertEquals(ids("/give ").length, 100);
assert(ids("/give bworld:sto").includes("bworld:stone"));
assert(ids("/give farmersdelight:cab").includes("farmersdelight:cabbage"));
assert(ids("/give bworld:cab").includes("bworld:cabbage"));
assert(!ids("/give bworld:a").includes("bworld:air"));
assertEquals(suggest("/give farmersdelight:tom").suggestions.map((s: { text: string }) => s.text), [
"farmersdelight:tomato",
"farmersdelight:tomato_sauce",
"farmersdelight:tomato_seeds",
assertEquals(suggest("/give bworld:tom").suggestions.map((s: { text: string }) => s.text), [
"bworld:tomato",
"bworld:tomato_sauce",
"bworld:tomato_seeds",
]);
assertEquals(suggest("/gi").suggestions, [{ text: "give" }]);