Commit dc291218 authored by puppetmaster's avatar puppetmaster
Browse files

changes init

parent 7f8c2417
......@@ -3,7 +3,7 @@ if mobs.mod and mobs.mod== "redo" then
mobs:register_mob("willy:willy",{
--vida,armadura y reaccion
type = "npc",
type = "animal",
passive = true,
--attack_type = "dogfight",
reach = 2,
......@@ -13,7 +13,7 @@ hp_max = 200,
armor = 200,
collisionbox={-0.5,-0.5,-0.5,0.5,0.5,0.5},
visual="mesh",
--Tamao de nuestro modelo
--Tamaño de nuestro modelo
visual_size = {x=2,y=2},
mesh="willy.b3d",
--drawtype="front",
......@@ -82,20 +82,28 @@ total=total+1
end
end)
mobs:spawn({
name = "willy:willy",
max_light = 7,
})
mobs:register_spawn("willy:willy",
{"default:dirt_with_grass", "ethereal:green_dirt"}, 20, 10, 15000, 1, 31000, true)
mobs:register_egg("willy:willy", "Willy", "default_dirt.png", 1)
local spawn_on = {"default:dirt_with_grass"}
mobs:spawn({
name = "willy:willy",
nodes = spawn_on,
min_light = 14,
interval = 30,
chance = 5000,
min_height = 5,
max_height = 200,
day_toggle = true,
})
end
--end
--end
-- mobs:register_spawn("willy:willy",
-- {"default:dirt_with_grass", "ethereal:green_dirt"}, 20, 10, 15000, 1, 31000, true)
-- mobs:register_egg("willy:willy", "Willy", "default_dirt.png", 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment