From deccfd6a24c64073b91a466de9b603354d15cd2c Mon Sep 17 00:00:00 2001 From: FreeStylaLT Date: Sun, 17 Jul 2016 16:40:54 +0300 Subject: [PATCH] Replaces hijack with an open-ended objective to wreck some shit up --- code/game/gamemodes/objective.dm | 8 +++++++- code/game/gamemodes/wizard/wizard.dm | 7 +++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/code/game/gamemodes/objective.dm b/code/game/gamemodes/objective.dm index afda54e4204..44736d2ab4d 100644 --- a/code/game/gamemodes/objective.dm +++ b/code/game/gamemodes/objective.dm @@ -845,4 +845,10 @@ var/list/potential_theft_objectives=subtypesof(/datum/theft_objective) \ target = /obj/item/device/flash target_amount = 6 itemname = "six flashes" - explanation_text = "We are running low on spare parts. Trade for [itemname]." \ No newline at end of file + explanation_text = "We are running low on spare parts. Trade for [itemname]." + +//wizard + +/datum/objective/wizchaos + explanation_text = "Wreak havoc upon the station as much you can. Send those wandless Nanotrasen scum a message!" + completed = 1 \ No newline at end of file diff --git a/code/game/gamemodes/wizard/wizard.dm b/code/game/gamemodes/wizard/wizard.dm index e5106332618..24f55d665d3 100644 --- a/code/game/gamemodes/wizard/wizard.dm +++ b/code/game/gamemodes/wizard/wizard.dm @@ -67,10 +67,9 @@ set_antag_hud(wiz_mind.current, null) /datum/game_mode/proc/forge_wizard_objectives(var/datum/mind/wizard) - if(!(locate(/datum/objective/hijack) in wizard.objectives)) - var/datum/objective/hijack/hijack_objective = new - hijack_objective.owner = wizard - wizard.objectives += hijack_objective + var/datum/objective/wizchaos/wiz_objective = new + wiz_objective.owner = wizard + wizard.objectives += wiz_objective return