Move farmers delight to bworld
This commit is contained in:
+2
-2
@@ -631,12 +631,12 @@ const engine_recipes = new Map<string, z.ZodType>([
|
||||
["smithing", smithing_recipe],
|
||||
]);
|
||||
|
||||
// a mod's own types, like "farmersdelight:cooking" for its cooking pot, are only stored by the engine. the mod's server
|
||||
// a mod's own types, like "bworld:cooking" for its cooking pot, are only stored by the engine. the mod's server
|
||||
// script reads them with ctx.recipes.list and checks them
|
||||
const recipe_schema = by_kind(
|
||||
"type",
|
||||
(type) => engine_recipes.get(type) ?? (ID_PATTERN.test(type) ? json_object : undefined),
|
||||
'must be "shaped", "furnace", "fuel", "smithing" or a mod\'s own type like "farmersdelight:cooking"',
|
||||
'must be "shaped", "furnace", "fuel", "smithing" or a mod\'s own type like "bworld:cooking"',
|
||||
);
|
||||
|
||||
// a recipe type a mod made up, as opposed to the engine's shaped, furnace, fuel and smithing
|
||||
|
||||
Reference in New Issue
Block a user