TTT_Role_Overview/roles/en/banker.php

109 lines
4.3 KiB
PHP

<?php
#
# COLORS
#
# Text Color
$tcolor = "black";
# This is the color defined by https://materializecss.com/color.html
$color = "light-green lighten-4";
#
# BASEINFO
#
#The Name of the Role
$name = "Banker";
#The Description of the Role, HTML conform :)
$description = "While the Detectives get all of the credit, everyone knows that Terrorist HQ would be nothing without its loyal Bankers.";
#
# TABS
#
#How To play
$howtoplay = 'The Banker is a "Detective" subrole who receives all of the credits that every other role spends in the shop. If there are multiple bankers, the credits are split among them in an equitable round robin manner.
The Banker could use a better workout regimen and diet plan. They have some trouble sprinting long distances and receive more damage than the average person.
For maximum profit, the Banker can transfer credits to a trustworthy Detective/Survivalist, who can then buy something and give the Banker back their hard-earned credits (This can only be done a certain number of times).
The best way to combat the Banker is through frugal spending and proper planning.';
#With what roles does this role play best?
$playsbestwith = "
<ul>
<li>Survivalist</li>
<li>Serialkiller</li>
<li>Jackal</li>
<li>Any other non-detective role that has access to a shop.</li>
<ul>
";
#Convars
$convars = "Normal Role Convars (also found in ULX):
<code># enable or disable this role
ttt_banker_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_banker_pct [0.0..1.0] (default: 0.13)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_banker_max [0..n] (default: 1)
# the probability each round of this role being spawned at all
ttt_banker_random [0..100] (default: 30)
# the amount of players needed for this role to spawn
ttt_banker_min_players: [0..n] (default: 5)
# the amount of credits this role starts with
ttt_bank_credits_starting [0..n] (default: 2)</code>
Rolespecific Convars:
<code># How many credits can the Banker receive from purchases other shoppers make (infinite if -1)?
ttt2_banker_credit_ceiling [-1..n] (default: -1)
# Should the banker's murderer receive all of their credits (provided that they are a shopping role)?
ttt2_banker_ron_swanswon_will [0/1] (default: 0)
# If the Banker dies, how should everyone be informed?
ttt2_banker_broadcast_death_mode [0..3] (default: 0)
# 0: No broadcasting will occur
# 1: Everyone will be informed that the Banker committed suicide, regardless of what actually happened
# 2: Everyone will be informed that the Banker has died
# 3: If possible, the Banker's murderer will be made known to all, otherwise broadcast that they died under mysterious circumstances
# Should the server broadcast anyone who covertly searches the Banker's dead body?
ttt2_banker_broadcast_covert_search [0/1] (default: 0)
# How many credits can the Banker give out to others per round (infinite if -1)?
ttt2_banker_max_num_handouts [-1..n] (default: 2)
# This multiplier applies directly to the damage that the banker would receive (ex. 2.0 means the banker takes twice as much damage from all sources).
ttt2_banker_recv_dmg_multi [0.0..n.m] (default: 1.25)
# This multiplier applies directly to the banker's speed (ex. 0.5 means the banker moves half as fast).
ttt2_banker_speed_multi [0.0..n.m] (default: 1.0)
# This multiplier applies directly to the banker's stamina regen (ex. 0.5 means the sprint bar fills up half the normal speed).
ttt2_banker_stamina_regen [0.0..n.m] (default: 0.35)
# This multiplier applies directly to how fast the banker's stamina bar depletes (ex. 2.0 means the sprint bar decays twice as fast).
ttt2_banker_stamina_drain [0.0..n.m] (default: 1.25)</code>";
#
# Credits
#
#The Steam URL to your addon
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2402704831";
#The Source URL to your addon
$source = "https://steamcommunity.com/linkfilter/?url=https://github.com/AaronMcKenney/ttt2-role_bank";
#Creator of the Addon
$author = "BlackMagicFine";
#Creatorlink
$authorurl = "https://steamcommunity.com/profiles/76561198025772353/";
# Credittext (can use the above variables)
$ctext = "BlackMagicFine: creator of this role addon
Smuggles: designer of the role icon
Wasted: designer of the role thumbnail
Veldrim: heavily assisted with testing";
?>