Update patrons and credits (#13554)

This commit is contained in:
Pieter-Jan Briers
2023-01-17 22:42:03 +01:00
committed by GitHub
parent 6e1f02b9bb
commit b1cb32519d
3 changed files with 36 additions and 20 deletions

View File

@@ -5,4 +5,4 @@ param([string]$csvPath)
# 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.
Get-content $csvPath | ConvertFrom-Csv -Delimiter "," | select @{l="Name";e={$_.Name.Trim()}},Tier | ConvertTo-Yaml
Get-content $csvPath | ConvertFrom-Csv -Delimiter "," | select @{l="Name";e={$_.Name.Trim()}},Tier | where-object Tier -ne "" | ConvertTo-Yaml