mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
You can no longer create runes/use tome after you've dropped the tome or moved it somewhere else.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3701 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -482,9 +482,11 @@ var/engwords = list("travel", "blood", "join", "hell", "destroy", "technology",
|
|||||||
M << "\red You feel searing heat inside!"
|
M << "\red You feel searing heat inside!"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
attack_self(mob/living/user as mob)
|
attack_self(mob/living/user as mob)
|
||||||
usr = user
|
usr = user
|
||||||
|
if(!usr.canmove || usr.stat || usr.restrained())
|
||||||
|
return
|
||||||
|
|
||||||
if(!wordtravel)
|
if(!wordtravel)
|
||||||
runerandom()
|
runerandom()
|
||||||
if(iscultist(user))
|
if(iscultist(user))
|
||||||
@@ -494,6 +496,10 @@ var/engwords = list("travel", "blood", "join", "hell", "destroy", "technology",
|
|||||||
if (!istype(user.loc,/turf))
|
if (!istype(user.loc,/turf))
|
||||||
user << "\red You do not have enough space to write a proper rune."
|
user << "\red You do not have enough space to write a proper rune."
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (C>=26+runedec+ticker.mode.cult.len) //including the useless rune at the secret room, shouldn't count against the limit of 25 runes - Urist
|
if (C>=26+runedec+ticker.mode.cult.len) //including the useless rune at the secret room, shouldn't count against the limit of 25 runes - Urist
|
||||||
switch(alert("The cloth of reality can't take that much of a strain. By creating another rune, you risk locally tearing reality apart, which would prove fatal to you. Do you still wish to scribe the rune?",,"Yes","No"))
|
switch(alert("The cloth of reality can't take that much of a strain. By creating another rune, you risk locally tearing reality apart, which would prove fatal to you. Do you still wish to scribe the rune?",,"Yes","No"))
|
||||||
if("Yes")
|
if("Yes")
|
||||||
@@ -509,9 +515,13 @@ var/engwords = list("travel", "blood", "join", "hell", "destroy", "technology",
|
|||||||
if("Cancel")
|
if("Cancel")
|
||||||
return
|
return
|
||||||
if("Read it")
|
if("Read it")
|
||||||
|
if(usr.equipped() != src)
|
||||||
|
return
|
||||||
user << browse("[tomedat]", "window=Arcane Tome")
|
user << browse("[tomedat]", "window=Arcane Tome")
|
||||||
return
|
return
|
||||||
if("Notes")
|
if("Notes")
|
||||||
|
if(usr.equipped() != src)
|
||||||
|
return
|
||||||
notedat = {"
|
notedat = {"
|
||||||
<br><b>Word translation notes</b> <br>
|
<br><b>Word translation notes</b> <br>
|
||||||
[words[1]] is <a href='byond://?src=\ref[src];number=1;action=change'>[words[words[1]]]</A> <A href='byond://?src=\ref[src];number=1;action=clear'>Clear</A><BR>
|
[words[1]] is <a href='byond://?src=\ref[src];number=1;action=change'>[words[words[1]]]</A> <A href='byond://?src=\ref[src];number=1;action=clear'>Clear</A><BR>
|
||||||
@@ -528,6 +538,9 @@ var/engwords = list("travel", "blood", "join", "hell", "destroy", "technology",
|
|||||||
// call(/obj/item/weapon/tome/proc/edit_notes)()
|
// call(/obj/item/weapon/tome/proc/edit_notes)()
|
||||||
user << browse("[notedat]", "window=notes")
|
user << browse("[notedat]", "window=notes")
|
||||||
return
|
return
|
||||||
|
if(usr.equipped() != src)
|
||||||
|
return
|
||||||
|
|
||||||
var/w1
|
var/w1
|
||||||
var/w2
|
var/w2
|
||||||
var/w3
|
var/w3
|
||||||
@@ -549,11 +562,17 @@ var/engwords = list("travel", "blood", "join", "hell", "destroy", "technology",
|
|||||||
for (var/w in words)
|
for (var/w in words)
|
||||||
if (words[w] == w3)
|
if (words[w] == w3)
|
||||||
w3 = w
|
w3 = w
|
||||||
|
|
||||||
|
if(usr.equipped() != src)
|
||||||
|
return
|
||||||
|
|
||||||
for (var/mob/V in viewers(src))
|
for (var/mob/V in viewers(src))
|
||||||
V.show_message("\red [user] slices open a finger and begins to chant and paint symbols on the floor.", 3, "\red You hear chanting.", 2)
|
V.show_message("\red [user] slices open a finger and begins to chant and paint symbols on the floor.", 3, "\red You hear chanting.", 2)
|
||||||
user << "\red You slice open one of your fingers and begin drawing a rune on the floor whilst chanting the ritual that binds your life essence with the dark arcane energies flowing through the surrounding world."
|
user << "\red You slice open one of your fingers and begin drawing a rune on the floor whilst chanting the ritual that binds your life essence with the dark arcane energies flowing through the surrounding world."
|
||||||
user.take_overall_damage(1)
|
user.take_overall_damage(1)
|
||||||
if(do_after(user, 50))
|
if(do_after(user, 50))
|
||||||
|
if(usr.equipped() != src)
|
||||||
|
return
|
||||||
var/mob/living/carbon/human/H = user
|
var/mob/living/carbon/human/H = user
|
||||||
var/obj/effect/rune/R = new /obj/effect/rune(user.loc)
|
var/obj/effect/rune/R = new /obj/effect/rune(user.loc)
|
||||||
user << "\red You finish drawing the arcane markings of the Geometer."
|
user << "\red You finish drawing the arcane markings of the Geometer."
|
||||||
|
|||||||
Reference in New Issue
Block a user