aboutsummaryrefslogtreecommitdiff
path: root/data/recipes/default.ts
diff options
context:
space:
mode:
Diffstat (limited to 'data/recipes/default.ts')
-rw-r--r--data/recipes/default.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/data/recipes/default.ts b/data/recipes/default.ts
index dd662081..db106e54 100644
--- a/data/recipes/default.ts
+++ b/data/recipes/default.ts
@@ -25,7 +25,8 @@ export interface Recipe {
action: "instant" | "passive" | "active" | "demand"
duration?: number
revert_duration?: number,
- warn?: boolean
+ warn?: boolean,
+ points?: number,
}
export const all_items = new Set<string>()
@@ -76,7 +77,7 @@ export function bake(from: string, to?: string) {
out({ action: "passive", duration: 15, revert_duration: 20, tile: "oven", inputs: [o], outputs: ["burned"], warn: true })
}
export function crate(item: string) {
- out({ action: "instant", tile: item + "-crate", inputs: [], outputs: [item], })
+ out({ action: "instant", tile: item + "-crate", inputs: [], outputs: [item], points: -1 })
}
export function get_container(ifull: string): [string, string | null] {