Fix patrons in in-game credits (#40840)

This commit is contained in:
Pieter-Jan Briers
2025-10-12 12:51:33 +02:00
committed by GitHub
parent beb3db14f0
commit 4eaf7526e4
2 changed files with 862 additions and 1384 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -5,4 +5,4 @@ param([string]$csvPath)
# Dumps Patreon's CSV download into a YAML file the game reads. # Dumps Patreon's CSV download into a YAML file the game reads.
# Have to trim patron names because apparently Patreon doesn't which is quite ridiculous. # Have to trim patron names because apparently Patreon doesn't which is quite ridiculous.
Get-content $csvPath | ConvertFrom-Csv -Delimiter "," | select @{l="Name";e={$_.Name.Trim()}},Tier | where-object Tier -ne "" | ConvertTo-Yaml Get-content $csvPath | ConvertFrom-Csv -Delimiter "," | select @{l="Name";e={$_.Name.Trim()}},Tier | where-object Tier -ne "" | where-object Tier -ne "Free" | ConvertTo-Yaml