From a1a2828639ca395661e3832687d370e124b2e311 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 28 Mar 2022 20:29:20 +0200 Subject: [PATCH] Updated some files --- css/styles.css | 11 ++++ index.php | 35 +++++++---- roles/de/detective.php | 2 +- roles/en/accomplice.php | 20 ++++--- roles/en/amnesiac.php | 84 ++++++++++++++++++++++++++ roles/en/arsonist.php | 75 ++++++++++++++++++++++++ roles/en/banker.php | 108 ++++++++++++++++++++++++++++++++++ roles/en/beacon.php | 123 +++++++++++++++++++++++++++++++++++++++ roles/en/beggar.php | 95 ++++++++++++++++++++++++++++++ roles/en/blight.php | 80 +++++++++++++++++++++++++ roles/en/bodyguard.php | 88 ++++++++++++++++++++++++++++ roles/en/clairvoyant.php | 66 +++++++++++++++++++++ roles/en/template.php | 66 +++++++++++++++++++++ 13 files changed, 831 insertions(+), 22 deletions(-) create mode 100644 roles/en/amnesiac.php create mode 100644 roles/en/arsonist.php create mode 100644 roles/en/banker.php create mode 100644 roles/en/beacon.php create mode 100644 roles/en/beggar.php create mode 100644 roles/en/blight.php create mode 100644 roles/en/bodyguard.php create mode 100644 roles/en/clairvoyant.php create mode 100644 roles/en/template.php diff --git a/css/styles.css b/css/styles.css index b1fcd42..c66921a 100644 --- a/css/styles.css +++ b/css/styles.css @@ -11,6 +11,17 @@ html { .blurry { backdrop-filter: blur(7px) !important; } + +pre { +font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; +overflow-x: auto; +white-space: pre-wrap; +white-space: -moz-pre-wrap; +white-space: -pre-wrap; +white-space: -o-pre-wrap; +word-wrap: break-word; +} + pre code { color: #fff; background-color: #aaa; diff --git a/index.php b/index.php index 86e932a..2df6047 100644 --- a/index.php +++ b/index.php @@ -58,12 +58,16 @@ foreach ($files as $filename) { include $filename; + $shortname = substr($filename, 9); + $shortname = substr($shortname, 0, -4); +/* if ($count%2 == 1) { echo "
"; } +*/ echo ' -
+
@@ -73,39 +77,46 @@
-
'.$howtoplay.'
-
'.$playsbestwith.'
-
-
'.$convars.'
+
How to play:
'.$howtoplay.'
+
Plays best with:
'.$playsbestwith.'
+
Convars:
+
'.$convars.'
-
Main Creator: '.$author.'
'.$ctext.'
-
+
Credits:
Main Creator: '.$author.'
'.$ctext.'
+ +
+ Steam + Source +
+
'; +/* if ($count%2 == 0) { echo "
"; } $count++; +*/ } - if ($count%2 != 1) echo "
"; +// if ($count%2 != 1) echo "
"; ?>
diff --git a/roles/de/detective.php b/roles/de/detective.php index 56fa985..f3a7fab 100644 --- a/roles/de/detective.php +++ b/roles/de/detective.php @@ -17,7 +17,7 @@ $color = "indigo"; # #The Name of the Role -$name = "Detective"; +$name = 'Detektiv'; #The Description of the Role, HTML conform :) $description = "Use your gadgets to find the enemies!"; diff --git a/roles/en/accomplice.php b/roles/en/accomplice.php index f51409c..22a3eb5 100644 --- a/roles/en/accomplice.php +++ b/roles/en/accomplice.php @@ -23,12 +23,12 @@ $description = "The Accomplice doesn't know his master... find him and protect!" #How To play $howtoplay = "The Accomplice is a partner of the Traitor. The Accomplice is visible to the Traitor. But the Accomplice doesn't know who is the Traitor. So,you have to find him by yourself. In other words in werewolf game, the Madman. - + +The Accomplice can't win alone. +The Accomplice can't buy Items from the shop(Default). +The Accomplice has radar for corpses. +The Accomplice can't transfer to Traitors. + "; #With what roles does this role play best? $playsbestwith = " @@ -39,7 +39,8 @@ $playsbestwith = "