BAR NOW SHOWS UP ON THE OBJECT YOU'RE INTERACTING WITH

This commit is contained in:
Iamgoofball
2015-06-13 13:58:08 -07:00
parent e28d057ddf
commit c2256d41fc
96 changed files with 211 additions and 211 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ var/global/list/rockTurfEdgeCache
user << "<span class='notice'>You start picking...</span>"
P.playDigSound()
if(do_after(user,P.digspeed))
if(do_after(user,P.digspeed, target = src))
if(istype(src, /turf/simulated/mineral)) //sanity check against turf being deleted during digspeed delay
user << "<span class='notice'>You finish cutting into the rock.</span>"
P.update_icon()
+1 -1
View File
@@ -326,7 +326,7 @@
flick("coin_[cmineral]_flip", src)
icon_state = "coin_[cmineral]_[coinflip]"
playsound(user.loc, 'sound/items/coinflip.ogg', 50, 1)
if(do_after(user, 15))
if(do_after(user, 15, target = src))
user.visible_message("[user] has flipped [src]. It lands on [coinflip].", \
"<span class='notice'>You flip [src]. It lands on [coinflip].</span>", \
"<span class='italics'>You hear the clattering of loose change.</span>")