From 7ae5bdac6a4b3f9d267642abb1b5eae2fea777ea Mon Sep 17 00:00:00 2001 From: JamesBCrazy Date: Sat, 20 Jul 2024 10:25:28 -0400 Subject: [PATCH 1/2] Add files via upload Add more funny random stuff in the credits. --- app/Randomizer.php | 62 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 54 insertions(+), 8 deletions(-) diff --git a/app/Randomizer.php b/app/Randomizer.php index 147889217..2a883c509 100644 --- a/app/Randomizer.php +++ b/app/Randomizer.php @@ -781,6 +781,8 @@ public function randomizeCredits(World $world) "the return of the king", "fellowship of the ring", "the two towers", + "it's good to be the king", + "the road goes ever on", ]))); $world->setCredit('sanctuary', Arr::first(fy_shuffle([ @@ -788,6 +790,8 @@ public function randomizeCredits(World $world) "read a book", "sits in own pew", "heal plz", + "free kisses", + "johnny we hardly knew ye", ]))); $name = Arr::first(fy_shuffle([ @@ -798,10 +802,38 @@ public function randomizeCredits(World $world) "schmeering", "schmoosing", "shibboleth", "shovelnose", "sahananana", "sarararara", "salamander", "sharshalah", "shahabadoo", "sassafrass", "saddlebags", "sandalwood", "shagadelic", "sandcastle", "saltpeters", "shabbiness", "shlrshlrsh", "sassyralph", "sallyacorn", "sahasrahbot", "sasharalla", + "shlamalama", "saltpeter", "stupendous", "sillybilly", "sahasmoola", "stagmometer", "starfishes", + "starlessly", "superstars", "steatopygy", "shalashaska", "stepmother", "suppository", "sibyllism", + "shufflecap", "shunammite", "shuntwinder", "shagamomma", "shukulumbwe", "serenissimo", "sagvandite", ])); - $world->setCredit('kakariko', "$name's homecoming"); - - $world->setCredit('lumberjacks', Arr::first(fy_shuffle([ + switch (get_random_int(0, 63)) { + case 0: + $world->setCredit('kakariko', "$name's homcoming"); + break; + case 1: + $world->setCredit('kakariko', "$name's homecoimng"); + break; + case 2: + $world->setCredit('kakariko', "$name's hamecoming"); + break; + case 3: + $world->setCredit('kakariko', "$name's homecomign"); + break; + default: + $world->setCredit('kakariko', "$name's homecoming"); + } + + $world->setCredit('desert', Arr::first(fy_shuffle([ + "vultures rule the desert", + "i don't like sand", + "coarse and rough", + "dududududu", + "son of a sandworm", + "read a book", + "embrace literacy", + ]))); + + $world->setCredit('lumberjacks', Arr::first(fy_shuffle([ "twin lumberjacks", "fresh flapjacks", "two woodchoppers", @@ -809,13 +841,27 @@ public function randomizeCredits(World $world) "lumberclones", "woodfellas", "dos axes", + "lumberjacks are okay", + ]))); + + $world->setCredit('grove', Arr::first(fy_shuffle([ + "ocarina boy plays again", + "flute boy plays again", + "the hyrule anthem", + ]))); + + $world->setCredit('witch', Arr::first(fy_shuffle([ + "mushroom soup", + "mushroom stew", + "fetch quests for everyone", + "potion merchant", ]))); - switch (get_random_int(0, 1)) { - case 1: - $world->setCredit('smithy', "the dwarven breadsmiths"); - break; - } + $world->setCredit('smithy', Arr::first(fy_shuffle([ + "the dwarven swordsmiths", + "the dwarven breadsmiths", + "delicious baguettes", + ]))); $world->setCredit('bridge', Arr::first(fy_shuffle([ "the lost old man", From a97c797d03b0a3417aefe604d75415b6d6255fa5 Mon Sep 17 00:00:00 2001 From: JamesBCrazy Date: Tue, 10 Sep 2024 10:47:25 -0400 Subject: [PATCH 2/2] Update Randomizer.php; I was gonna code in better logic for flute boy and then I never did --- app/Randomizer.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/Randomizer.php b/app/Randomizer.php index 2a883c509..80d902ce5 100644 --- a/app/Randomizer.php +++ b/app/Randomizer.php @@ -844,12 +844,6 @@ public function randomizeCredits(World $world) "lumberjacks are okay", ]))); - $world->setCredit('grove', Arr::first(fy_shuffle([ - "ocarina boy plays again", - "flute boy plays again", - "the hyrule anthem", - ]))); - $world->setCredit('witch', Arr::first(fy_shuffle([ "mushroom soup", "mushroom stew",