Method DeployBaseStoryModAsync
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
DeployBaseStoryModAsync()
Deploy base .ink files to Mods/GrindFest/Story/ (persistentDataPath). Uses hash-based detection to avoid overwriting player-modified files. In editor: copies from Assets/_GrindFest/Story/ directly (.ink files). In builds: copies from StreamingAssets/Story/ (.inkdata files, renamed to .ink). StoryBuildPreprocessor uses .inkdata extension to avoid Ink editor auto-compilation.
Asynchronous because on WebGL/Android the shipped files are fetched over HTTP; the boot awaits DeployBaseStoryModAsync() so the story folder is populated before the world generator looks.
public Task DeployBaseStoryModAsync()