Add some despawning logic (but do not enable despawning yet)

This commit is contained in:
Wuzzy 2018-09-14 14:48:48 +02:00
parent 67ebf3366f
commit ad2fbb0008
5 changed files with 29 additions and 15 deletions

View file

@ -6,6 +6,7 @@ local S, NS = dofile(MP.."/intllib.lua")
mobs:register_mob("mobs_mc:bat", {
type = "animal",
can_despawn = true,
passive = true,
hp_min = 6,
hp_max = 6,