diff options
Diffstat (limited to 'all-monsters.php')
-rw-r--r-- | all-monsters.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/all-monsters.php b/all-monsters.php deleted file mode 100644 index cf687c7..0000000 --- a/all-monsters.php +++ /dev/null @@ -1,10 +0,0 @@ -<?php - -$allMonsters = []; -foreach (scandir(__DIR__ . '/modules/tuxemon/mods/tuxemon/db/monster') as $file) { - if (in_array($file, ['.', '..'])) continue; - - $allMonsters[] = pathinfo($file, PATHINFO_FILENAME); -} - -file_put_contents(__DIR__ . '/db/all-monsters.json', json_encode($allMonsters)); |