Skip to content

five-on-it / apps/tools/src/recipe / portRecipe

Function: portRecipe() ​

portRecipe(recipe, kitsDir, projectDir, sceneName): Promise<string[]>

Defined in: apps/tools/src/recipe.ts:135

Writes a recipe as the scene sceneName of the editor project, its kits read from kitsDir; returns the files written.

Parameters ​

recipe ​

dummies ​

object[] = ...

groundHalfSize ​

number = ...

kits ​

string[] = ...

nailStrips ​

object[] = ...

name ​

string = ...

placements ​

object[] = ...

roads ​

object[] = ...

spawns ​

object[] = ...

kitsDir ​

string

projectDir ​

string

sceneName ​

string

Returns ​

Promise<string[]>