might as well uncomment this hidden unit

This commit is contained in:
Anuken 2022-05-20 10:53:07 -04:00
parent 07ff2de2a2
commit 39f32af500
7 changed files with 21 additions and 22 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -54,7 +54,7 @@ public class Vars implements Loadable{
public static final int defaultEnv = Env.terrestrial | Env.spores | Env.groundOil | Env.groundWater | Env.oxygen;
/** Wall darkness radius. */
public static final int darkRadius = 4;
/** Maximum extra padding around deployment schematics. TODO 4, or 5?*/
/** Maximum extra padding around deployment schematics. */
public static final int maxLoadoutSchematicPad = 4;
/** All schematic base64 starts with this string.*/
public static final String schematicBaseStart ="bXNjaA";

View File

@ -3906,7 +3906,6 @@ public class UnitTypes{
//endregion
//region erekir - neoplasm
if(false)
latum = new NeoplasmUnitType("latum"){{
health = 20000;
armor = 12;

View File

@ -470,8 +470,8 @@ public class ContentParser{
}
if(value.has("controller")){
unit.aiController = supply(resolve(value.getString("controller"), FlyingAI.class));
if(value.has("controller") || value.has("aiController")){
unit.aiController = supply(resolve(value.getString("controller", value.getString("aiController", "")), FlyingAI.class));
value.remove("controller");
}