feat(vagrant): v0.15.0 stone-age slice — saw_planks property-constraint recipe (log→4 planks, cutting tool); crafting output-alias for bw-compat icon resolvers
This commit is contained in:
3
init.lua
3
init.lua
@@ -313,6 +313,9 @@ function M.define_recipe(def)
|
|||||||
inputs = inputs,
|
inputs = inputs,
|
||||||
tools = tools,
|
tools = tools,
|
||||||
outputs = outputs,
|
outputs = outputs,
|
||||||
|
-- bw-compat alias: consumers (e.g. UI icon resolvers) that read
|
||||||
|
-- `recipe.output.template` keep working; points at the first output.
|
||||||
|
output = outputs[1],
|
||||||
name = def.name,
|
name = def.name,
|
||||||
description = def.description,
|
description = def.description,
|
||||||
is_known = is_known,
|
is_known = is_known,
|
||||||
|
|||||||
Reference in New Issue
Block a user