Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $voicelines = [
- [ "name" => "The Well Stacked Pizza Co. guy",
- "framing" => "joshRomek",
- "lines" => [
- "What do you want?",
- "Chewy crust or sweaty crust, your choice sir!",
- "Oh? Uh, what would you like?",
- "What would sir like?",
- "Everything's well stacked, sir.",
- "Choose a blend of cheese and fat, sir."
- ]
- ],
- [ "name" => "Binco girl",
- "framing" => "joshRomek",
- "lines" => [
- "How exhilarating to have you visit, sir.",
- "Welcome to my humble shop!",
- "Ooh! A customer!",
- "Come in, come in!",
- "Hello!",
- "Hey, hi, welcome!",
- "Hi there!",
- "Welcome, sir, welcome!"
- ]
- ],
- [ "name" => "Ammu-Nation clerk",
- "framing" => "joshAngery",
- "lines" => [
- "Everything a patriot could want!",
- "Ice your wife or stop a truck, I got what you need.",
- "They all lost their serial numbers.",
- "I don't do big military orders.",
- "You hard yet?"
- ]
- ]
- ];
- $rng = new \Random\Randomizer();
- header("Content-Type: text/plain; charset=utf-8");
- foreach ($voicelines as $vl) {
- echo "{$vl["name"]}:\n";
- $shuffled = $rng->shuffleArray($vl["lines"]);
- echo "{$vl["framing"]} {$shuffled[0]} {$vl["framing"]}\n\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement