Places advancedtoolchecks and fixes two-handed weapons for simple_mobs

Modernizes code to today's standards.

Also makes it so that simple_mobs that have hands can use two handed weapons and guns correctly.

Bonus of making it so scugs can now mine and put ointment and bruise packs on.
This commit is contained in:
C.L
2022-07-24 21:06:42 -04:00
parent 93d17d7495
commit d2778bb97f
8 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ var/list/mining_overlay_cache = list()
//Not even going to touch this pile of spaghetti
/turf/simulated/mineral/attackby(obj/item/weapon/W as obj, mob/user as mob)
if (!(istype(usr, /mob/living/carbon/human) || ticker) && ticker.mode.name != "monkey")
if (!user.IsAdvancedToolUser())
to_chat(user, "<span class='warning'>You don't have the dexterity to do this!</span>")
return