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
+6 -6
View File
@@ -24,7 +24,7 @@
if(istype(I, /obj/item/weapon/wrench))
user << "<span class='notice'>You start disassembling [src]...</span>"
playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
if(do_after(user, 30))
if(do_after(user, 30, target = src))
playsound(src.loc, 'sound/items/Deconstruct.ogg', 50, 1)
for(var/i = 1, i <= framestackamount, i++)
new framestack(get_turf(src))
@@ -33,7 +33,7 @@
if(istype(I, /obj/item/stack/sheet/plasteel))
var/obj/item/stack/sheet/plasteel/P = I
user << "<span class='notice'>You start adding [P] to [src]...</span>"
if(do_after(user, 50))
if(do_after(user, 50, target = src))
new /obj/structure/table/reinforced(src.loc)
qdel(src)
P.use(1)
@@ -41,7 +41,7 @@
if(istype(I, /obj/item/stack/sheet/metal))
var/obj/item/stack/sheet/metal/M = I
user << "<span class='notice'>You start adding [M] to [src]...</span>"
if(do_after(user, 20))
if(do_after(user, 20, target = src))
new /obj/structure/table(src.loc)
qdel(src)
M.use(1)
@@ -49,7 +49,7 @@
if(istype(I, /obj/item/stack/sheet/glass))
var/obj/item/stack/sheet/glass/G = I
user << "<span class='notice'>You start adding [G] to [src]...</span>"
if(do_after(user, 20))
if(do_after(user, 20, target = src))
new /obj/structure/table/glass(src.loc)
qdel(src)
G.use(1)
@@ -72,7 +72,7 @@
if(istype(I, /obj/item/stack/sheet/mineral/wood))
var/obj/item/stack/sheet/mineral/wood/W = I
user << "<span class='notice'>You start adding [W] to [src]...</span>"
if(do_after(user, 20))
if(do_after(user, 20, target = src))
new /obj/structure/table/wood(src.loc)
qdel(src)
W.use(1)
@@ -80,7 +80,7 @@
if(istype(I, /obj/item/stack/tile/carpet))
var/obj/item/stack/tile/carpet/C = I
user << "<span class='notice'>You start adding [C] to [src]...</span>"
if(do_after(user, 20))
if(do_after(user, 20, target = src))
new /obj/structure/table/wood/poker(src.loc)
qdel(src)
C.use(1)