NEW BOO SYSTEM!

Conflicts:
	code/datums/spell.dm
	code/modules/mob/dead/observer/observer.dm
This commit is contained in:
Rob Nelson
2014-01-19 05:22:20 -05:00
committed by ZomgPonies
parent ef2586a3e7
commit cd2c20a6fe
9 changed files with 166 additions and 32 deletions
+8
View File
@@ -38,6 +38,9 @@
dat += "<B>Memorize which spell:</B><BR>"
dat += "<I>The number after the spell name is the cooldown time.</I><BR>"
dat += "<A href='byond://?src=\ref[src];spell_choice=noclothes'>Remove Clothes Requirement</A>"
dat += "<b>Warning: this takes away 2 spell choices.</b><BR>"
dat += "<A href='byond://?src=\ref[src];spell_choice=magicmissile'>Magic Missile</A> (15)<BR>"
dat += "<I>This spell fires several, slow moving, magic projectiles at nearby targets. If they hit a target, it is paralyzed and takes minor damage.</I><BR>"
@@ -187,6 +190,11 @@
*/
if(!already_knows)
switch(href_list["spell_choice"])
if("noclothes")
feedback_add_details("wizard_spell_learned","NC")
H.spell_list += new /obj/effect/proc_holder/spell/noclothes
temp = "This teaches you how to use your spells without your magical garb, truely you are the wizardest."
uses--
if("magicmissile")
feedback_add_details("wizard_spell_learned","MM") //please do not change the abbreviation to keep data processing consistent. Add a unique id to any new spells
H.spell_list += new /obj/effect/proc_holder/spell/targeted/projectile/magic_missile(H)
+12 -1
View File
@@ -36,6 +36,8 @@
var/friendc = 0 // track if Friend Computer mode
var/spookymode=0 // Ghosts.
maptext_height = 26
maptext_width = 32
@@ -49,11 +51,14 @@
// timed process
process()
if(stat & NOPOWER)
remove_display()
return
if(spookymode)
spookymode = 0
remove_display()
return
update()
emp_act(severity)
@@ -206,6 +211,8 @@
anchored = 1
density = 0
var/spookymode=0 // Ghosts
var/mode = 0 // 0 = Blank
// 1 = AI emoticon
// 2 = Blue screen of death
@@ -219,6 +226,10 @@
if(stat & NOPOWER)
overlays.Cut()
return
if(spookymode)
spookymode = 0
overlays.Cut()
return
update()