five-on-it / apps/tools/src/recipe / createRecipeScene
Function: createRecipeScene()
createRecipeScene(
recipe,kits):LevelScene
Defined in: apps/tools/src/recipe.ts:95
Builds a recipe as a headless scene: the ground, the roads, spawns, strips and dummies through the port, the kits installed under _kits and one instance per placement (a kit piece or a block) under the group of its kind, mirrored into the editor's frame.
Parameters
recipe
dummies
object[] = ...
groundHalfSize
number = ...
kits
string[] = ...
nailStrips
object[] = ...
name
string = ...
placements
object[] = ...
roads
object[] = ...
spawns
object[] = ...
kits
readonly Kit[]