TTT_Role_Overview/roles/en/clairvoyant.php

81 lines
2.4 KiB
PHP

<?php
#
# COLORS
#
# Text Color
$tcolor = 'black';
# This is the color defined by https://materializecss.com/color.html
$color = 'yellow';
#
# BASEINFO
#
#The Name of the Role
$name = 'Clairvoyant';
#The Description of the Role, HTML conform :)
$description = 'Looking at the aura of players surrounding him everything becomes clear for him. Finally someone will be able to stop all these lies.';
#
# TABS
#
#How To play
$howtoplay = "The clairvoyant is an innocent that sees special roles. This includes all special inocent and traitor roles as well as all other special roles in the round. Special roles are all roles besides the normal innocent, traitor and detective. They don't see the special role, they only see if they have one or not.
The amount of roles that the clairvoyant can see can be set with a convar.
Additionally in combination with the sidekick and the jester, they can kill the jester as the only player without receiving a penalty or triggering the jesters winstate! After their death, the jester will immedially respawn as a sidekick of the clairvoyant.";
#With what roles does this role play best?
$playsbestwith = '
<ul>
<li>Jester</li>
<li>Sidekick</li>
<li>Hitman</li>
<ul>
';
#Convars
$convars = "Normal Role Convars (also found in ULX):
<code># enable or disable this role
ttt_clairvoyant_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_clairvoyant_pct [0.0..1.0] (default: 0.13)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_clairvoyant_max [0..n] (default: 1)
# the probability each round of this role being spawned at all
ttt_clairvoyant_random [0..100] (default: 100)
# the amount of players needed for this role to spawn
ttt_clairvoyant_min_players: [0..n] (default: 8)</code>
Rolespecific Convars:
<code># the percentage of visible player's roles
ttt2_cv_visible [0..n] (default: 100)</code>";
#
# Credits
#
#The Steam URL to your addon
$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=1357255271';
#The Source URL to your addon
$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/TTT-2/ttt2-role_cv';
#Creator of the Addon
$author = 'Alf21';
#Creatorlink
$authorurl = 'https://steamcommunity.com/id/alf21';
# Credittext (can use the above variables)
$ctext = 'Alf21: creator of this role addon
Mineotopia: designer of the role icon';
?>