mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
More dynamic logging (#26874)
This commit is contained in:
@@ -250,6 +250,7 @@ var/stacking_limit = 90
|
||||
rule.mode = src
|
||||
rule.candidates = candidates.Copy()
|
||||
rule.trim_candidates()
|
||||
|
||||
if (rule.ready(1))//ignoring enemy job requirements
|
||||
picking_roundstart_rule(list(rule))
|
||||
forced_rules++
|
||||
@@ -298,7 +299,7 @@ var/stacking_limit = 90
|
||||
|
||||
var/i = 0
|
||||
var/list/drafted_rules = list()
|
||||
|
||||
|
||||
for (var/datum/dynamic_ruleset/roundstart/rule in roundstart_rules)
|
||||
if (rule.acceptable(roundstart_pop_ready,threat_level) && threat >= rule.cost) //if we got the population and threat required
|
||||
i++ //we check whether we've got eligible players
|
||||
|
||||
@@ -283,6 +283,7 @@
|
||||
continue
|
||||
|
||||
/datum/dynamic_ruleset/roundstart/ready(var/forced = 0)
|
||||
message_admins("[name]: [length(candidates)] candidates")
|
||||
if (!forced)
|
||||
if(!check_enemy_jobs(FALSE))
|
||||
return 0
|
||||
|
||||
@@ -330,6 +330,7 @@
|
||||
|
||||
var/indice_pop = min(10, round(mode.roundstart_pop_ready/5) + 1)
|
||||
var/operatives = operative_cap[indice_pop]
|
||||
message_admins("[name]: indice_pop = [indice_pop], operatives = [operatives]")
|
||||
var/leader = 1
|
||||
for(var/operatives_number = 1 to operatives)
|
||||
if(candidates.len <= 0)
|
||||
|
||||
Reference in New Issue
Block a user