summaryrefslogtreecommitdiff
path: root/includes/system/compare.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/system/compare.php')
-rw-r--r--includes/system/compare.php18
1 files changed, 11 insertions, 7 deletions
diff --git a/includes/system/compare.php b/includes/system/compare.php
index 96eb5d9..6d69cd0 100644
--- a/includes/system/compare.php
+++ b/includes/system/compare.php
@@ -105,29 +105,33 @@ function getMember(string $id) {
<?php foreach ($metadata["species"] ?? [] as $species): ?>
<img data-bs-toggle="tooltip" title="<?php switch ($species) {
case "earth":
- echo "Earth pony";
+ if ($metadata["robot"]) echo "Robot earth pony"; else echo "Earth pony";
break;
case "alicorn":
- echo "Alicorn";
+ if ($metadata["robot"]) echo "Robot alicorn"; else echo "Alicorn";
+ break;
+
+ case "crystal":
+ if ($metadata["robot"]) echo "Robot crystal pony"; else echo "Crystal pony";
break;
case "pegasus":
- echo "Pegasus";
+ if ($metadata["robot"]) echo "Robot pegasus"; else echo "Pegasus";
break;
case "batpony":
- echo "Bat pony";
+ if ($metadata["robot"]) echo "Robot bat pony"; else echo "Bat pony";
break;
case "unicorn":
- echo "Unicorn";
+ if ($metadata["robot"]) echo "Robot unicorn"; else echo "Unicorn";
break;
default:
- echo $species;
+ echo $species . "_" . $metadata["robot"];
break;
- } ?>" style="width:24px;vertical-align: middle;position:relative;top:-5px;" src="/assets/species/<?= $species ?>.png" alt="<?= $species ?>">
+ } ?>" style="width:24px;vertical-align: middle;position:relative;top:-5px;" src="/assets/species/<?= $species ?><?= $metadata["robot"] ? "-robot" : "" ?>.png" alt="<?= $species ?>">
<?php endforeach; ?>
</span>
<span class="comparison-item">