|
|
|
@ -17,10 +17,12 @@ import java.io.File;
@@ -17,10 +17,12 @@ import java.io.File;
|
|
|
|
|
import java.io.FileReader; |
|
|
|
|
import java.io.IOException; |
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.HashMap; |
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
public class EffectsParser { |
|
|
|
|
public static String EffectsPath = ConfigManager.DEFAULT_DATA_DIR + "wpak/Effects.cfg"; |
|
|
|
|
public static HashMap<String,EffectData> effect_data = new HashMap<>(); |
|
|
|
|
public static void init() throws IOException { |
|
|
|
|
ArrayList<ArrayList<String>> compiledData = new ArrayList<>(); |
|
|
|
|
String[] lines = readLines(EffectsPath); |
|
|
|
@ -130,6 +132,7 @@ public class EffectsParser {
@@ -130,6 +132,7 @@ public class EffectsParser {
|
|
|
|
|
} |
|
|
|
|
index++; |
|
|
|
|
} |
|
|
|
|
effect_data.put(data.id,data); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
public static void GenerateModValues(Mod inMod, String[] data) |
|
|
|
|