Skip to content

Unable to remove rod of aesclepius, arm remains after amputation (infinite free arms) #6200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MonkestationIssueBot opened this issue Apr 3, 2025 · 2 comments

Comments

@RandomDudeFromTheRim
Copy link
Contributor

im 99.9% sure the arm regrowth and the rod staying is intended. They've done the oath, why would they back out now?

@notghosti
Copy link
Collaborator

On the money @RandomDudeFromTheRim

if(iscarbon(owner))
	var/mob/living/carbon/itemUser = owner
	var/obj/item/heldItem = itemUser.get_item_for_held_index(hand)
	if(heldItem == null || heldItem.type != /obj/item/rod_of_asclepius) //Checks to make sure the rod is still in their hand
		var/obj/item/rod_of_asclepius/newRod = new(itemUser.loc)
		newRod.activated()
		if(!itemUser.has_hand_for_held_index(hand))
			//If user does not have the corresponding hand anymore, give them one and return the rod to their hand
			if(((hand % 2) == 0))
				var/obj/item/bodypart/L = itemUser.newBodyPart(BODY_ZONE_R_ARM, FALSE, FALSE)
				if(L.try_attach_limb(itemUser))
					L.update_limb(is_creating = TRUE)
					itemUser.update_body_parts()
					itemUser.put_in_hand(newRod, hand, forced = TRUE)```

@notghosti notghosti closed this as not planned Won't fix, can't repro, duplicate, stale Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants