Zombie Mob

nvrsbr
Member
 
Posts: 51
Joined: Fri Jun 05, 2015 19:42

Zombie Mob

by nvrsbr » Tue Jun 16, 2015 01:38

I am using the stand alone Zombie Mob and was wondering what needs to be set to make them spawn in a bit darker light?

--name, nodes, neighbours, minlight, maxlight, interval, chance, active_object_count, min_height, max_height mobs:register_spawn("zombie:zombie", {"default:stone", "default:dirt_with_grass"}, 5, 0, 1, 1, 31000)


Do I need to change minlight, maxlight ?
Is that the (5,0) part of the code?
If so what should I set it to?
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: Zombie Mob

by TenPlus1 » Tue Jun 16, 2015 07:43

Change to:

mobs:register_spawn("zombie:zombie", {"default:stone", "default:dirt_with_grass"}, 0, 0, 1, 1, 31000)
 

nvrsbr
Member
 
Posts: 51
Joined: Fri Jun 05, 2015 19:42

Re: Zombie Mob

by nvrsbr » Tue Jun 16, 2015 14:33

TenPlus1 wrote:Change to:

mobs:register_spawn("zombie:zombie", {"default:stone", "default:dirt_with_grass"}, 0, 0, 1, 1, 31000)


OK Thanks.
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 3 guests

cron