Datumizes Wizards (#24702)

* fucking wizards

* this too

* this

* i think thats it

* okay lets do this

* remove commented code

* gdn review

* welp

* fix runtime

* yes

* lewc review
This commit is contained in:
Contrabang
2024-03-21 16:56:55 -04:00
committed by GitHub
parent f947204550
commit 323d23acc9
21 changed files with 417 additions and 399 deletions
+2 -2
View File
@@ -647,9 +647,9 @@ GLOBAL_VAR_INIT(nologevent, 0)
antag_list += "Cultist"
if(M.mind in SSticker.mode.syndicates)
antag_list += "Nuclear Operative"
if(M.mind in SSticker.mode.wizards)
if(iswizard(M))
antag_list += "Wizard"
if(M.mind in SSticker.mode.changelings)
if(ischangeling(M))
antag_list += "Changeling"
if(M.mind in SSticker.mode.abductors)
antag_list += "Abductor"
+4 -3
View File
@@ -147,10 +147,11 @@
candidates -= selected
var/mob/living/carbon/human/new_character = makeBody(selected)
new_character.mind.make_Wizard()
new_character.mind.add_antag_datum(/datum/antagonist/wizard)
new_character.forceMove(pick(GLOB.wizardstart))
dust_if_respawnable(selected)
return 1
return 0
return TRUE
return FALSE
/datum/admins/proc/makeCult()
+4 -2
View File
@@ -455,9 +455,11 @@ Traitors and the like can also be revived with the previous role mostly intact.
else
new_character.mind.add_antag_datum(/datum/antagonist/traitor)
if("Wizard")
new_character.loc = pick(GLOB.wizardstart)
new_character.forceMove(pick(GLOB.wizardstart))
//ticker.mode.learn_basic_spells(new_character)
SSticker.mode.equip_wizard(new_character)
var/datum/antagonist/wizard/wizard = new_character.mind.has_antag_datum(/datum/antagonist/wizard)
if(istype(wizard))
wizard.equip_wizard()
if("Syndicate")
var/obj/effect/landmark/synd_spawn = locate("landmark*Syndicate-Spawn")
if(synd_spawn)