Remove Herobrine

This commit is contained in:
Wuzzy 2017-01-10 05:16:41 +01:00
parent 417eb14929
commit 2b2c29d77b
11 changed files with 0 additions and 71 deletions

View File

@ -37,17 +37,3 @@ end
addhead("zombie", "Zombie Head") addhead("zombie", "Zombie Head")
addhead("creeper", "Creeper Head") addhead("creeper", "Creeper Head")
addhead("steve", "Steve 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,
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 640 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 987 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 548 B

View File

@ -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,
},
})

View File

@ -20,16 +20,11 @@ dofile(minetest.get_modpath("mobs").."/creeper.lua")
-- Spider -- Spider
dofile(minetest.get_modpath("mobs").."/spider.lua") 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” 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) mobs:register_spawn("mobs:sheep", "Sheep", {"default:dirt_with_grass"},16, 8, 2, 250, 100)
end end
if minetest.setting_getbool("spawn_hostile_mobs") ~= false then -- “If not defined or set to true then” 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: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: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) mobs:register_spawn("mobs:spider", "Spider", {"default:stone", "default:dirt", "default:dirt_with_grass", "default:sand"}, 1, -1, 7, 40, 0)
end end

View File

@ -83,21 +83,6 @@ minetest.register_craftitem("mobs:creeper", {
end, 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 -- -- Drop de monstre --
--------------------- ---------------------

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 626 B