Campaign mechanics
This commit is contained in:
@@ -78,8 +78,8 @@ public class Vars implements Loadable{
|
||||
public static final float miningRange = 70f;
|
||||
/** range for building */
|
||||
public static final float buildingRange = 220f;
|
||||
/** duration of time between events in ticks */
|
||||
public static final float eventRate = 5 * Time.toMinutes;
|
||||
/** duration of time between turns in ticks */
|
||||
public static final float turnDuration = 20 * Time.toMinutes;
|
||||
/** min armor fraction damage; e.g. 0.05 = at least 5% damage */
|
||||
public static final float minArmorDamage = 0.05f;
|
||||
/** launch animation duration */
|
||||
@@ -287,7 +287,7 @@ public class Vars implements Loadable{
|
||||
logBuffer.add(result);
|
||||
}else if(!headless){
|
||||
if(!OS.isWindows){
|
||||
for(String code : ColorCodes.codes.values()){
|
||||
for(String code : ColorCodes.values){
|
||||
result = result.replace(code, "");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user