<commit_before>-- Pumpking by Blert2112
mobs:register_mob("mobs:pumpking", {
	type = "monster",
	visual = "mesh",
	mesh = "mobs_pumpking.x",
	textures = {
		{"mobs_pumpking.png"}
	},
	visual_size = {x=3, y=3},
	collisionbox = {-0.85, 0.00, -0.85, 0.85, 5.3, 0.85},
	animation = {
		speed_normal = 15,	speed_run = 30,
		stand_start = 165,	stand_end = 210,
		walk_start = 61,	walk_end = 110,	
		run_start = 0,		run_end = 50,
		punch_start = 150,	punch_end = 165
	},
	makes_footstep_sound = true,
	sounds = {
		random = "mobs_king"
	},
	hp_min = 150,
	hp_max = 200,
	armor = 60,
	knock_back = 0.1,
	light_damage = 0,
	water_damage = 0,
	lava_damage = 0,
	fall_damage = 0,
	damage = 8,
	attack_type = "dogfight",
	view_range = 25,
	stepheight = 1.1,
	drops = {
		{name = "farming:jackolantern", chance = 1, min = 1, max = 1}
	},
	lifetimer = 300,		-- 10 minutes
	shoot_interval = 135,	-- (lifetimer - (lifetimer / 4)), borrowed for do_custom timer
	do_custom = function(self)
		if self.lifetimer <= self.shoot_interval then
			p = self.object:getpos()
			p.y = p.y + 1
			minetest.add_entity(p, "mobs:pumpboom")
			minetest.after(5.0, function(pos, str) minetest.add_entity(pos, str) end,
				p, "mobs:pumpboom")
			self.shoot_interval = self.shoot_interval - 45
		end
	end
})

mobs:register_egg("mobs:pumpking", "Pumpkin King", "mobs_pumpking_inv.png", 1)

mobs:register_mob("mobs:pumpboom", {
	type = "monster",<commit_msg>[mobs] Alert when a Pupmking is killed<commit_after>-- Pumpking by Blert2112
mobs:register_mob("mobs:pumpking", {
	type = "monster",
	visual = "mesh",
	mesh = "mobs_pumpking.x",
	textures = {
		{"mobs_pumpking.png"}
	},
	visual_size = {x=3, y=3},
	collisionbox = {-0.85, 0.00, -0.85, 0.85, 5.3, 0.85},
	animation = {
		speed_normal = 15,	speed_run = 30,
		stand_start = 165,	stand_end = 210,
		walk_start = 61,	walk_end = 110,	
		run_start = 0,		run_end = 50,
		punch_start = 150,	punch_end = 165
	},
	makes_footstep_sound = true,
	sounds = {
		random = "mobs_king"
	},
	hp_min = 150,
	hp_max = 200,
	armor = 60,
	knock_back = 0.1,
	light_damage = 0,
	water_damage = 0,
	lava_damage = 0,
	fall_damage = 0,
	damage = 8,
	attack_type = "dogfight",
	view_range = 25,
	stepheight = 1.1,
	drops = {
		{name = "farming:jackolantern", chance = 1, min = 1, max = 1}
	},
	lifetimer = 300,		-- 10 minutes
	shoot_interval = 135,	-- (lifetimer - (lifetimer / 4)), borrowed for do_custom timer
	do_custom = function(self)
		if self.lifetimer <= self.shoot_interval then
			p = self.object:getpos()
			p.y = p.y + 1
			minetest.add_entity(p, "mobs:pumpboom")
			minetest.after(5.0, function(pos, str) minetest.add_entity(pos, str) end,
				p, "mobs:pumpboom")
			self.shoot_interval = self.shoot_interval - 45
		end
	end,
	on_die = function(self)
		minetest.chat_send_all("A group of players killed a Pumpking!")
	end
})

mobs:register_egg("mobs:pumpking", "Pumpkin King", "mobs_pumpking_inv.png", 1)

mobs:register_mob("mobs:pumpboom", {
	type = "monster",
{'fraction_non_alphanumeric': 0.1524966261808367, 'fraction_numerical': 0.05668016194331984, 'mean_word_length': 3.789983844911147, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3996722', 'n_tokens_mistral': 1508, 'n_tokens_neox': 1291, 'n_words': 273}