mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
NEW BOO SYSTEM!
Conflicts: code/datums/spell.dm code/modules/mob/dead/observer/observer.dm
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user