diff --git a/code/game/gamemodes/cult/cult.dm b/code/game/gamemodes/cult/cult.dm index 717b9ddea3..1391f1dbb5 100644 --- a/code/game/gamemodes/cult/cult.dm +++ b/code/game/gamemodes/cult/cult.dm @@ -1,3 +1,5 @@ +#define CULT_SCALING_COEFFICIENT 9.3 //Roughly one new cultist at roundstart per this many players + /datum/game_mode var/list/datum/mind/cult = list() var/list/cult_objectives = list() @@ -64,7 +66,10 @@ restricted_jobs += "Assistant" //cult scaling goes here - recommended_enemies = 3 + round(num_players()/15) + recommended_enemies = 1 + round(num_players()/CULT_SCALING_COEFFICIENT) + var/remaining = (num_players() % CULT_SCALING_COEFFICIENT) * 10 //Basically the % of how close the population is toward adding another cultis + if(prob(remaining)) + recommended_enemies++ for(var/cultists_number = 1 to recommended_enemies) @@ -307,3 +312,5 @@ SSticker.news_report = CULT_FAILURE text += "
Objective #[obj_count]: [explanation]" to_chat(world, text) + +#undef CULT_SCALING_COEFFICIENT