disambig for cloud name collisions

This commit is contained in:
Laetitia (O-01-67) 2022-11-23 15:46:58 -05:00 committed by GitHub
parent e911935add
commit 786ce71796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -184,6 +184,23 @@ if(enabledMods.includes(runAfterAutogenMod) && enabledMods.includes(libraryMod))
ignoreAir: true,
conduct: 0.01,
};
} else {
elements[`auto_${cloudName}`] = {
color: startColor,
insulate: true,
colorObject: newColorObject,
behavior: [
["XX","XX","XX"],
["XX",`CH:${elementOfCloud}%0.05`,"M1%2.5 AND BO"],
["XX","XX","XX"]
],
category: "clouds",
temp: firstTemp,
state: "gas",
density: 0.6,
ignoreAir: true,
conduct: 0.01,
};
};
eLists.CLOUD.push(cloudName);