diff --git a/code/datums/mind.dm b/code/datums/mind.dm index 5f0613504fe..234f525931d 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -752,6 +752,7 @@ datum/mind ticker.mode.wizards -= src special_role = null current.spellremove(current, config.feature_object_spell_system? "object":"verb") + current.faction = list("Station") current << "\red You have been brainwashed! You are no longer a wizard!" log_admin("[key_name_admin(usr)] has de-wizard'ed [current].") if("wizard") @@ -760,6 +761,7 @@ datum/mind special_role = "Wizard" //ticker.mode.learn_basic_spells(current) current << "\red You are the Space Wizard!" + current.faction = list("wizard") log_admin("[key_name_admin(usr)] has wizard'ed [current].") if("lair") current.loc = pick(wizardstart) diff --git a/code/game/gamemodes/wizard/artefact.dm b/code/game/gamemodes/wizard/artefact.dm index 98b1044709e..36af0c78cc8 100644 --- a/code/game/gamemodes/wizard/artefact.dm +++ b/code/game/gamemodes/wizard/artefact.dm @@ -102,7 +102,7 @@ M.mind.objectives += new_objective ticker.mode.traitors += M.mind M.mind.special_role = "apprentice" - + M.faction = list("wizard") else H << "Unable to reach your apprentice! You can either attack the spellbook with the contract to refund your points, or wait and try again later." return diff --git a/code/game/gamemodes/wizard/wizard.dm b/code/game/gamemodes/wizard/wizard.dm index 3f55246e3fd..dfad84a4c97 100644 --- a/code/game/gamemodes/wizard/wizard.dm +++ b/code/game/gamemodes/wizard/wizard.dm @@ -174,6 +174,8 @@ wizard_mob.equip_to_slot_or_del(new /obj/item/weapon/teleportation_scroll(wizard_mob), slot_r_store) wizard_mob.equip_to_slot_or_del(new /obj/item/weapon/spellbook(wizard_mob), slot_r_hand) + wizard_mob.faction = list("wizard") + wizard_mob << "You will find a list of available spells in your spell book. Choose your magic arsenal carefully." wizard_mob << "In your pockets you will find a teleport scroll. Use it as needed." wizard_mob.mind.store_memory("Remember: do not forget to prepare your spells.")