92 lines
3.0 KiB
PHP
92 lines
3.0 KiB
PHP
<?php
|
|
#
|
|
# COLORS
|
|
#
|
|
|
|
# Text Color
|
|
$tcolor = 'white';
|
|
# This is the color defined by https://materializecss.com/color.html
|
|
$color = 'pink darken-1';
|
|
|
|
|
|
|
|
|
|
#
|
|
# BASEINFO
|
|
#
|
|
|
|
#The Name of the Role
|
|
$name = 'Cupid';
|
|
#The Description of the Role, HTML conform :)
|
|
$description = "Cupid is the role of love. Spread love in this Traitor infested World!";
|
|
|
|
|
|
|
|
|
|
#
|
|
# TABS
|
|
#
|
|
|
|
#How To play
|
|
$howtoplay = "<h6>Cupid:</h6>
|
|
Cupid starts the round with his crossbow. The crossbow will be invisible to other players. 'Shooting' it only makes particles on Cupids end and lets two Players fall in love. Using Cupid's crossbow after someone already died will nullify the effect without warning to prevent abuse.Other than that Cupid is a standard Innocent.
|
|
|
|
<h6>Lovers:</h6>
|
|
After falling in Love the Lovers get notified of their fate and their team and split all their damage between eachother! If a lover miraculously survives the damage split they will die of a broken heart in 5 seconds! When the lovers are in opposite Teams i.e. Innocent and Traitor they will form their own Team and win when everyone else is dead. They can also see their loved one through walls and get notified if their significant other died, before them leaving this world as themself.";
|
|
|
|
#With what roles does this role play best?
|
|
$playsbestwith = '
|
|
<ul>
|
|
<li>Serialkiller</li>
|
|
<ul>
|
|
';
|
|
#Convars
|
|
$convars = 'Normal Role Convars (also found in ULX):
|
|
<code># enable or disable this role
|
|
ttt_cup_enabled [0/1] (default: 1)
|
|
# the percentage of players that are spawned as this role
|
|
ttt_cup_pct [0.0..1.0] (default: 0.15)
|
|
# the limit of players that spawn as this role each round, this overwrites the percentage
|
|
ttt_cup_max [0..n] (default: 1)
|
|
# the probability each round of this role being spawned at all
|
|
ttt_cup_random [0..100] (default: 15)
|
|
# the amount of players needed for this role to spawn
|
|
ttt_cup_min_players: [0..n] (default: 6)</code>
|
|
|
|
Rolespecific Convars:
|
|
<code># whether or not the lovers split their damage
|
|
ttt_cupid_damage_split_enabled [0/1] (default: 1)
|
|
# whether or not the old weapon is used
|
|
ttt_cupid_old_weapon [0/1] (default: 0)
|
|
# whether or not the cupid has to be one of the Lovers
|
|
ttt_cupid_forced_selflove [0/1] (default: 0)
|
|
# whether or not lovers will always be in their own team
|
|
ttt_cupid_lovers_force_own_team [0/1] (default: 0)
|
|
# whether or not cupid will join the loved ones
|
|
ttt_cupid_joins_team_lovers [0/1] (default: 0)
|
|
# how long cupid should be able to use his crossbow
|
|
ttt_cupid_timelimit_magic [0/999] (default:60)</code>';
|
|
|
|
|
|
|
|
#
|
|
# Credits
|
|
#
|
|
|
|
#The Steam URL to your addon
|
|
$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=2605758514';
|
|
#The Source URL to your addon
|
|
$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/Guardian954/ttt2-role_clown_git';
|
|
|
|
#Creator of the Addon
|
|
$author = 'SilverLous';
|
|
#Creatorlink
|
|
$authorurl = 'https://steamcommunity.com/id/Bidoof_is_President';
|
|
|
|
# Credittext (can use the above variables)
|
|
$ctext = 'Alf21, Mineotopia, Tobse, LeBroomer: Creators of the required addon TTT2
|
|
Translation by Tekiad and Blueberryy
|
|
Artwork by Mineotopia';
|
|
|
|
?>
|