mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
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:
@@ -159,6 +159,10 @@
|
||||
var/obj/item/organ/external/hand = H.organs_by_name[check_hand]
|
||||
if(istype(hand) && hand.is_usable())
|
||||
return TRUE
|
||||
var/mob/living/simple_mob/S = M
|
||||
if(istype(S) && S.has_hands) //Are they a mob? And do they have hands?
|
||||
return TRUE
|
||||
|
||||
return FALSE
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user