Bay wizard port/rework (#1635)

Ports the newest bay wizard version, with some additions and changes.

General changes:
-ported the newest bay wizard
-wizards can select some school of magic, which also changes their spell selection as whole.
-added several new spells, like raise dead, contracts that bind the person with the wizard, and more.
-added wands, limited sources of certain types of effects/spell, also with their own bad effects for non wizards
-changed the wizard checks to a faction check instead of a mind check
-fixed wizards without certain slots due to race being fucked over due to it
-added new artifacts
-balanced some spells like the emp
-added a lot of new sounds to spell, mostly from tg
-remove horse mask from spell selection, also, you can melt the mask with acid now
-wizard's spell are now displayed at round end like traitors and what they did buy
-also fixes vaurca, and vox, antags spawning without a mask by default
This commit is contained in:
Alberyk
2017-02-07 14:45:42 -02:00
committed by skull132
parent 723f5c3fb2
commit ed6dbee896
111 changed files with 3213 additions and 658 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
origin_tech = list(TECH_BLUESPACE = 4)
/obj/item/weapon/teleportation_scroll/attack_self(mob/user as mob)
if(!(user.mind.assigned_role == "Space Wizard"))
if(!(user.faction == "Space Wizard"))
if(istype(user, /mob/living/carbon/human))
var/mob/living/carbon/human/H = user
var/obj/item/organ/O = H.internal_organs_by_name[pick("eyes","appendix","kidneys","liver", "heart", "lungs", "brain")]
@@ -231,3 +231,23 @@
/obj/item/weapon/soap,
/obj/item/weapon/storage/bag/trash
)
/obj/item/weapon/storage/belt/wands
name = "wand belt"
desc = "A belt designed to hold various rods of power."
icon_state = "soulstonebelt"
item_state = "soulstonebelt"
storage_slots = 5
max_w_class = 3
max_storage_space = 28
can_hold = list(
/obj/item/weapon/gun/energy/wand
)
/obj/item/weapon/storage/belt/wands/full/New()
..()
new /obj/item/weapon/gun/energy/wand/fire(src)
new /obj/item/weapon/gun/energy/wand/polymorph(src)
new /obj/item/weapon/gun/energy/wand/teleport(src)
new /obj/item/weapon/gun/energy/wand/force(src)
new /obj/item/weapon/gun/energy/wand/animation(src)
@@ -15,6 +15,11 @@
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
user.do_attack_animation(M)
if(user.spell_list.len)
user.silence_spells(300) //30 seconds
user << "<span class='danger'>You've been silenced!</span>"
return
if (!(istype(user, /mob/living/carbon/human) || ticker) && ticker.mode.name != "monkey")
user << "<span class='danger'>You don't have the dexterity to do this!</span>"