mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-24 08:02:57 +00:00
24 lines
647 B
Plaintext
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)
|