diff --git a/mods/head/init.lua b/mods/head/init.lua index bb6c701f2..97f5df596 100644 --- a/mods/head/init.lua +++ b/mods/head/init.lua @@ -37,17 +37,3 @@ end addhead("zombie", "Zombie Head") addhead("creeper", "Creeper Head") addhead("steve", "Steve Head") -addhead("herobrine", "Herobrine Head") - - -minetest.register_abm( - {nodenames = {"head:herobrine"}, - interval = 70, - chance = 4, - action = function(pos, node, active_object_count, active_object_count_wider) - if math.random(1, 200) <= 1 then - minetest.add_entity(pos, "mobs:herobrine") - minetest.chat_send_all("Herobrine : I'm Here for you !") - end - end, -}) diff --git a/mods/head/textures/herobrine_back.png b/mods/head/textures/herobrine_back.png deleted file mode 100644 index c848956b2..000000000 Binary files a/mods/head/textures/herobrine_back.png and /dev/null differ diff --git a/mods/head/textures/herobrine_face.png b/mods/head/textures/herobrine_face.png deleted file mode 100644 index ed57f32ce..000000000 Binary files a/mods/head/textures/herobrine_face.png and /dev/null differ diff --git a/mods/head/textures/herobrine_left.png b/mods/head/textures/herobrine_left.png deleted file mode 100644 index 5d11c3d70..000000000 Binary files a/mods/head/textures/herobrine_left.png and /dev/null differ diff --git a/mods/head/textures/herobrine_right.png b/mods/head/textures/herobrine_right.png deleted file mode 100644 index 462fd5e33..000000000 Binary files a/mods/head/textures/herobrine_right.png and /dev/null differ diff --git a/mods/head/textures/herobrine_top.png b/mods/head/textures/herobrine_top.png deleted file mode 100644 index 0cbd6b493..000000000 Binary files a/mods/head/textures/herobrine_top.png and /dev/null differ diff --git a/mods/mobs/herobrine.lua b/mods/mobs/herobrine.lua deleted file mode 100644 index 0e9a8ea56..000000000 --- a/mods/mobs/herobrine.lua +++ /dev/null @@ -1,37 +0,0 @@ -mobs:register_mob("mobs:herobrine", { - type = "monster", - hp_max = 120, - collisionbox = {-0.4, -1.3, -0.4, 0.4, 1, 0.4}, - visual = "mesh", - mesh = "creatures_herobrine.x", - textures = {"mobs_herobrine.png"}, - makes_footstep_sound = true, - view_range = 10, - walk_velocity = 4.8, - run_velocity = 5.1, - on_rightclick = nil, - drops = { - {name = "mobs:rotten_flesh", - chance = 1, - min = 1, - max = 3,}, - }, - jump = 0, - damage = 9999, - armor = 100, - drawtype = "front", - lava_damage = 0, - light_damage = 0, - attack_type = "dogfight", - animation = { - speed_normal = 10, - speed_run = 30, - stand_start = 0, - stand_end = 79, - walk_start = 168, - walk_end = 187, - die_start = 162, - die_end = 166, - }, -}) - diff --git a/mods/mobs/init.lua b/mods/mobs/init.lua index 065e35406..b9d0deacf 100644 --- a/mods/mobs/init.lua +++ b/mods/mobs/init.lua @@ -20,16 +20,11 @@ dofile(minetest.get_modpath("mobs").."/creeper.lua") -- Spider dofile(minetest.get_modpath("mobs").."/spider.lua") --- Herobrine -dofile(minetest.get_modpath("mobs").."/herobrine.lua") - - if minetest.setting_getbool("spawn_friendly_mobs") ~= false then -- “If not defined or set to true then” mobs:register_spawn("mobs:sheep", "Sheep", {"default:dirt_with_grass"},16, 8, 2, 250, 100) end if minetest.setting_getbool("spawn_hostile_mobs") ~= false then -- “If not defined or set to true then” mobs:register_spawn("mobs:slime", "Slime", { "default:dirt_with_grass"}, 20, 1, 11, 80, 0) - mobs:register_spawn("mobs:herobrine", "Herobrine", {"head:herobine"}, 20, -1, 100, 1, 0) mobs:register_spawn("mobs:zombie", "Zombie", {"default:stone", "default:dirt", "default:dirt_with_grass", "default:sand"}, 1, -1, 7, 80, 0) mobs:register_spawn("mobs:spider", "Spider", {"default:stone", "default:dirt", "default:dirt_with_grass", "default:sand"}, 1, -1, 7, 40, 0) end diff --git a/mods/mobs/item.lua b/mods/mobs/item.lua index 122c286a8..288bd6516 100644 --- a/mods/mobs/item.lua +++ b/mods/mobs/item.lua @@ -83,21 +83,6 @@ minetest.register_craftitem("mobs:creeper", { end, }) -minetest.register_craftitem("mobs:herobrine", { - description = "Spawn Herobrine", - inventory_image = "spawn_herobrine.png", - groups = {not_in_creative_inventory=1}, - wield_scale = {x = 1.25, y = 1.25, z = 2.5}, - on_place = function(itemstack, placer, pointed_thing) - if pointed_thing.above then - minetest.add_entity(pointed_thing.above, "mobs:herobrine") - if not minetest.setting_getbool("creative_mode") then itemstack:take_item() end - minetest.log("action", placer:get_player_name() .. " placed a herobrine at " .. minetest.pos_to_string(pointed_thing.above) .. ".") - end - return itemstack - end, -}) - --------------------- -- Drop de monstre -- --------------------- diff --git a/mods/mobs/models/mobs_herobrine.png b/mods/mobs/models/mobs_herobrine.png deleted file mode 100644 index d65b7dc29..000000000 Binary files a/mods/mobs/models/mobs_herobrine.png and /dev/null differ diff --git a/mods/mobs/textures/spawn_herobrine.png b/mods/mobs/textures/spawn_herobrine.png deleted file mode 100644 index edad35571..000000000 Binary files a/mods/mobs/textures/spawn_herobrine.png and /dev/null differ