API Reference / mergePacks · function
Function: mergePacks()
function mergePacks(base, loaded): EngineData;
Place loaded packs into engine data over a base, without changing the base. A modern pack replaces the base's source for its body; an era slab is added beside whatever the base holds.
Parameters
| Parameter | Type |
|---|---|
base | EngineData |
loaded | readonly LoadedPack[] |