Overhaul event mob selection

Create the SSghost_spawns subsystem which serves as the subsystem for polling candidates for a special role. On the outside it works the same as /proc/pollCandidates but unifies everything so that event mob candidacies are a consistent experience
This commit is contained in:
mochi
2020-06-28 00:54:54 +02:00
parent 1bc2721083
commit f547c4d497
6 changed files with 298 additions and 19 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
if(!T)
return kill()
var/list/candidates = pollCandidates("Do you want to play as a blob infested mouse?", ROLE_BLOB, 1)
var/list/candidates = SSghost_spawns.poll_candidates("Do you want to play as a blob infested mouse?", ROLE_BLOB, TRUE, source = /mob/living/simple_animal/mouse/blobinfected)
if(!candidates.len)
return kill()