Fix a couple of bugs, add wrapping paper and destination tagger

This commit is contained in:
BlackMajor
2020-01-07 15:33:16 +13:00
parent a4d2ea0281
commit 5a97259ba9
3 changed files with 48 additions and 60 deletions
+2 -1
View File
@@ -48,6 +48,7 @@
/turf/closed/mineral/attackby(obj/item/pickaxe/I, mob/user, params)
var/stored_dir = user.dir
if (!user.IsAdvancedToolUser())
to_chat(usr, "<span class='warning'>You don't have the dexterity to do this!</span>")
return
@@ -67,7 +68,7 @@
if(ismineralturf(src))
if(I.digrange > 0)
for(var/turf/closed/mineral/M in range(user,range))
if(get_dir(user,M)&user.dir)
if(get_dir(user,M)&stored_dir)
M.gets_drilled()
to_chat(user, "<span class='notice'>You finish cutting into the rock.</span>")
gets_drilled(user)