mirror of
https://github.com/KabKebab/GS13.git
synced 2026-05-29 10:39:03 +01:00
Dynamic blocks
I hope the executes work, because I have tested nothing.
This commit is contained in:
@@ -753,7 +753,7 @@
|
||||
// //
|
||||
//////////////////////////////////////////////
|
||||
|
||||
/datum/dynamic_ruleset/latejoin/bloodsucker
|
||||
/datum/dynamic_ruleset/midround/bloodsucker
|
||||
name = "Bloodsucker Infiltrator"
|
||||
//config_tag = "latejoin_bloodsucker"
|
||||
antag_datum = ANTAG_DATUM_BLOODSUCKER
|
||||
@@ -761,13 +761,16 @@
|
||||
restricted_roles = list("AI", "Cyborg")
|
||||
protected_roles = list("Security Officer", "Warden", "Detective", "Head of Security", "Captain", "Head of Personnel", "Chief Engineer", "Chief Medical Officer", "Research Director", "Quartermaster")
|
||||
required_candidates = 1
|
||||
enemy_roles = list("Security Officer","Head of Security","Captain","AI","Cyborg","Chaplain","Curator")
|
||||
required_enemies = list(3,2,2,2,2,2,2,2,2,2)
|
||||
weight = 3
|
||||
cost = 10
|
||||
requirements = list(90,80,70,60,55,50,45,40,35,30)
|
||||
requirements = list(101,101,101,60,55,50,45,40,35,30)
|
||||
high_population_requirement = 30
|
||||
repeatable = TRUE
|
||||
repeatable = FALSE
|
||||
chaos_min = 4.0
|
||||
|
||||
/datum/dynamic_ruleset/latejoin/bloodsucker/execute()
|
||||
/datum/dynamic_ruleset/midround/bloodsucker/execute()
|
||||
var/mob/M = pick(candidates)
|
||||
assigned += M.mind
|
||||
M.mind.special_role = antag_flag
|
||||
|
||||
@@ -843,10 +843,10 @@
|
||||
restricted_roles = list("Cyborg", "AI")
|
||||
required_candidates = 1
|
||||
weight = 3
|
||||
cost = 10
|
||||
requirements = list(101,101,50,40,40,30,30,30,20,20)
|
||||
cost = 0
|
||||
requirements = list(101,101,101,70,60,60,50,50,50,40)
|
||||
high_population_requirement = 10
|
||||
chaos_min = 2.9
|
||||
chaos_min = 4.0
|
||||
chaos_max = 4.9
|
||||
|
||||
/datum/dynamic_ruleset/roundstart/bloodsucker/pre_execute()
|
||||
|
||||
Reference in New Issue
Block a user