Files
Bubberstation/code/modules/events/wizard/race.dm

24 lines
647 B
Plaintext

/datum/round_event_control/wizard/race //Lizard Wizard? Lizard Wizard.
name = "Race Swap"
weight = 2
typepath = /datum/round_event/wizard/race/
max_occurrences = 5
earliest_start = 0
/datum/round_event/wizard/race/start()
var/all_the_same = 0
var/all_species = typesof(/datum/species) - /datum/species
var/new_species = pick(all_species)
if(prob(50))
all_the_same = 1
for(var/mob/living/carbon/human/H in mob_list) //yes, even the dead
if(H.dna)
H.dna.species = new new_species
H.regenerate_icons()
H << "<span class='notice'>You feel somehow... different?</span>"
if(!all_the_same)
new_species = pick(all_species)