use new flag on pbm api
This commit is contained in:
parent
7e0f5e62b8
commit
cdb7c1351d
|
@ -1,18 +1,31 @@
|
|||
Avengers: Infinity Quest (Pro)
|
||||
Cactus Canyon (Remake LE)
|
||||
Deadpool (Pro)
|
||||
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 (Premium)
|
||||
Rush (Pro)
|
||||
Scooby-Doo (CE)
|
||||
Star Wars (Comic Art Pro)
|
||||
Stranger Things (Pro)
|
||||
Teenage Mutant Ninja Turtles (Pro)
|
||||
The Mandalorian (Pro)
|
||||
The Munsters (Pro)
|
||||
Aerosmith (Pro) (Stern, 2017)
|
||||
Attack From Mars (Remake) (Chicago Gaming, 2017)
|
||||
Avengers: Infinity Quest (Pro) (Stern, 2020)
|
||||
Batman 66 (Catwoman Signature Edition) (Stern, 2019)
|
||||
Beatles (Stern, 2018)
|
||||
Cactus Canyon (Remake LE) (Chicago Gaming, 2021)
|
||||
Deadpool (Pro) (Stern, 2018)
|
||||
Elvira's House of Horrors (Premium) (Stern, 2019)
|
||||
Family Guy (Stern, 2006)
|
||||
Foo Fighters (Pro) (Stern, 2023)
|
||||
Game of Thrones (Pro) (Stern, 2015)
|
||||
Ghostbusters (Pro) (Stern, 2016)
|
||||
Godzilla (Pro) (Stern, 2021)
|
||||
Guardians of the Galaxy (Pro) (Stern, 2017)
|
||||
Iron Maiden: Legacy of the Beast (Pro) (Stern, 2018)
|
||||
Iron Man (Stern, 2010)
|
||||
James Bond 007 (Pro) (Stern, 2022)
|
||||
Jurassic Park (Premium) (Stern, 2019)
|
||||
Led Zeppelin (Pro) (Stern, 2020)
|
||||
Lord of the Rings (Stern, 2003)
|
||||
The Mandalorian (Pro) (Stern, 2021)
|
||||
Monster Bash (Remake) (Chicago Gaming, 2018)
|
||||
The Munsters (Pro) (Stern, 2019)
|
||||
Spider-Man (Stern, 2007)
|
||||
Star Trek (Vault) (Stern, 2018)
|
||||
Star Wars (Comic Art Pro) (Stern, 2019)
|
||||
Stranger Things (Pro) (Stern, 2019)
|
||||
Teenage Mutant Ninja Turtles (Pro) (Stern, 2020)
|
||||
Venom (Pro) (Stern, 2023)
|
||||
The Walking Dead (Pro) (Stern, 2014)
|
||||
X-Men Wolverine (LE) (Stern, 2012)
|
||||
|
|
|
@ -8,8 +8,8 @@ if (isset($_GET["location"])) {
|
|||
}
|
||||
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; }
|
||||
$json = json_decode(file_get_contents("https://pinballmap.com/api/v1/locations/$pbmid/machine_details.json?machines_only=1"));
|
||||
foreach ($json->machines as $pin) { $games[] = $pin; }
|
||||
$game = $games[array_rand($games)];
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,9 @@ if (isset($_GET["pbmid"])) {
|
|||
<?php if (isset($loc) || isset($pbmid)) { ?>
|
||||
<p><a href="."><- back to list</a></p>
|
||||
<p>reload the page to pick a table</p>
|
||||
<?php if (isset($pbmid)) { ?>
|
||||
<p><a href="https://pinballmap.com/map/?by_location_id=<?=$pbmid?>">pinballmap</a></p>
|
||||
<?php } ?>
|
||||
<br>
|
||||
<?php foreach ($games as $g) {
|
||||
if ($g === $game) { ?>
|
||||
|
|
|
@ -1,34 +1,35 @@
|
|||
Beatles
|
||||
Big Guns
|
||||
Black Knight
|
||||
Centaur
|
||||
Cirqus Voltaire
|
||||
Comet
|
||||
Cyclone
|
||||
Diner
|
||||
Elvira's House of Horrors (LE)
|
||||
Fire!
|
||||
Godzilla (Premium)
|
||||
Hercules
|
||||
Hook
|
||||
Indianapolis 500
|
||||
Jurassic Park
|
||||
Led Zeppelin (Premium)
|
||||
Lost World
|
||||
Monster Bash
|
||||
Rotation VIII
|
||||
Shaq Attaq
|
||||
Silverball Mania
|
||||
Sinbad
|
||||
Spy Hunter
|
||||
Star Wars
|
||||
Star Wars (Premium)
|
||||
Star Wars Episode 1
|
||||
Star Wars Trilogy
|
||||
Taxi
|
||||
Terminator 2: Judgment Day
|
||||
The Addams Family
|
||||
The Godfather (LE)
|
||||
The Mandalorian (Premium)
|
||||
Toy Story 4 (LE)
|
||||
World Cup Soccer
|
||||
The Addams Family (Bally, 1992)
|
||||
Beatles (Stern, 2018)
|
||||
Big Guns (Williams, 1987)
|
||||
Black Knight (Williams, 1980)
|
||||
Centaur (Bally, 1981)
|
||||
The Champion Pub (Bally, 1998)
|
||||
Cirqus Voltaire (Bally, 1997)
|
||||
Comet (Williams, 1985)
|
||||
Diner (Williams, 1990)
|
||||
Elvira's House of Horrors (LE) (Stern, 2019)
|
||||
Fire! (Williams, 1987)
|
||||
Foo Fighters (Premium) (Stern, 2023)
|
||||
Funhouse 2.0 (Rudy's Nightmare) (Pedretti Gaming, 2021)
|
||||
The Godfather (LE) (Jersey Jack, 2023)
|
||||
Godzilla (Premium) (Stern, 2021)
|
||||
Harley-Davidson (Sega, 1999)
|
||||
Hercules (Atari, 1979)
|
||||
Hook (Data East, 1992)
|
||||
Indiana Jones: The Pinball Adventure (Williams, 1993)
|
||||
Led Zeppelin (Premium) (Stern, 2020)
|
||||
The Mandalorian (Premium) (Stern, 2021)
|
||||
Monster Bash (Williams, 1998)
|
||||
Rotation VIII (Midway, 1978)
|
||||
Shaq Attaq (Gottlieb, 1995)
|
||||
Sinbad (Gottlieb, 1978)
|
||||
Spy Hunter (Bally, 1984)
|
||||
Star Trek (Data East, 1991)
|
||||
Star Wars (Data East, 1992)
|
||||
Star Wars (Premium) (Stern, 2017)
|
||||
Star Wars Episode 1 (Williams, 1999)
|
||||
Star Wars Trilogy (Sega, 1997)
|
||||
Taxi (Williams, 1988)
|
||||
Terminator 2: Judgment Day (Williams, 1991)
|
||||
Toy Story 4 (LE) (Jersey Jack, 2022)
|
||||
World Cup Soccer (Bally, 1994)
|
||||
|
|
Loading…
Reference in New Issue