mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add generator 'caption' property
This commit is contained in:
parent
7c56d8fd7f
commit
de00414456
11 changed files with 59 additions and 21 deletions
|
|
@ -193,6 +193,7 @@ void ContentLoader::loadGenerator(
|
|||
return;
|
||||
}
|
||||
auto map = files::read_toml(generatorsDir / fs::u8path(name + ".toml"));
|
||||
map.at("caption").get(def.caption);
|
||||
map.at("biome_parameters").get(def.biomeParameters);
|
||||
map.at("biome-bpd").get(def.biomesBPD);
|
||||
map.at("heights-bpd").get(def.heightsBPD);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue