This commit is contained in:
Anuken
2022-10-18 09:26:44 -04:00
parent 326002c338
commit e6de58fbdc
3 changed files with 9 additions and 1 deletions

View File

@@ -998,6 +998,10 @@ public class ContentParser{
node.setupRequirements(unlock.researchRequirements());
}
if(research.has("planet")){
node.planet = find(ContentType.planet, research.getString("planet"));
}
if(research.getBoolean("root", false)){
node.name = research.getString("name", unlock.name);
node.requiresUnlock = research.getBoolean("requiresUnlock", false);