Merge pull request #188 from Carn/Issue109

Resolves Issue #109 - hiding/revealing runes now sets var/invisibility f...
This commit is contained in:
Cael Aislinn
2013-04-01 10:02:49 -07:00
2 changed files with 2 additions and 5 deletions
-3
View File
@@ -57,7 +57,6 @@ var/engwords = list("travel", "blood", "join", "hell", "destroy", "technology",
anchored = 1
icon = 'icons/obj/rune.dmi'
icon_state = "1"
var/visibility = 0
unacidable = 1
layer = TURF_LAYER
@@ -146,8 +145,6 @@ var/engwords = list("travel", "blood", "join", "hell", "destroy", "technology",
return
if(!word1 || !word2 || !word3 || prob(user.getBrainLoss()))
return fizzle()
// if(!src.visibility)
// src.visibility=1
if(word1 == wordtravel && word2 == wordself)
return teleport(src.word3)
if(word1 == wordsee && word2 == wordblood && word3 == wordhell)
+2 -2
View File
@@ -310,7 +310,7 @@ var/list/sacrificed = list()
var/S=0
for(var/obj/effect/rune/R in orange(rad,src))
if(R!=src)
R:visibility=0
R.invisibility=101
S=1
if(S)
if(istype(src,/obj/effect/rune))
@@ -699,7 +699,7 @@ var/list/sacrificed = list()
if(go)
for(var/obj/effect/rune/R in orange(rad,src))
if(R!=src)
R:visibility=15
R.invisibility=0
S=1
if(S)
if(istype(W,/obj/item/weapon/nullrod))