TTT_Role_Overview/roles/en/drunk.php

77 lines
1.8 KiB
PHP
Raw Permalink Normal View History

2022-03-28 22:14:20 +00:00
<?php
#
# COLORS
#
# Text Color
$tcolor = 'black';
# This is the color defined by https://materializecss.com/color.html
$color = 'yellow darken-3';
#
# BASEINFO
#
#The Name of the Role
$name = 'Drunk';
#The Description of the Role, HTML conform :)
$description = 'It was a hell of a night.';
#
# TABS
#
#How To play
$howtoplay = "The Drunk is a neutral role. When someone dies, the Drunk has a chance to 'sober up', changing roles to the killed player's.";
#With what roles does this role play best?
$playsbestwith = '
<ul>
<li>Any Role</li>
<ul>
';
#Convars
$convars = 'Normal Role Convars (also found in ULX):
<code># 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)</code>
Rolespecific Convars:
<code># 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)</code>';
#
# 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';
?>