Add cooking pot from farmer's delight !

This commit is contained in:
2026-09-27 01:08:50 -03:00
parent 52587aabf7
commit e4c9a2f7f4
43 changed files with 913 additions and 10 deletions
+5
View File
@@ -252,6 +252,8 @@ export interface ItemApi {
exists(id: Id): boolean;
// how many fit in one slot
max_stack(id: Id): number;
// the tool type it is, like "pickaxe" or "shovel", from the item's "tool"
tool(id: Id): string | undefined;
}
export interface RecipeApi {
@@ -261,6 +263,9 @@ export interface RecipeApi {
is_smeltable(item: Id): boolean;
// the smithing recipe for these items, whatever the material's count. addition is the optional third item
smithing(tool: Id, material: Id, addition?: Id): { result: Id; material_count: number } | undefined;
// every recipe of a mod's own type, like "farmersdelight:cooking", as its json. copies, in load order
// deno-lint-ignore no-explicit-any
list(type: Id): any[];
}
// guis