Traitor scale added to game_options.txt

-Added traitor_scaling_coeff and changeling_scaling_coeff to server configuration files, allowing server operators to adjust the values to their preference.
-Updated changelog
This commit is contained in:
Ikarrus
2013-06-09 12:32:58 -06:00
parent 9e719a5e56
commit 19285384ef
8 changed files with 38 additions and 29 deletions
+10 -6
View File
@@ -76,7 +76,9 @@
var/allow_random_events = 0 // enables random events mid-round when set to 1
var/allow_ai = 1 // allow ai job
var/traitor_scaling = 0 //if amount of traitors scales based on amount of players
var/traitor_scaling_coeff = 6 //how much does the amount of players get divided by to determine traitors
var/changeling_scaling_coeff = 10 //how much does the amount of players get divided by to determine changelings
var/protect_roles_from_antagonist = 0// If security and such can be tratior/cult/other
var/allow_latejoin_antagonists = 0 // If late-joining players can be traitor/changeling
var/continuous_round_rev = 0 // Gamemodes which end instantly will instead keep on going until the round ends by escape shuttle or nuke.
@@ -318,15 +320,17 @@
if("gateway_delay")
config.gateway_delay = text2num(value)
if("continuous_round_rev")
config.continuous_round_rev = 1
config.continuous_round_rev = 1
if("continuous_round_wiz")
config.continuous_round_wiz = 1
config.continuous_round_wiz = 1
if("continuous_round_malf")
config.continuous_round_malf = 1
config.continuous_round_malf = 1
if("ghost_interaction")
config.ghost_interaction = 1
if("traitor_scaling")
config.traitor_scaling = 1
if("traitor_scaling_coeff")
config.traitor_scaling_coeff = text2num(value)
if("changeling_scaling_coeff")
config.changeling_scaling_coeff = text2num(value)
if("probability")
var/prob_pos = findtext(value, " ")
var/prob_name = null