five-on-it / apps/tools/src/recipe / exportRecipe
Function: exportRecipe()
exportRecipe(
recipe,kits):Promise<LevelExport>
Defined in: apps/tools/src/recipe.ts:124
A recipe's level, in memory: the scene level:recipe would write, serialized and read back the way level:export reads a scene folder, then exported. The level is the one the two commands would give, without an editor project on disk.
Parameters
recipe
dummies
object[] = ...
groundHalfSize
number = ...
kits
string[] = ...
nailStrips
object[] = ...
name
string = ...
placements
object[] = ...
roads
object[] = ...
spawns
object[] = ...
kits
readonly Kit[]
Returns
Promise<LevelExport>