From b378de0b9e3a6d6863fe4a048033284f33f86d9d Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Sat, 2 Jan 2021 08:47:03 -0500 Subject: [PATCH] Add more penguin referral codes --- lug-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lug-helper.sh b/lug-helper.sh index b601b09..4de1369 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -986,7 +986,7 @@ runner_manage() { # Get a random Penguin's Star Citizen referral code referral_randomizer() { # Populate the referral codes array - referral_codes=("STAR-4TZD-6KMM" "STAR-4XM2-VM99" "STAR-2NPY-FCR2") + referral_codes=("STAR-4TZD-6KMM" "STAR-4XM2-VM99" "STAR-2NPY-FCR2" "STAR-T9Z9-7W6P" "STAR-VLBF-W2QR" "STAR-BYR6-YHMF" "STAR-3X2H-VZMX" "STAR-BRWN-FB9T") # Pick a random array element. Scale a floating point number for # a more random distribution than simply calling RANDOM random_code="${referral_codes[$(awk '{srand($2); print int(rand()*$1)}' <<< "${#referral_codes[@]} $RANDOM")]}"