mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-08 16:32:21 +00:00
- Fixes issue 786 .
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4472 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -510,13 +510,16 @@ var/list/sacrificed = list()
|
||||
|
||||
/////////////////////////////////////////FOURTEETH RUNE
|
||||
|
||||
// returns 0 if the rune is not used. returns 1 if the rune is used.
|
||||
communicate()
|
||||
. = 1 // Default output is 1. If the rune is deleted it will return 1
|
||||
var/input = copytext(sanitize(input(usr, "Please choose a message to tell to the other acolytes.", "Voice of Blood", "") as text|null),1,MAX_MESSAGE_LEN)
|
||||
if(!input)
|
||||
if (istype(src))
|
||||
return fizzle()
|
||||
fizzle()
|
||||
return 0
|
||||
else
|
||||
return
|
||||
return 0
|
||||
if(istype(src,/obj/effect/rune))
|
||||
usr.say("O bidai nabora se[pick("'","`")]sma!")
|
||||
else
|
||||
@@ -530,7 +533,7 @@ var/list/sacrificed = list()
|
||||
if (H.current)
|
||||
H.current << "\red \b [input_s]"
|
||||
del(src)
|
||||
return
|
||||
return 1
|
||||
|
||||
/////////////////////////////////////////FIFTEENTH RUNE
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
attack_self(mob/living/user as mob)
|
||||
if(iscultist(user))
|
||||
var/delete = 1
|
||||
switch(imbue)
|
||||
if("newtome")
|
||||
call(/obj/effect/rune/proc/tomesummon)()
|
||||
@@ -26,7 +27,8 @@
|
||||
if("ire", "ego", "nahlizet", "certum", "veri", "jatkaa", "balaq", "mgar", "karazet", "geeri")
|
||||
call(/obj/effect/rune/proc/teleport)(imbue)
|
||||
if("communicate")
|
||||
call(/obj/effect/rune/proc/communicate)()
|
||||
//If the user cancels the talisman this var will be set to 0
|
||||
delete = call(/obj/effect/rune/proc/communicate)()
|
||||
if("deafen")
|
||||
call(/obj/effect/rune/proc/deafen)()
|
||||
if("blind")
|
||||
@@ -38,7 +40,8 @@
|
||||
supply()
|
||||
user.take_organ_damage(5, 0)
|
||||
if(src && src.imbue!="supply" && src.imbue!="runestun")
|
||||
del(src)
|
||||
if(delete)
|
||||
del(src)
|
||||
return
|
||||
else
|
||||
user << "You see strange symbols on the paper. Are they supposed to mean something?"
|
||||
|
||||
Reference in New Issue
Block a user