mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
Forgot to add file. Also did some slifht fixes to runes.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@561 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
/obj/rune/proc/revealrunes(var/obj/W as obj)
|
||||
var/go=0
|
||||
var/rad
|
||||
var/S=0
|
||||
if(istype(W,/obj/rune))
|
||||
rad = 6
|
||||
go = 1
|
||||
if (istype(W,/obj/item/weapon/paper/talisman))
|
||||
rad = 4
|
||||
go = 1
|
||||
if (istype(W,/obj/item/weapon/storage/bible))
|
||||
rad = 1
|
||||
go = 1
|
||||
if(go)
|
||||
for(var/obj/rune/R in orange(rad,src))
|
||||
if(R!=src)
|
||||
R.visibility=15
|
||||
S=1
|
||||
if(S)
|
||||
if(istype(W,/obj/item/weapon/storage/bible))
|
||||
usr << "\red Arcane markings suddenly glow from underneath a thin layer of dust!"
|
||||
return
|
||||
if(istype(W,/obj/rune))
|
||||
usr.say("Nikt'o barada kla'atu!")
|
||||
for (var/mob/V in viewers(src))
|
||||
V.show_message("\red The rune turns into red dust, reveaing the surrounding runes.", 3)
|
||||
del(src)
|
||||
return
|
||||
if(istype(W,/obj/item/weapon/paper/talisman))
|
||||
usr.whisper("Nikt'o barada kla'atu!")
|
||||
usr << "\red Your talisman turns into red dust, revealing the surrounding runes."
|
||||
for (var/mob/V in orange(1,usr.loc))
|
||||
if(V!=usr)
|
||||
V.show_message("\red Red dust emanates from [usr]'s hands for a moment.", 3)
|
||||
return
|
||||
return
|
||||
if(istype(W,/obj/rune))
|
||||
return fizzle()
|
||||
if(istype(W,/obj/item/weapon/paper/talisman))
|
||||
call(/obj/rune/proc/fizzle)()
|
||||
return
|
||||
@@ -5,7 +5,7 @@
|
||||
for(var/mob/living/carbon/D in R.loc)
|
||||
if(D.health>=-100)
|
||||
var/bdrain = rand(1,25)
|
||||
D << "\red You feel wakened."
|
||||
D << "\red You feel weakened."
|
||||
D.bruteloss += bdrain
|
||||
drain += bdrain
|
||||
if(!drain)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
else
|
||||
usr.whisper("Kla'atu barada nikt'o!")
|
||||
usr << "\red Your talisman turns into gray dust, veiling the surrounding runes."
|
||||
for (var/mob/V in viewers(src))
|
||||
for (var/mob/V in orange(1,src))
|
||||
if(V!=usr)
|
||||
V.show_message("\red Dust emanates from [usr]'s hands for a moment.", 3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user