diff --git a/src/components/Projects/CreateProject/Files/RP/Splashes.ts b/src/components/Projects/CreateProject/Files/RP/Splashes.ts new file mode 100644 index 000000000..80851bd02 --- /dev/null +++ b/src/components/Projects/CreateProject/Files/RP/Splashes.ts @@ -0,0 +1,20 @@ +import { ICreateProjectOptions } from "../../CreateProject"; +import { CreateFile } from "../CreateFile"; +import { FileSystem } from "/@/components/FileSystem/FileSystem"; + + + +export class CreateSplashes extends CreateFile { + public readonly id = 'splashes' + + async create(fs: FileSystem, projectOptions: ICreateProjectOptions) { + await fs.writeJSON( + `RP/splashes.json`, + { + canMerge: false, + splashes: [] + }, + true + ) + } +} \ No newline at end of file diff --git a/src/components/Projects/CreateProject/Packs/RP.ts b/src/components/Projects/CreateProject/Packs/RP.ts index a1d7f6fdb..5c68a7973 100644 --- a/src/components/Projects/CreateProject/Packs/RP.ts +++ b/src/components/Projects/CreateProject/Packs/RP.ts @@ -9,6 +9,7 @@ import { CreateFlipbookTextures } from '../Files/RP/FlipbookTextures' import { CreateBiomesClient } from '../Files/RP/BiomesClient' import { CreateSounds } from '../Files/RP/Sounds' import { CreateSoundDefintions } from '../Files/RP/SoundDefinitions' +import { CreateSplashes } from '../Files/RP/Splashes' export class CreateRP extends CreatePack { protected readonly packPath = 'RP' @@ -23,5 +24,6 @@ export class CreateRP extends CreatePack { new CreateBiomesClient(), new CreateSounds(), new CreateSoundDefintions(), + new CreateSplashes() ] }