From 94e50ca22b72b4a9cdbdb1c97ac9dd89992211d1 Mon Sep 17 00:00:00 2001
From: TDSSS <32099540+TDSSS@users.noreply.github.com>
Date: Thu, 20 Aug 2020 01:06:21 +0200
Subject: [PATCH] Fixes my stupid mistake
---
_maps/map_files/RandomRuins/SpaceRuins/wizardcrash.dmm | 7 +------
.../awaymissions/mission_code/ruins/wizardcrash.dm | 8 +++++++-
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/_maps/map_files/RandomRuins/SpaceRuins/wizardcrash.dmm b/_maps/map_files/RandomRuins/SpaceRuins/wizardcrash.dmm
index a063d88a252..3add952e8e2 100644
--- a/_maps/map_files/RandomRuins/SpaceRuins/wizardcrash.dmm
+++ b/_maps/map_files/RandomRuins/SpaceRuins/wizardcrash.dmm
@@ -152,12 +152,7 @@
/turf/simulated/floor/wood,
/area/ruin/unpowered)
"az" = (
-/obj/item/spellbook/oneuse/charge{
- desc = "For the technology-hating wizard.";
- spell = /obj/effect/proc_holder/spell/targeted/emplosion/disable_tech;
- spellname = "Disable Technology";
- used = 1
- },
+/obj/item/spellbook/oneuse/emp/used,
/turf/simulated/floor/wood,
/area/ruin/unpowered)
"aA" = (
diff --git a/code/modules/awaymissions/mission_code/ruins/wizardcrash.dm b/code/modules/awaymissions/mission_code/ruins/wizardcrash.dm
index c5b56805213..d23b4e6c1c5 100644
--- a/code/modules/awaymissions/mission_code/ruins/wizardcrash.dm
+++ b/code/modules/awaymissions/mission_code/ruins/wizardcrash.dm
@@ -4,10 +4,16 @@
name = "Mission Briefing"
info = "To the Magnificent Z.A.P.
A small mining base has been created within our territory by wandless scum. Send them a message from the wizard federation they will not forget. I know your kind is rather fragile, but a group of lightly armed miners should not pose any threat to you at all. Just be warned they have a security cyborg for self defence, you might want to tune your spells to that threat. I look forward to hearing of your success.
Grand Magus Abra the Wonderous"
+/obj/item/spellbook/oneuse/emp/used
+ spell = /obj/effect/proc_holder/spell/targeted/emplosion/disable_tech
+ used = TRUE //spawns used
+ spellname = "Disable Technology"
+ icon_state = "bookcharge" //it's a lightning bolt, seems appropriate enough
+ desc = "For the magic-hating wizard on the go."
/obj/effect/spawner/lootdrop/wizardcrash
loot = list(
- /obj/item/guardiancreator = 1, //jackpot.
+ /obj/item/guardiancreator = 1, //jackpot.
/obj/item/spellbook/oneuse/knock = 1, //tresspassing charges incoming
/obj/item/gun/magic/wand/resurrection = 1, //medbay's best friend
/obj/item/spellbook/oneuse/charge = 20, //and now for less useful stuff to dilute the good loot chances