mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-13 22:04:36 +01:00
Add maze planes to the handbook
This commit is contained in:
@@ -12,6 +12,7 @@ import lombok.Getter;
|
||||
public class MazePlaneExcel extends GameResource {
|
||||
private int PlaneID;
|
||||
private int WorldID;
|
||||
private long PlaneName;
|
||||
|
||||
@SerializedName(value = "PlaneType")
|
||||
private PlaneType planeType = PlaneType.Unknown;
|
||||
|
||||
@@ -99,7 +99,7 @@ public class Handbook {
|
||||
|
||||
// Dump stages
|
||||
writer.println(System.lineSeparator());
|
||||
writer.println("# Stages");
|
||||
writer.println("# Battle Stages");
|
||||
list = GameData.getStageExcelMap().keySet().intStream().sorted().boxed().toList();
|
||||
for (int id : list) {
|
||||
StageExcel excel = GameData.getStageExcelMap().get(id);
|
||||
@@ -108,6 +108,17 @@ public class Handbook {
|
||||
writer.print("[Level " + excel.getLevel() + "] ");
|
||||
writer.println(textMap.getOrDefault(excel.getStageName(), "null"));
|
||||
}
|
||||
|
||||
// Dump stages
|
||||
writer.println(System.lineSeparator());
|
||||
writer.println("# Mazes");
|
||||
list = GameData.getMazePlaneExcelMap().keySet().intStream().sorted().boxed().toList();
|
||||
for (int id : list) {
|
||||
MazePlaneExcel excel = GameData.getMazePlaneExcelMap().get(id);
|
||||
writer.print(excel.getId());
|
||||
writer.print(" : ");
|
||||
writer.println(textMap.getOrDefault(excel.getPlaneName(), "null"));
|
||||
}
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user