Arm implants now support more than two hands. (#45843)

* Adds multiple hand support to arm implants

* Kills those nasty static lists.

* Update inventory.dm
This commit is contained in:
nemvar
2019-08-16 20:56:25 +02:00
committed by AnturK
parent 4eedcb1371
commit 11318bfc3c
5 changed files with 37 additions and 52 deletions
+2 -2
View File
@@ -429,11 +429,11 @@ GLOBAL_LIST_INIT(hallucination_list, list(
var/mob/living/carbon/human/H = pick(mob_pool)
feedback_details += " Mob: [H.real_name]"
var/free_hand = H.get_empty_held_index_for_side(side = "left")
var/free_hand = H.get_empty_held_index_for_side(LEFT_HANDS)
if(free_hand)
side = "left"
else
free_hand = H.get_empty_held_index_for_side(side = "right")
free_hand = H.get_empty_held_index_for_side(RIGHT_HANDS)
if(free_hand)
side = "right"