Merge pull request #5979 from Citadel-Station-13/upstream-merge-36410
[MIRROR] Fixes dupe and runtime issues with Rod of Asclepius
This commit is contained in:
@@ -501,19 +501,15 @@
|
||||
if(((hand % 2) == 0))
|
||||
var/obj/item/bodypart/L = itemUser.newBodyPart("r_arm", FALSE, FALSE)
|
||||
L.attach_limb(itemUser)
|
||||
itemUser.put_in_r_hand(newRod)
|
||||
itemUser.put_in_hand(newRod, hand, forced = TRUE)
|
||||
else
|
||||
var/obj/item/bodypart/L = itemUser.newBodyPart("l_arm", FALSE, FALSE)
|
||||
L.attach_limb(itemUser)
|
||||
itemUser.put_in_l_hand(newRod)
|
||||
itemUser.put_in_hand(newRod, hand, forced = TRUE)
|
||||
to_chat(itemUser, "<span class='notice'>Your arm suddenly grows back with the Rod of Asclepius still attached!</span>")
|
||||
else
|
||||
//Otherwise get rid of whatever else is in their hand and return the rod to said hand
|
||||
itemUser.dropItemToGround(itemUser.get_item_for_held_index(hand))
|
||||
if(((hand % 2) == 0))
|
||||
itemUser.put_in_r_hand(newRod)
|
||||
else
|
||||
itemUser.put_in_l_hand(newRod)
|
||||
itemUser.put_in_hand(newRod, hand, forced = TRUE)
|
||||
to_chat(itemUser, "<span class='notice'>The Rod of Asclepius suddenly grows back out of your arm!</span>")
|
||||
//Because a servant of medicines stops at nothing to help others, lets keep them on their toes and give them an additional boost.
|
||||
if(itemUser.health < itemUser.maxHealth)
|
||||
|
||||
Reference in New Issue
Block a user