diff --git a/css/styles.css b/css/styles.css index c66921a..559f444 100644 --- a/css/styles.css +++ b/css/styles.css @@ -12,6 +12,10 @@ html { backdrop-filter: blur(7px) !important; } +.sidenav-overlay { + backdrop-filter: blur(10px) !important; +} + pre { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; overflow-x: auto; @@ -35,3 +39,7 @@ pre code { white-space: -o-pre-wrap; word-wrap: break-word; } + +.background img { + width: 100%; +} diff --git a/index.php b/index.php index 2df6047..16b8939 100644 --- a/index.php +++ b/index.php @@ -30,9 +30,70 @@
-'.$description.'
# enable or disable this role
+ ttt_drunk_enabled [0/1] (default: 1)
+# the percentage of players that are spawned as this role
+ ttt_drunk_pct [0.0..1.0] (default 0.15)
+# the limit of players that spawn as this role each round, this overwrites the percentage
+ ttt_drunk_max [0.0..n] (default: 1)
+# the probility each round of this role being spawned at all
+ ttt_drunk_random [0..100] (default: 33)
+# the amount of players needed for this role to spawn
+ ttt_drunk_min_players: [0..n] (default: 6)
+
+Rolespecific Convars:
+# maximum delay before the drunk sobers after a valid player dies
+ ttt2_drk_delay_max [0..n] (default: 30)
+# maximum delay before the drunk sobers after a valid player dies
+ ttt2_drk_delay_min [0..n] (default: 15)
';
+
+
+
+#
+# Credits
+#
+
+#The Steam URL to your addon
+$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=2465037140';
+#The Source URL to your addon
+$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/ZacharyHinds/ttt2-role-drk';
+
+#Creator of the Addon
+$author = 'Wasted';
+#Creatorlink
+$authorurl = 'https://steamcommunity.com/id/Zzzaaaccc13';
+
+# Credittext (can use the above variables)
+$ctext = 'Wasted: creator of this role addon and icon';
+
+?>
diff --git a/roles/en/duelist.php b/roles/en/duelist.php
new file mode 100644
index 0000000..c51ac54
--- /dev/null
+++ b/roles/en/duelist.php
@@ -0,0 +1,84 @@
+
+# enable or disable this role
+ ttt_duelist_enabled [0/1] (default: 1)
+# the percentage of players that are spawned as this role
+ ttt_duelist_pct [0.0..1.0] (default: 0.17)
+# the limit of players that spawn as this role each round, this overwrites the percentage
+ ttt_duelist_max [0..n] (default: 1)
+# the probability each round of this role being spawned at all
+ ttt_duelist_random [0..100] (default: 30)
+# the amount of players needed for this role to spawn
+ ttt_duelist_min_players: [0..n] (default: 6)
+
+Rolespecific Convars:
+# Is Duelist public to all players
+ ttt2_duelist_is_public [0..1] (default: 0)
+# Do Duellists prevent a win from occuring if still alive
+ ttt2_duelist_prevent_win [0..1] (default: 1)
+# Duellists can only hurt and be hurt by other duellists
+ ttt2_duelist_immunity [0..1] (default: 0)
+# Prize Role: (0)=Previous Duelist Role (1)=Random Role (2)=Undecided Role
+ ttt2_duelist_prize_type [0..1] (default: 0)
+# How much health Duellists can get up to when victorious
+ ttt2_duelist_victory_regenerate [0..200] (default: 100)
';
+
+#
+# Credits
+#
+
+#The Steam URL to your addon
+$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=2659150057';
+#The Source URL to your addon
+$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/TaintedEnergy/ttt2-role-duel';
+
+#Creator of the Addon
+$author = 'TaintedEnergy';
+#Creatorlink
+$authorurl = 'https://steamcommunity.com/profiles/76561198119233797';
+
+# Credittext (can use the above variables)
+$ctext = '';
+
+?>
diff --git a/roles/en/elderly.php b/roles/en/elderly.php
new file mode 100644
index 0000000..ad993d3
--- /dev/null
+++ b/roles/en/elderly.php
@@ -0,0 +1,77 @@
+
+# enable or disable this role
+ ttt_elderly_enabled [0/1] (default: 1)
+# the percentage of players that are spawned as this role
+ ttt_elderly_pct [0.0..1.0] (default: 0.17)
+# the limit of players that spawn as this role each round, this overwrites the percentage
+ ttt_elderly_max [0..n] (default: 1)
+# the probability each round of this role being spawned at all
+ ttt_elderly_random [0..100] (default: 30)
+# the amount of players needed for this role to spawn
+ ttt_elderly_min_players: [0..n] (default: 6)
+
+Rolespecific Convars:
+# What is the maximum and starting hp for an Elderly?
+ ttt2_eld_health [0..100] (default: 20)
';
+
+
+
+#
+# Credits
+#
+
+#The Steam URL to your addon
+$steam = '';
+#The Source URL to your addon
+$source = '';
+
+#Creator of the Addon
+$author = '';
+#Creatorlink
+$authorurl = '';
+
+# Credittext (can use the above variables)
+$ctext = '';
+
+?>