Reworked the layout
This commit is contained in:
parent
6537b42ec5
commit
de74d68873
@ -6,7 +6,7 @@ html {
|
|||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
.card {
|
.card {
|
||||||
opacity: 0.95 !important;
|
opacity: 0.9;
|
||||||
}
|
}
|
||||||
.blurry {
|
.blurry {
|
||||||
backdrop-filter: blur(7px) !important;
|
backdrop-filter: blur(7px) !important;
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
<div class="blurry">
|
<div class="blurry">
|
||||||
<div class="card '.$color.' '.$tcolor.'-text">
|
<div class="card '.$color.' '.$tcolor.'-text">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<span class="card-title">'.$name.'</span>
|
<span class="card-title">'.$name.'</span><a href="'.$authorurl'>'.$author'</a>"
|
||||||
<p>'.$description.'</p>
|
<p>'.$description.'</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-tabs">
|
<div class="card-tabs">
|
||||||
@ -52,12 +52,16 @@
|
|||||||
<li class="tab col s3">
|
<li class="tab col s3">
|
||||||
<a href="#'.$name.'convars">Convars</a>
|
<a href="#'.$name.'convars">Convars</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="tab col s3">
|
||||||
|
<a href="#'.$name.'credits">Convars</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-content grey lighten-4 black-text">
|
<div class="card-content grey lighten-4 black-text">
|
||||||
<div id="'.$name.'h2p">'.$howtoplay.'</div>
|
<div id="'.$name.'h2p">'.$howtoplay.'</div>
|
||||||
<div id="'.$name.'pbw">'.$playsbestwith.'</div>
|
<div id="'.$name.'pbw">'.$playsbestwith.'</div>
|
||||||
<div id="'.$name.'convars">'.$convars.'</div>
|
<div id="'.$name.'convars"><code>'.$convars.'</code></div>
|
||||||
|
<div id="'.$name.'credits">'.$ctext.'</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
<?php
|
|
||||||
# Text Color
|
|
||||||
$tcolor = "black";
|
|
||||||
# This is the color defined by https://materializecss.com/color.html
|
|
||||||
$color = "yellow lighten-5";
|
|
||||||
#The Steam URL to your addon
|
|
||||||
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2004491494";
|
|
||||||
#The Source URL to your addon
|
|
||||||
$source = "https://github.com/Gensokian/ttt2-role_tra";
|
|
||||||
#The Name of the Role
|
|
||||||
$name = "Example";
|
|
||||||
#The Description of the Role, HTML conform :)
|
|
||||||
$description = "Some example content";
|
|
||||||
#Creator of the Addon
|
|
||||||
$author = "Garry";
|
|
||||||
#How To play
|
|
||||||
$howtoplay = "Be an example to anyone around you";
|
|
||||||
#With what roles does this role play best?
|
|
||||||
$playsbestwith = "Innocents";
|
|
||||||
#Convars
|
|
||||||
$convars = "ttt_non_existant_variable (default: 0)"
|
|
||||||
?>
|
|
69
roles/accomplice.php
Normal file
69
roles/accomplice.php
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
<?php
|
||||||
|
#
|
||||||
|
# COLORS
|
||||||
|
#
|
||||||
|
|
||||||
|
# Text Color
|
||||||
|
$tcolor = "white";
|
||||||
|
# This is the color defined by https://materializecss.com/color.html
|
||||||
|
$color = "red darken-5";
|
||||||
|
|
||||||
|
#
|
||||||
|
# BASEINFO
|
||||||
|
#
|
||||||
|
|
||||||
|
#The Name of the Role
|
||||||
|
$name = "Accomplice";
|
||||||
|
#The Description of the Role, HTML conform :)
|
||||||
|
$description = "The Accomplice doesn't know his master... find him and protect!";
|
||||||
|
|
||||||
|
#
|
||||||
|
# TABS
|
||||||
|
#
|
||||||
|
|
||||||
|
#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.
|
||||||
|
<ul>
|
||||||
|
<li> The Accomplice can't win alone. </li>
|
||||||
|
<li> The Accomplice can't buy Items from the shop(Default). </li>
|
||||||
|
<li> The Accomplice has radar for corpses. </li>
|
||||||
|
<li> The Accomplice can't transfer to Traitors. </li>
|
||||||
|
</ul>
|
||||||
|
";
|
||||||
|
#With what roles does this role play best?
|
||||||
|
$playsbestwith = "
|
||||||
|
<ul>
|
||||||
|
<li>Survivalist</li>
|
||||||
|
<li>Spy</li>
|
||||||
|
<li>Hitman</li>
|
||||||
|
<ul>
|
||||||
|
";
|
||||||
|
#Convars
|
||||||
|
$convars = "# enable or disable this role
|
||||||
|
ttt_accom_enabled [0/1] (default: 1)
|
||||||
|
# the percentage of players that are spawned as this role
|
||||||
|
ttt_accom_pct [0.0..1.0] (default: 0.17)
|
||||||
|
# the limit of players that spawn as this role each round, this overwrites the percentage
|
||||||
|
ttt_accom_max [0..n] (default: 1)
|
||||||
|
# the probability each round of this role being spawned at all
|
||||||
|
ttt_accom_random [0..100] (default: 50)
|
||||||
|
# the amount of players needed for this role to spawn
|
||||||
|
ttt_accom_min_players: [0..n] (default: 8)"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Credits
|
||||||
|
#
|
||||||
|
|
||||||
|
#The Steam URL to your addon
|
||||||
|
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2173367759";
|
||||||
|
#The Source URL to your addon
|
||||||
|
$source = "https://github.com/westooooo/ttt2-role_accom";
|
||||||
|
|
||||||
|
#Creator of the Addon
|
||||||
|
$author = "JustSiro105";
|
||||||
|
#Creatorlink
|
||||||
|
$authorurl = "https://steamcommunity.com/profiles/76561198327487098"
|
||||||
|
|
||||||
|
# Credittext (can use the above variables)
|
||||||
|
$ctext = " Westoon[JPN]: creator of this role addon <br> irokuma105: idear of this role addon"
|
||||||
|
?>
|
@ -1,22 +1,56 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
#
|
||||||
|
# COLORS
|
||||||
|
#
|
||||||
|
|
||||||
# Text Color
|
# Text Color
|
||||||
$tcolor = "white";
|
$tcolor = "white";
|
||||||
# This is the color defined by https://materializecss.com/color.html
|
# This is the color defined by https://materializecss.com/color.html
|
||||||
$color = "indigo";
|
$color = "indigo";
|
||||||
#The Steam URL to your addon
|
|
||||||
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2004491494";
|
|
||||||
#The Source URL to your addon
|
|
||||||
$source = "https://github.com/Gensokian/ttt2-role_tra";
|
|
||||||
|
#
|
||||||
|
# BASEINFO
|
||||||
|
#
|
||||||
|
|
||||||
#The Name of the Role
|
#The Name of the Role
|
||||||
$name = "Detective";
|
$name = "Detective";
|
||||||
#The Description of the Role, HTML conform :)
|
#The Description of the Role, HTML conform :)
|
||||||
$description = "Use your gadgets to find the enemies!";
|
$description = "Use your gadgets to find the enemies!";
|
||||||
#Creator of the Addon
|
|
||||||
$author = "Garry";
|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# TABS
|
||||||
|
#
|
||||||
|
|
||||||
#How To play
|
#How To play
|
||||||
$howtoplay = "The Detectives job and the purpose of the equipment is to find out who the Traitors are. A Detective is generally a high profile target to Traitors, due to the Detective's ability to use their DNA scanners to scan bodies which yields evidence. Detectives, when searching bodies, can find extra information, like who he last saw. The Detectives can retrieve unspent equipment credits from dead Detectives and Traitors. Also, all Detectives get a credit when a Traitor is confirmed to be dead.";
|
$howtoplay = "The Detectives job and the purpose of the equipment is to find out who the Traitors are. A Detective is generally a high profile target to Traitors, due to the Detective's ability to use their DNA scanners to scan bodies which yields evidence. Detectives, when searching bodies, can find extra information, like who he last saw. The Detectives can retrieve unspent equipment credits from dead Detectives and Traitors. Also, all Detectives get a credit when a Traitor is confirmed to be dead.";
|
||||||
#With what roles does this role play best?
|
#With what roles does this role play best?
|
||||||
$playsbestwith = "Baseroles";
|
$playsbestwith = "Baseroles";
|
||||||
#Convars
|
#Convars
|
||||||
$convars = "TBD"
|
$convars = "TBD"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Credits
|
||||||
|
#
|
||||||
|
|
||||||
|
#The Steam URL to your addon
|
||||||
|
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2004491494";
|
||||||
|
#The Source URL to your addon
|
||||||
|
$source = "https://github.com/Gensokian/ttt2-role_tra";
|
||||||
|
|
||||||
|
#Creator of the Addon
|
||||||
|
$author = "Garry";
|
||||||
|
#Creatorlink
|
||||||
|
$authorurl = ""
|
||||||
|
|
||||||
|
# Credittext (can use the above variables)
|
||||||
|
$ctext = "This is a base TTT Role"
|
||||||
?>
|
?>
|
||||||
|
@ -1,22 +1,55 @@
|
|||||||
<?php
|
<?php
|
||||||
|
#
|
||||||
|
# COLORS
|
||||||
|
#
|
||||||
|
|
||||||
# Text Color
|
# Text Color
|
||||||
$tcolor = "black";
|
$tcolor = "black";
|
||||||
# This is the color defined by https://materializecss.com/color.html
|
# This is the color defined by https://materializecss.com/color.html
|
||||||
$color = "green darken-5";
|
$color = "green darken-5";
|
||||||
#The Steam URL to your addon
|
|
||||||
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2004491494";
|
|
||||||
#The Source URL to your addon
|
|
||||||
$source = "https://github.com/Gensokian/ttt2-role_tra";
|
|
||||||
|
#
|
||||||
|
# BASEINFO
|
||||||
|
#
|
||||||
|
|
||||||
#The Name of the Role
|
#The Name of the Role
|
||||||
$name = "Innocent";
|
$name = "Innocent";
|
||||||
#The Description of the Role, HTML conform :)
|
#The Description of the Role, HTML conform :)
|
||||||
$description = "(Chuckles) I'm in Danger :)";
|
$description = "(Chuckles) I'm in Danger :)";
|
||||||
#Creator of the Addon
|
|
||||||
$author = "Garry";
|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# TABS
|
||||||
|
#
|
||||||
|
|
||||||
#How To play
|
#How To play
|
||||||
$howtoplay = "As an innocent player, you are the most vulnerable. Innocent players risk being killed by Traitors and being wrongly accused of being a Traitor. They also cannot buy equipment. The player can pick up weapons and use them against would-be killers, but normally, players will be killed, due to the surprise nature of the attack.";
|
$howtoplay = "As an innocent player, you are the most vulnerable. Innocent players risk being killed by Traitors and being wrongly accused of being a Traitor. They also cannot buy equipment. The player can pick up weapons and use them against would-be killers, but normally, players will be killed, due to the surprise nature of the attack.";
|
||||||
#With what roles does this role play best?
|
#With what roles does this role play best?
|
||||||
$playsbestwith = "Traitors :)";
|
$playsbestwith = "Traitors :)";
|
||||||
#Convars
|
#Convars
|
||||||
$convars = "TBD"
|
$convars = "TBD"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Credits
|
||||||
|
#
|
||||||
|
|
||||||
|
#The Steam URL to your addon
|
||||||
|
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2004491494";
|
||||||
|
#The Source URL to your addon
|
||||||
|
$source = "https://github.com/Gensokian/ttt2-role_tra";
|
||||||
|
|
||||||
|
#Creator of the Addon
|
||||||
|
$author = "Garry";
|
||||||
|
#Creatorlink
|
||||||
|
$authorurl = ""
|
||||||
|
|
||||||
|
# Credittext (can use the above variables)
|
||||||
|
$ctext = "This is a base TTT Role"
|
||||||
?>
|
?>
|
||||||
|
@ -1,22 +1,56 @@
|
|||||||
<?php
|
<?php
|
||||||
|
#
|
||||||
|
# COLORS
|
||||||
|
#
|
||||||
|
|
||||||
# Text Color
|
# Text Color
|
||||||
$tcolor = "white";
|
$tcolor = "white";
|
||||||
# This is the color defined by https://materializecss.com/color.html
|
# This is the color defined by https://materializecss.com/color.html
|
||||||
$color = "red darken-5";
|
$color = "red darken-2";
|
||||||
#The Steam URL to your addon
|
|
||||||
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2004491494";
|
|
||||||
#The Source URL to your addon
|
|
||||||
$source = "https://github.com/Gensokian/ttt2-role_tra";
|
|
||||||
|
#
|
||||||
|
# BASEINFO
|
||||||
|
#
|
||||||
|
|
||||||
#The Name of the Role
|
#The Name of the Role
|
||||||
$name = "Traitor";
|
$name = "Traitor";
|
||||||
#The Description of the Role, HTML conform :)
|
#The Description of the Role, HTML conform :)
|
||||||
$description = "Have a plan to kill anyone you meet";
|
$description = "Have a plan to kill anyone you meet";
|
||||||
#Creator of the Addon
|
|
||||||
$author = "Garry";
|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# TABS
|
||||||
|
#
|
||||||
|
|
||||||
#How To play
|
#How To play
|
||||||
$howtoplay = "The Traitors job is to kill all of the Innocent players. Traitors have the toughest job because of how the Innocent normally group together. This disadvantage, however, can be their greatest strength, as when two or more Traitors team up, they can take down the entire group. Of course, other players will grow suspicious when players start disappearing. Be prepared to get scanned, killed, or have to do some killing. Traitors, like Detectives, can buy equipment, mostly weapons. Like Detectives, Traitors can retrieve unspent equipment credits from dead Detectives and Traitors, and will be rewarded with a credit when a Detective is confirmed to be dead.";
|
$howtoplay = "The Traitors job is to kill all of the Innocent players. Traitors have the toughest job because of how the Innocent normally group together. This disadvantage, however, can be their greatest strength, as when two or more Traitors team up, they can take down the entire group. Of course, other players will grow suspicious when players start disappearing. Be prepared to get scanned, killed, or have to do some killing. Traitors, like Detectives, can buy equipment, mostly weapons. Like Detectives, Traitors can retrieve unspent equipment credits from dead Detectives and Traitors, and will be rewarded with a credit when a Detective is confirmed to be dead.";
|
||||||
#With what roles does this role play best?
|
#With what roles does this role play best?
|
||||||
$playsbestwith = "Other Traitors";
|
$playsbestwith = "Other Traitors";
|
||||||
#Convars
|
#Convars
|
||||||
$convars = "TBD"
|
$convars = "TBD"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Credits
|
||||||
|
#
|
||||||
|
|
||||||
|
#The Steam URL to your addon
|
||||||
|
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2004491494";
|
||||||
|
#The Source URL to your addon
|
||||||
|
$source = "https://github.com/Gensokian/ttt2-role_tra";
|
||||||
|
|
||||||
|
#Creator of the Addon
|
||||||
|
$author = "Garry";
|
||||||
|
#Creatorlink
|
||||||
|
$authorurl = ""
|
||||||
|
|
||||||
|
# Credittext (can use the above variables)
|
||||||
|
$ctext = "This is a base TTT Role"
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user