78 lines
1.7 KiB
PHP
78 lines
1.7 KiB
PHP
<?php
|
|
#
|
|
# COLORS
|
|
#
|
|
|
|
# Text Color
|
|
$tcolor = 'white';
|
|
# This is the color defined by https://materializecss.com/color.html
|
|
$color = 'brown darken-2';
|
|
|
|
|
|
|
|
|
|
#
|
|
# BASEINFO
|
|
#
|
|
|
|
#The Name of the Role
|
|
$name = 'Elderly';
|
|
#The Description of the Role, HTML conform :)
|
|
$description = "You wouldn't hurt a poor old man, would you?";
|
|
|
|
|
|
|
|
|
|
#
|
|
# TABS
|
|
#
|
|
|
|
#How To play
|
|
$howtoplay = "The Elderly is a neutral role with no initial team. The Elderly's goal is to survive until the end of the round, where they will then join the winning team if they are still alive. The Elderly also has a maximum hp of 20, which can be changed with convar settings.
|
|
|
|
Try to convince everyone you are an Elderly before traitors and other evil roles try to kill you.";
|
|
#With what roles does this role play best?
|
|
$playsbestwith = '
|
|
<ul>
|
|
<li>Serial Killer</li>
|
|
<li>Jackal</li>
|
|
<ul>
|
|
';
|
|
#Convars
|
|
$convars = 'Normal Role Convars (also found in ULX):
|
|
<code># 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)</code>
|
|
|
|
Rolespecific Convars:
|
|
<code># What is the maximum and starting hp for an Elderly?
|
|
ttt2_eld_health [0..100] (default: 20)</code>';
|
|
|
|
|
|
|
|
#
|
|
# 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 = '';
|
|
|
|
?>
|