feat: change items dump format

This commit is contained in:
2026-04-09 06:37:53 -03:00
parent 393a591485
commit 93fe999249
+2 -2
View File
@@ -104,8 +104,8 @@ class DumpByDaylight
var itemsSerialized = new var itemsSerialized = new
{ {
Camper = new { Items = camperItems.OrderBy(x => x).ToList() }, Campers = camperItems.OrderBy(x => x).ToList(),
Slasher = new { Powers = slasherPowers.OrderBy(x => x).ToList() } Slashers = slasherPowers.OrderBy(x => x).ToList()
}; };
File.WriteAllText("items.json", JsonConvert.SerializeObject(itemsSerialized, Formatting.Indented)); File.WriteAllText("items.json", JsonConvert.SerializeObject(itemsSerialized, Formatting.Indented));