Mod config
This commit is contained in:
@@ -67,6 +67,8 @@ export interface LoadedMod {
|
||||
noise_settings: { file: string; json: NoiseSettingsJson }[];
|
||||
biome_sources: { file: string; json: BiomeSourceJson }[];
|
||||
features: { file: string; json: FeatureJson }[];
|
||||
// config.json's settings, see docs/modding/misc/config.md
|
||||
config?: Record<string, unknown>;
|
||||
textures: string[];
|
||||
// absolute paths by texture id
|
||||
texture_files: Map<string, string>;
|
||||
@@ -94,6 +96,7 @@ export function mod_data(mod: LoadedMod): ModData {
|
||||
noise_settings: mod.noise_settings.map((n) => n.json),
|
||||
biome_sources: mod.biome_sources.map((b) => b.json),
|
||||
features: mod.features.map((f) => f.json),
|
||||
config: mod.config,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user