it compiles, now to fix the maps

This commit is contained in:
Detective Google
2020-04-30 15:49:06 -05:00
parent 02265010d6
commit f6736e862d
9 changed files with 44 additions and 20 deletions
@@ -27,22 +27,7 @@ GLOBAL_LIST_EMPTY(cursed_minds)
return
GLOB.cursed_minds[L.mind] = TRUE
RegisterSignal(L.mind, COMSIG_PARENT_QDELETING, .proc/remove_from_cursed)
var/random_choice = pick("Mob", "Appearance")
switch(random_choice)
if("Mob")
L = wabbajack(L, "animal")
if("Appearance")
var/mob/living/carbon/human/H = wabbajack(L, "humanoid")
randomize_human(H)
var/list/all_species = list()
for(var/stype in subtypesof(/datum/species))
var/datum/species/S = stype
if(initial(S.changesource_flags) & RACE_SWAP)
all_species += stype
var/random_race = pick(all_species)
H.set_species(random_race)
H.dna.unique_enzymes = H.dna.generate_unique_enzymes()
L = H
L = wabbajack(L, "animal") // Appearance randomization removed so citadel players don't get randomized into some ungodly ugly creature and complain
var/turf/T = find_safe_turf()
L.forceMove(T)
to_chat(L, "<span class='notice'>You blink and find yourself in [get_area_name(T)].</span>")