diff --git a/pin/coinslot.txt b/pin/coinslot.txt index 798a075..eabd1cb 100644 --- a/pin/coinslot.txt +++ b/pin/coinslot.txt @@ -1,17 +1,18 @@ -Avatar (Pro) -Avengers: Infinity Quest (pro) +Avengers: Infinity Quest (Pro) +Cactus Canyon (Remake LE) Deadpool (Pro) -Family Guy +Elvira's House of Horrors (Premium) +Foo Fighters (LE) +Foo Fighters (Pro) Ghostbusters (Pro) Godzilla (Pro) Iron Maiden: Legacy of the Beast (Pro) James Bond 007 (Pro) -Jurassic Park (Pro) -Led Zeppelin (Pro) -Munsters (Pro) +Jurassic Park (Premium) Rush (Pro) -Scooby Doo (Collectors Edition) -Spider-Man -Star Wars Comic Art (Pro) +Scooby-Doo (CE) +Star Wars (Comic Art Pro) Stranger Things (Pro) +Teenage Mutant Ninja Turtles (Pro) The Mandalorian (Pro) +The Munsters (Pro) diff --git a/pin/index.php b/pin/index.php index 2136abf..7596789 100644 --- a/pin/index.php +++ b/pin/index.php @@ -6,6 +6,12 @@ if (isset($_GET["location"])) { $game = $games[array_rand($games)]; } } +if (isset($_GET["pbmid"])) { + $pbmid = $_GET["pbmid"]; + $json = json_decode(file_get_contents("https://pinballmap.com/api/v1/locations/$pbmid/machine_details.json")); + foreach ($json->machines as $pin) { $games[] = $pin->name; } + $game = $games[array_rand($games)]; +} ?> @@ -20,7 +26,7 @@ if (isset($_GET["location"])) {

pin picker