Fluid handler
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
// bworld:juiceable, its own juice, and mods can add more like any recipe, as files or from their shared scripts.
|
||||
// whatever makes juice reads them, like the juicer. with create installed, each is also a create:compacting recipe,
|
||||
// so its press can make juice in a basin
|
||||
import type { FluidVariant, SharedContext, TagApi } from "bworld/shared";
|
||||
import type { FluidStack, SharedContext, TagApi } from "bworld/shared";
|
||||
import type { JuiceableParams } from "./shared.ts";
|
||||
|
||||
export const JUICING = "bworld:juicing";
|
||||
@@ -14,7 +14,7 @@ export interface JuicingRecipe {
|
||||
// the items it presses
|
||||
input: string[];
|
||||
// what one of them makes
|
||||
juice: { fluid: FluidVariant; amount: number };
|
||||
juice: FluidStack;
|
||||
}
|
||||
|
||||
// a recipe for every juiceable item, pressing one into the juice named after it, as much as its component says
|
||||
|
||||
Reference in New Issue
Block a user