@@ -74,7 +74,8 @@ internal static int Main(string[] args)
7474 var nameIds = new HashSet < int > ( names . Keys ) ;
7575 ReportOrphans ( nameIds , recycleYields , craftRecipes , researchCosts , decayInfos , upkeepCosts ) ;
7676
77- var items = BuildItems ( names , stackSizes , despawnSeconds , recycleYields , craftRecipes , researchCosts , decayInfos ,
77+ var items = BuildItems ( names , stackSizes , despawnSeconds , recycleYields , craftRecipes , researchCosts ,
78+ decayInfos ,
7879 upkeepCosts ) ;
7980
8081 var dataset = new ItemDataset (
@@ -143,20 +144,20 @@ private static List<ItemRecord> BuildItems(
143144 IReadOnlyDictionary < int , ResearchCost > researchCosts ,
144145 IReadOnlyDictionary < int , DecayInfo > decayInfos ,
145146 IReadOnlyDictionary < int , UpkeepCost > upkeepCosts ) =>
146- [
147- .. names . Select ( kv =>
148- {
149- var id = kv . Key ;
150- var stackSize = stackSizes . TryGetValue ( id , out var ss ) ? ss : 1 ;
151- var despawn = despawnSeconds . TryGetValue ( id , out var ds ) ? ( int ? ) ds : null ;
152- var recycle = recycleYields . TryGetValue ( id , out var ry ) ? ry : null ;
153- var craft = craftRecipes . TryGetValue ( id , out var cr ) ? cr : null ;
154- var research = researchCosts . TryGetValue ( id , out var rc ) ? rc : null ;
155- var decay = decayInfos . TryGetValue ( id , out var di ) ? di : null ;
156- var upkeep = upkeepCosts . TryGetValue ( id , out var uc ) ? uc : null ;
157- return new ItemRecord ( id , kv . Value , stackSize , despawn , recycle , craft , research , decay , upkeep ) ;
158- } ) ,
159- ] ;
147+ [
148+ .. names . Select ( kv =>
149+ {
150+ var id = kv . Key ;
151+ var stackSize = stackSizes . TryGetValue ( id , out var ss ) ? ss : 1 ;
152+ var despawn = despawnSeconds . TryGetValue ( id , out var ds ) ? ( int ? ) ds : null ;
153+ var recycle = recycleYields . TryGetValue ( id , out var ry ) ? ry : null ;
154+ var craft = craftRecipes . TryGetValue ( id , out var cr ) ? cr : null ;
155+ var research = researchCosts . TryGetValue ( id , out var rc ) ? rc : null ;
156+ var decay = decayInfos . TryGetValue ( id , out var di ) ? di : null ;
157+ var upkeep = upkeepCosts . TryGetValue ( id , out var uc ) ? uc : null ;
158+ return new ItemRecord ( id , kv . Value , stackSize , despawn , recycle , craft , research , decay , upkeep ) ;
159+ } ) ,
160+ ] ;
160161
161162 private static void ReportOrphans (
162163 HashSet < int > nameIds ,
0 commit comments