Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credits #1091

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Credits #1091

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 48 additions & 8 deletions app/Randomizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -781,13 +781,17 @@ 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([
"the loyal priest",
"read a book",
"sits in own pew",
"heal plz",
"free kisses",
"johnny we hardly knew ye",
])));

$name = Arr::first(fy_shuffle([
Expand All @@ -798,24 +802,60 @@ 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",
"double lumberman",
"lumberclones",
"woodfellas",
"dos axes",
"lumberjacks are okay",
])));

$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",
Expand Down