Fix up show antagonist to list heroes and villains

This commit is contained in:
ZomgPonies
2015-05-06 03:07:46 -04:00
parent 2beaae7734
commit a02bb8a1ae
6 changed files with 33 additions and 19 deletions
+6
View File
@@ -513,6 +513,12 @@
if(ticker.mode.xenos.len)
dat += check_role_table("Xenos", ticker.mode.xenos, src)
if(ticker.mode.superheroes.len)
dat += check_role_table("Superheroes", ticker.mode.superheroes, src)
if(ticker.mode.supervillains.len)
dat += check_role_table("Supervillains", ticker.mode.supervillains, src)
var/datum/game_mode/mutiny/mutiny = get_mutiny_mode()
if(mutiny)
dat += mutiny.check_antagonists_ui(src)
+2 -2
View File
@@ -289,8 +289,8 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
alert("Wait until the game starts")
return
if(ishuman(M))
var/type = input("Pick the Superhero","Superhero") as null|anything in all_superheros
var/datum/superheros/S = all_superheros[type]
var/type = input("Pick the Superhero","Superhero") as null|anything in all_superheroes
var/datum/superheroes/S = all_superheroes[type]
if(S)
S.assign_genes(M)
S.assign_spells(M)