mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 06:31:26 +00:00
Set scene names to generate in the handbook
This commit is contained in:
parent
d3eb0dcfc2
commit
c1d5b1fc8f
@ -20,6 +20,7 @@ import emu.grasscutter.data.ResourceLoader;
|
||||
import emu.grasscutter.data.def.AvatarData;
|
||||
import emu.grasscutter.data.def.ItemData;
|
||||
import emu.grasscutter.data.def.MonsterData;
|
||||
import emu.grasscutter.data.def.SceneData;
|
||||
|
||||
public final class Tools {
|
||||
|
||||
@ -63,6 +64,17 @@ public final class Tools {
|
||||
|
||||
writer.println();
|
||||
|
||||
writer.println("// Scenes");
|
||||
list = new ArrayList<>(GenshinData.getSceneDataMap().keySet());
|
||||
Collections.sort(list);
|
||||
|
||||
for (Integer id : list) {
|
||||
SceneData data = GenshinData.getSceneDataMap().get(id);
|
||||
writer.println(data.getId() + " : " + data.getScriptData());
|
||||
}
|
||||
|
||||
writer.println();
|
||||
|
||||
writer.println("// Monsters");
|
||||
list = new ArrayList<>(GenshinData.getMonsterDataMap().keySet());
|
||||
Collections.sort(list);
|
||||
|
Loading…
Reference in New Issue
Block a user