2022-03-28 18:29:20 +00:00
< ? php
#
# COLORS
#
# Text Color
2022-03-28 20:18:31 +00:00
$tcolor = 'black' ;
2022-03-28 18:29:20 +00:00
# This is the color defined by https://materializecss.com/color.html
2022-03-28 20:18:31 +00:00
$color = 'yellow' ;
2022-03-28 18:29:20 +00:00
#
# BASEINFO
#
#The Name of the Role
$name = 'Clairvoyant' ;
#The Description of the Role, HTML conform :)
2022-03-28 20:18:31 +00:00
$description = 'Looking at the aura of players surrounding him everything becomes clear for him. Finally someone will be able to stop all these lies.' ;
2022-03-28 18:29:20 +00:00
#
# TABS
#
#How To play
2022-03-28 20:18:31 +00:00
$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 . " ;
2022-03-28 18:29:20 +00:00
#With what roles does this role play best?
$playsbestwith = '
< ul >
2022-03-28 20:18:31 +00:00
< li > Jester </ li >
< li > Sidekick </ li >
< li > Hitman </ li >
2022-03-28 18:29:20 +00:00
< ul >
' ;
#Convars
2022-03-28 20:18:31 +00:00
$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 >
2022-03-28 18:29:20 +00:00
Rolespecific Convars :
2022-03-28 20:18:31 +00:00
< code > # the percentage of visible player's roles
ttt2_cv_visible [ 0. . n ] ( default : 100 ) </ code > " ;
2022-03-28 18:29:20 +00:00
#
# Credits
#
#The Steam URL to your addon
2022-03-28 20:18:31 +00:00
$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=1357255271' ;
2022-03-28 18:29:20 +00:00
#The Source URL to your addon
2022-03-28 20:18:31 +00:00
$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/TTT-2/ttt2-role_cv' ;
2022-03-28 18:29:20 +00:00
#Creator of the Addon
2022-03-28 20:18:31 +00:00
$author = 'Alf21' ;
2022-03-28 18:29:20 +00:00
#Creatorlink
2022-03-28 20:18:31 +00:00
$authorurl = 'https://steamcommunity.com/id/alf21' ;
2022-03-28 18:29:20 +00:00
# Credittext (can use the above variables)
2022-03-28 20:18:31 +00:00
$ctext = ' Alf21 : creator of this role addon
Mineotopia : designer of the role icon ' ;
2022-03-28 18:29:20 +00:00
?>