Add cooking pot from farmer's delight !
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user