<commit_before>/obj/item/weapon/reagent_containers/pill
	name = "pill"
	desc = "A tablet or capsule."
	icon = 'icons/obj/chemical.dmi'
	icon_state = "pill"
	item_state = "pill"
	possible_transfer_amounts = null
	volume = 50
	var/apply_type = INGEST
	var/apply_method = "swallow"
	var/roundstart = 0

/obj/item/weapon/reagent_containers/pill/New()
	..()
	if(!icon_state)
		icon_state = "pill[rand(1,20)]"
	if(reagents.total_volume && roundstart)
		name += " ([reagents.total_volume]u)"


/obj/item/weapon/reagent_containers/pill/attack_self(mob/user)
	return


/obj/item/weapon/reagent_containers/pill/attack(mob/M, mob/user, def_zone)
	if(user.zone_sel.selecting =="head" && user.a_intent == "grab")
		if(ishuman(M))
			var/mob/living/carbon/human/H = M
			var/obj/item/organ/internal/stomach/B = H.getorgan(/obj/item/organ/internal/stomach)
			if(B)
				if(!H.w_uniform)
					var/buttspace = B.capacity - B.stored
					if(!itemstorevalue)
						switch(w_class)
							if(1) itemstorevalue += 1 // tiny
							if(2) itemstorevalue += 2 // small
							if(3) itemstorevalue += 4 // normal<commit_msg>Update pill.dm<commit_after>/obj/item/weapon/reagent_containers/pill
	name = "pill"
	desc = "A tablet or capsule."
	icon = 'icons/obj/chemical.dmi'
	icon_state = "pill"
	item_state = "pill"
	possible_transfer_amounts = null
	volume = 50
	var/apply_type = INGEST
	var/apply_method = "swallow"
	var/roundstart = 0

/obj/item/weapon/reagent_containers/pill/New()
	..()
	if(!icon_state)
		icon_state = "pill[rand(1,20)]"
	if(reagents.total_volume && roundstart)
		name += " ([reagents.total_volume]u)"


/obj/item/weapon/reagent_containers/pill/attack_self(mob/user)
	return


/obj/item/weapon/reagent_containers/pill/attack(mob/M, mob/user, def_zone)
	if(user.zone_sel.selecting =="mouth" && user.a_intent == "grab")
		if(ishuman(M))
			var/mob/living/carbon/human/H = M
			var/obj/item/organ/internal/stomach/B = H.getorgan(/obj/item/organ/internal/stomach)
			if(B)
				if(!H.w_uniform)
					var/buttspace = B.capacity - B.stored
					if(!itemstorevalue)
						switch(w_class)
							if(1) itemstorevalue += 1 // tiny
							if(2) itemstorevalue += 2 // small
							if(3) itemstorevalue += 4 // normal
{'fraction_non_alphanumeric': 0.15409090909090908, 'fraction_numerical': 0.01090909090909091, 'mean_word_length': 3.653276955602537, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2005456', 'n_tokens_mistral': 998, 'n_tokens_neox': 875, 'n_words': 130}