<commit_before>-- Mobs Api (29th May 2015)
mobs = {}
mobs.mod = "redo"

-- Do mobs spawn in protected areas (0=yes, 1=no)
mobs.protected = 0

-- Initial settings check
local damage_enabled = minetest.setting_getbool("enable_damage")
local peaceful_only = minetest.setting_getbool("only_peaceful_mobs")
local enable_blood = minetest.setting_getbool("mobs_enable_blood") or true

function mobs:register_mob(name, def)
	minetest.register_entity(name, {
		stepheight = def.stepheight or 0.6,
		name = name,
		fly = def.fly,
		fly_in = def.fly_in or "air",
		owner = def.owner,
		order = def.order or "",
		on_die = def.on_die,
		jump_height = def.jump_height or 6,
		jump_chance = def.jump_chance or 0,
		rotate = def.rotate or 0, -- 0=front, 1.5=side, 3.0=back, 4.5=side2
		lifetimer = def.lifetimer or 600,
		hp_min = def.hp_min or 5,
		hp_max = def.hp_max or 10,
		physical = true,
		collisionbox = def.collisionbox,
		visual = def.visual,
		visual_size = def.visual_size or {x=1, y=1},
		mesh = def.mesh,
		makes_footstep_sound = def.makes_footstep_sound or false,
		view_range = def.view_range or 5,
		walk_velocity = def.walk_velocity or 1,
		run_velocity = def.run_velocity or 2,
		damage = def.damage,<commit_msg>remove mob spawn in area<commit_after>-- Mobs Api (29th May 2015)
mobs = {}
mobs.mod = "redo"

-- Do mobs spawn in protected areas (0=yes, 1=no)
mobs.protected = 1

-- Initial settings check
local damage_enabled = minetest.setting_getbool("enable_damage")
local peaceful_only = minetest.setting_getbool("only_peaceful_mobs")
local enable_blood = minetest.setting_getbool("mobs_enable_blood") or true

function mobs:register_mob(name, def)
	minetest.register_entity(name, {
		stepheight = def.stepheight or 0.6,
		name = name,
		fly = def.fly,
		fly_in = def.fly_in or "air",
		owner = def.owner,
		order = def.order or "",
		on_die = def.on_die,
		jump_height = def.jump_height or 6,
		jump_chance = def.jump_chance or 0,
		rotate = def.rotate or 0, -- 0=front, 1.5=side, 3.0=back, 4.5=side2
		lifetimer = def.lifetimer or 600,
		hp_min = def.hp_min or 5,
		hp_max = def.hp_max or 10,
		physical = true,
		collisionbox = def.collisionbox,
		visual = def.visual,
		visual_size = def.visual_size or {x=1, y=1},
		mesh = def.mesh,
		makes_footstep_sound = def.makes_footstep_sound or false,
		view_range = def.view_range or 5,
		walk_velocity = def.walk_velocity or 1,
		run_velocity = def.run_velocity or 2,
		damage = def.damage,
{'fraction_non_alphanumeric': 0.11451942740286299, 'fraction_numerical': 0.026993865030674847, 'mean_word_length': 4.085239085239086, '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': '5854995', 'n_tokens_mistral': 1061, 'n_tokens_neox': 932, 'n_words': 233}