July update: vaurca and mining fixes (#5047)

-fixes #5046
-fixes #5037
-fixes #5036
-changes that you can only climb walls by being in the grab intent, to avoid falls by accident when clicking a wall
-changes the cooldown of the warform at bygone's request
This commit is contained in:
Alberyk
2018-07-28 20:31:33 -03:00
committed by Erki
parent 37ce8ff32c
commit 0b2ea5f78a
9 changed files with 16 additions and 11 deletions
+1 -4
View File
@@ -342,9 +342,6 @@ var/list/mineral_can_smooth_with = list(
new /obj/structure/sculpting_block(src)
GetDrilled(1)
else
return attack_hand(user)
/turf/simulated/mineral/proc/clear_ore_effects()
if (my_mineral)
qdel(my_mineral)
@@ -517,7 +514,7 @@ var/list/mineral_can_smooth_with = list(
add_fingerprint(user)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if(ishuman(user))
if(ishuman(user) && user.a_intent == I_GRAB)
var/mob/living/carbon/human/H = user
var/turf/destination = GetAbove(H)