Line 1: |
Line 1: |
| ==Track list export== | | ==Track list export== |
− | The initial track list was exported with this code, which can be run as a [[Modding:Modder Guide/Get Started|C# mod]]: | + | The initial track list was exported with this code, which can be run as a [[Modding:Modder Guide/Get Started|C# mod]] in Stardew Valley 1.5.5+: |
| {{collapse|source code|content=<syntaxhighlight lang="c#"> | | {{collapse|source code|content=<syntaxhighlight lang="c#"> |
| /// <summary>The main entry point for the mod.</summary> | | /// <summary>The main entry point for the mod.</summary> |
Line 19: |
Line 19: |
| output.AppendLine($"==={categoryGroup.Key}==="); | | output.AppendLine($"==={categoryGroup.Key}==="); |
| output.AppendLine("{| class=\"wikitable sortable\""); | | output.AppendLine("{| class=\"wikitable sortable\""); |
− | output.AppendLine("|-\n! name\n! wavebank\n! soundbank ID\n! description"); | + | output.AppendLine("|-\n!rowspan=\"2\"| name\n!rowspan=\"2\"| wavebank\n!colspan=\"2\"| soundbank index\n!rowspan=\"2\"| description"); |
| + | output.AppendLine("|-\n! decimal\n! hexadecimal"); |
| | | |
| foreach (TrackInfo track in categoryGroup.OrderBy(p => p.Name).ThenBy(p => p.Index)) | | foreach (TrackInfo track in categoryGroup.OrderBy(p => p.Name).ThenBy(p => p.Index)) |
− | output.AppendLine($"|-\n| <tt>{track.Name}</tt>\n| <tt>{track.GetWavebankName()}</tt>\n| data-sort-value=\"{track.Index}\"| <tt>{track.GetSoundbankId()}</tt>\n| "); | + | output.AppendLine($"|-\n| <samp>{track.Name}</samp>\n| <samp>{track.GetWavebankName()}</samp>\n| <samp>{track.Index}</samp>\n| data-sort-value=\"{track.Index}\"| <samp>{track.GetSoundbankId()}</samp>\n| "); |
| | | |
| output.AppendLine("|}"); | | output.AppendLine("|}"); |
Line 147: |
Line 148: |
| |- | | |- |
| | 1 | | | 1 |
− | | <tt>Default</tt> | + | | <samp>Default</samp> |
| | seems to be unused. | | | seems to be unused. |
| |- | | |- |
| | 2 | | | 2 |
− | | <tt>Music</tt> | + | | <samp>Music</samp> |
| | | | | |
| |- | | |- |
| | 3 | | | 3 |
− | | <tt>Sound</tt> | + | | <samp>Sound</samp> |
| | | | | |
| |- | | |- |
| | 4 | | | 4 |
− | | <tt>Ambient</tt> | + | | <samp>Ambient</samp> |
| | listed on the wiki as "Music (ambient)" just to group the music tracks. | | | listed on the wiki as "Music (ambient)" just to group the music tracks. |
| |- | | |- |
| | 5 | | | 5 |
− | | <tt>Footsteps</tt> | + | | <samp>Footsteps</samp> |
| | | | | |
| |} | | |} |
| | | |
− | —<small>[[User:Pathoschild|Pathoschild]] ([[User talk:Pathoschild|talk]]) 05:21, 17 October 2021 (UTC)</small> | + | —<small>[[User:Pathoschild|Pathoschild]] ([[User talk:Pathoschild|talk]]) 05:21, 17 October 2021 (UTC)</small> (updated 00:12, 20 October 2021 (UTC)) |