More PowerEntry work.

This commit is contained in:
2024-08-18 16:38:06 -04:00
parent 0ee7269c8f
commit acdf6db91a
2 changed files with 21 additions and 1 deletions
+19
View File
@@ -151,6 +151,25 @@ public class PowersParser {
break;
case "DESCRIPTION":
powerEntry.description.add(lineValues[1].trim());
break;
case "CATEGORY":
powerEntry.description.add(lineValues[1].trim());
break;
case "CURVE":
arguments = lineValues[1].trim().split(" ");
powerEntry.slopeType = arguments[0];
powerEntry.curve = mbEnums.CompoundCurveType.valueOf(arguments[1]);
break;
case "SOUNDS":
case "APPLYEFFECTOTHER":
case "FIZZLEOTHER":
case "FIZZLESELF":
case "INITSTRING":
case "SUCCESSOTHER":
case "SUCCESSSELF":
case "WEAROFFEFFECTOTHER":
case "WEAROFFEFFECTSELF":
break;
default:
Logger.error("Unhandled variable type:" + key);
}
+2 -1
View File
@@ -43,6 +43,7 @@ public class PowerEntry {
public int loopAnimID;
public String grantOverrideVar;
public ArrayList<String> description;
public String slopeType;
public mbEnums.CompoundCurveType curve;
public String category;
}