<commit_before>
--= Chicken (thanks to <NAME> for his chicken model)

mobs:register_mob("mobs:chicken", {
	type = "animal",
	hp_min = 5,
	hp_max = 10,
	animaltype = "clucky",
	collisionbox = {-0.3, -0.75, -0.3, 0.3, 0.1, 0.3},
	visual = "mesh",
	mesh = "chicken.x",
	-- textures look repetative but they fix the wrapping bug
	available_textures = {
		total = 2,
		texture_1 = {"mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png",
					"mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png",
					"mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png"},
		texture_2 = {"mobs_chicken_black.png", "mobs_chicken_black.png", "mobs_chicken_black.png",
					"mobs_chicken_black.png", "mobs_chicken_black.png", "mobs_chicken_black.png",
					"mobs_chicken_black.png", "mobs_chicken_black.png", "mobs_chicken_black.png"},
	},
	--textures = {"mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png",
	--			"mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png"},
	makes_footstep_sound = true,
	walk_velocity = 1,
	armor = 200,
	drops = {
		{name = "mobs:chicken_raw", chance = 1, min = 2, max = 2,},
	},
	drawtype = "front",
	water_damage = 1,
	lava_damage = 5,
	light_damage = 0,
	jump = false,
	animation = {
		speed_normal = 15,
		stand_start = 0,
		stand_end = 1, -- 20
		walk_start = 20,
		walk_end = 40,
	},
	follow = "farming:wheat",
	view_range = 8,	
		on_rightclick = function(self, clicker)
		if clicker:is_player() and clicker:get_inventory() then
			clicker:get_inventory():add_item("main", "mobs:chicken")
			self.object:remove()
		end
	end,
	sounds = {
		random = "mobs_chicken",
	},
	jump = true,
	step = 1,
	blood_texture = "mobs_blood.png",
	passive = true,
})

mobs:register_spawn("mobs:chicken", {"default:dirt_with_grass"}, 20, 8, 9000, 1, 31000)
<commit_msg>Update chicken.lua<commit_after>
--= Chicken (thanks to <NAME> for his chicken model)

mobs:register_mob("mobs:chicken", {
	type = "animal",
	hp_min = 5,
	hp_max = 10,
	animaltype = "clucky",
	collisionbox = {-0.3, -0.75, -0.3, 0.3, 0.1, 0.3},
	visual = "mesh",
	mesh = "chicken.x",
	-- textures look repetative but they fix the wrapping bug
	available_textures = {
		total = 2,
		texture_1 = {"mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png",
					"mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png",
					"mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png"},
		texture_2 = {"mobs_chicken_black.png", "mobs_chicken_black.png", "mobs_chicken_black.png",
					"mobs_chicken_black.png", "mobs_chicken_black.png", "mobs_chicken_black.png",
					"mobs_chicken_black.png", "mobs_chicken_black.png", "mobs_chicken_black.png"},
	},
	--textures = {"mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png",
	--			"mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png"},
	makes_footstep_sound = true,
	walk_velocity = 1,
	armor = 200,
	drops = {
		{name = "mobs:chicken_raw", chance = 1, min = 2, max = 2,},
	},
	drawtype = "front",
	water_damage = 1,
	lava_damage = 5,
	light_damage = 0,
	jump = false,
	animation = {
		speed_normal = 15,
		stand_start = 0,
		stand_end = 1, -- 20
		walk_start = 20,
		walk_end = 40,
	},
	follow = "farming:wheat",
	view_range = 8,	
		on_rightclick = function(self, clicker)
		if clicker:is_player() and clicker:get_inventory() then
			clicker:get_inventory():add_item("main", "mobs:chicken")
			self.object:remove()
		end
	end,
	sounds = {
		random = "mobs_chicken",
	},
	jump = true,
	step = 1,
	blood_texture = "mobs_blood.png",
	passive = true,
})

mobs:register_spawn("mobs:chicken", {"default:dirt_with_grass"}, 20, 0, 9000, 1, 31000)

{'fraction_non_alphanumeric': 0.16707152496626182, 'fraction_numerical': 0.029149797570850202, 'mean_word_length': 4.49037037037037, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3060607', 'n_tokens_mistral': 1752, 'n_tokens_neox': 1571, 'n_words': 287}