remove local properties
parent
029c4e8c96
commit
ebfcc51eeb
|
|
@ -3,3 +3,4 @@ out/
|
|||
build/
|
||||
.gradle/
|
||||
plots/
|
||||
local.properties
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
## This file must *NOT* be checked into Version Control Systems,
|
||||
# as it contains information specific to your local configuration.
|
||||
#
|
||||
# Location of the SDK. This is only used by Gradle.
|
||||
# For customization when using a Version Control System, please read the
|
||||
# header note.
|
||||
#Thu Oct 14 18:38:37 CEST 2021
|
||||
sdk.dir=/home/agp8x/Android/Sdk
|
||||
|
|
@ -108,9 +108,7 @@ public class Test {
|
|||
//plot(Database.GasFilter, "rubber",1);
|
||||
plot(Database.AluminumCasing, "aluCase", 1);
|
||||
javaPlot("aluCase");
|
||||
SumResult ac = SumResult.sum(new Production(Database.AluminumCasing, 1));
|
||||
plot2(ac.getProduction(), "aluCase_sum");
|
||||
javaPlot("aluCase_sum");
|
||||
planFor(Database.AluminumCasing, 1, "aluCase_sum");
|
||||
//System.exit(128);
|
||||
Item i = Database.AluminumIngot;
|
||||
//plot2(SumResult.sum(i, 1),"rubber_");
|
||||
|
|
@ -118,18 +116,19 @@ public class Test {
|
|||
SumResult s = SumResult.sum(new Production(Database.RadioControlUnit, 2));
|
||||
plot2(s.getProduction(), "rcu");
|
||||
|
||||
SumResult alclad = SumResult.sum(new Production(Database.AlcladAluminumSheet,100));
|
||||
plot2(alclad.getProduction(), "alclad");
|
||||
javaPlot("alclad");
|
||||
planFor(Database.AlcladAluminumSheet, 100, "alclad");
|
||||
|
||||
|
||||
SumResult fuelrod = SumResult.sum(new Production(Database.UraniumFuelRod,100));
|
||||
plot2(fuelrod.getProduction(), "fuelrod");
|
||||
javaPlot("fuelrod");
|
||||
planFor(Database.UraniumFuelRod, 1, "fuelrod");
|
||||
|
||||
SumResult fusedFrame = SumResult.sum(new Production(Database.FusedModularFrame,100));
|
||||
plot2(fusedFrame.getProduction(), "fusedFrame");
|
||||
javaPlot("fusedFrame");
|
||||
planFor(Database.FusedModularFrame, 100, "fusedFrame");
|
||||
planFor(Database.SteelIngot, 100, "steelIngot");
|
||||
}
|
||||
|
||||
private static void planFor(Item item, int amount, String name) {
|
||||
SumResult plan = SumResult.sum(new Production(item, amount));
|
||||
plot2(plan.getProduction(), name);
|
||||
javaPlot(name);
|
||||
}
|
||||
|
||||
private static void plot(Item target, String name, int amount) {
|
||||
|
|
|
|||
|
|
@ -100,9 +100,8 @@ public class Utils {
|
|||
if (item.isRaw()) {
|
||||
m.put("peripheries", DefaultAttribute.createAttribute(2));
|
||||
}
|
||||
|
||||
String label = item.getName();
|
||||
label = label.replace(".", "_");
|
||||
label = label.replace("#", "_");
|
||||
m.put("label", DefaultAttribute.createAttribute(label));
|
||||
return m;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue