forked from chomp/BotGenerator
formatting
This commit is contained in:
parent
ac5a0e3f17
commit
ea2f5ce3a8
@ -28,7 +28,10 @@ namespace PMCGenerator
|
|||||||
var flatModList = GetModsFromRawFile(parsedPresets);
|
var flatModList = GetModsFromRawFile(parsedPresets);
|
||||||
|
|
||||||
// Add weapon mods to output
|
// Add weapon mods to output
|
||||||
var output = new { FirstPrimaryWeapon = new List<string>(), Holster = new List<string>(), mods = new Dictionary<string, Dictionary<string, List<string>>>() };
|
var output = new {
|
||||||
|
FirstPrimaryWeapon = new List<string>(),
|
||||||
|
Holster = new List<string>(),
|
||||||
|
mods = new Dictionary<string, Dictionary<string, List<string>>>() };
|
||||||
output.FirstPrimaryWeapon.AddRange(flatPrimaryWeaponsList.Select(x => x.TemplateId).Distinct());
|
output.FirstPrimaryWeapon.AddRange(flatPrimaryWeaponsList.Select(x => x.TemplateId).Distinct());
|
||||||
output.Holster.AddRange(flatSecondaryWeaponsList.Select(x => x.TemplateId).Distinct());
|
output.Holster.AddRange(flatSecondaryWeaponsList.Select(x => x.TemplateId).Distinct());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user