96 lines
3.0 KiB
PHP
96 lines
3.0 KiB
PHP
<?php
|
|
#
|
|
# COLORS
|
|
#
|
|
|
|
# Text Color
|
|
$tcolor = "black";
|
|
# This is the color defined by https://materializecss.com/color.html
|
|
$color = "pink lighten-2";
|
|
|
|
|
|
|
|
|
|
#
|
|
# BASEINFO
|
|
#
|
|
|
|
#The Name of the Role
|
|
$name = "Beggar";
|
|
#The Description of the Role, HTML conform :)
|
|
$description = "He just wants an Item, why is everyone so cruel!";
|
|
|
|
|
|
|
|
|
|
#
|
|
# TABS
|
|
#
|
|
|
|
#How To play
|
|
$howtoplay = "A beggar is a Jester like role. They cannot deal damage and appear as a normal Jester to Traitors. They can die but will be resurrected to continue begging for a meaningful life. Their goal is to get dropped a bought item from any role with a shop, once they've been given an item they will convert to the persons team!
|
|
|
|
Example of interactions:
|
|
Detective drops the beggar a weapon -> Beggar becomes innocent
|
|
Traitor or Special traitor drops them a weapon -> Beggar becomes a plain Traitor
|
|
Jackal drops them a weapon -> Beggar becomes a sidekick (if installed) or a Jackal (if sidekick isn't installed)
|
|
Doppelganger drops a weapon -> Beggar becomes the same role as the Doppelganger and is on the Doppelgangers team.
|
|
Have any suggestions for some other special interactions? Drop a comment with your ideas!";
|
|
#With what roles does this role play best?
|
|
$playsbestwith = "
|
|
<ul>
|
|
<li>Jackal</li>
|
|
<li>Amnesiac</li>
|
|
<li></li>
|
|
<ul>
|
|
";
|
|
#Convars
|
|
$convars = "Normal Role Convars (also found in ULX):
|
|
<code># enable or disable this role
|
|
ttt_beggar_enabled [0/1] (default: 1)
|
|
# the percentage of players that are spawned as this role
|
|
ttt_beggar_pct [0.0..1.0] (default: 0.15)
|
|
# the limit of players that spawn as this role each round, this overwrites the percentage
|
|
ttt_beggar_max [0..n] (default: 1)
|
|
# the probability each round of this role being spawned at all
|
|
ttt_beggar_random [0..100] (default: 30)
|
|
# the amount of players needed for this role to spawn
|
|
ttt_beggar_min_players: [0..n] (default: 5)</code>
|
|
|
|
Rolespecific Convars:
|
|
<code># Can the Beggar damage entities or props?
|
|
ttt2_beggar_entity_damage [0/1] (default: 1)
|
|
# Can the Beggar explode, burn, crush, fall, drown??
|
|
ttt2_beggar_environmental_damage [0/1] (default: 1)
|
|
# Should the Beggar respawn on death?
|
|
ttt2_beggar_respawn [0/1] (default: 1)
|
|
# How long should the Beggar take to respawn in seconds?
|
|
ttt2_beggar_respawn_delay [0..60] (default: 3)
|
|
# Who should be notified the Beggar has joined a team?
|
|
ttt2_beggar_reveal_mode [0..3] (default: 0)
|
|
# 0: Never reveal the beggar has changed team
|
|
# 1: Only alert the detective or traiters the beggar has now joined their team
|
|
# 2: Alert all of the beggars new team members
|
|
# 3: Alert everyone of the beggars new team</code>";
|
|
|
|
|
|
|
|
#
|
|
# Credits
|
|
#
|
|
|
|
#The Steam URL to your addon
|
|
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2605752081";
|
|
#The Source URL to your addon
|
|
$source = "https://steamcommunity.com/linkfilter/?url=https://github.com/Guardian954/TTT2-CustomRolesPort";
|
|
|
|
#Creator of the Addon
|
|
$author = "Guardian954";
|
|
#Creatorlink
|
|
$authorurl = "https://steamcommunity.com/id/guardianreborn";
|
|
|
|
# Credittext (can use the above variables)
|
|
$ctext = "Custom Roles for TTT: creator of the original role.";
|
|
|
|
?>
|