mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-11 20:30:22 +02:00
Update mobs mod
- api.lua (many improves, chicken egg more frequent, NPC attack nearly mobs, textures code, etc…) - Bee (spawn on group:flower now, textures code updated) - Bunny (textures code updated) - Chicken (two times more eggs, textures code updated) - Cow (textures code updated) - Creeper (finish reorganize the code, textures code updated, new eggs inventory texture) - Dirt Monster (textures code updated) - Dungeon Master (textures code updated) - init.lua (small credits tweaks) - Kitten (textures code updated, now drop sometimes farming:string) - Lava Flan (textures code updated, now 3 can spawn per chunck) - Mese Monster (textures code updated) - NPC (textures code updated, revert give raw meat versus health code for tests) - Oerkki (textures code updated, now 1 light damage) - Rat (textures code updated) - Sand Monster (textures code updated) - Sheep (textures code updated, now give 2 to 3 wool when sheared) - Spider (textures code updated, change credits, comments our modifications) - Stone Monster (textures code updated) - Tree Monster (textures code updated) - Warthog (textures code updated) - Wolf (finish reorganize the code, textures code updated, add spawner egg and an inventory texture) - Tweaks some sounds
This commit is contained in:
@ -17,9 +17,8 @@ mobs:register_mob("mobs:mese_monster", {
|
||||
collisionbox = {-0.5, -1.5, -0.5, 0.5, 0.5, 0.5},
|
||||
visual = "mesh",
|
||||
mesh = "zmobs_mese_monster.x",
|
||||
available_textures = {
|
||||
total = 1,
|
||||
texture_1 = {"zmobs_mese_monster.png"},
|
||||
textures = {
|
||||
{"zmobs_mese_monster.png"},
|
||||
},
|
||||
visual_size = {x=1, y=1},
|
||||
drawtype = "front",
|
||||
@ -60,7 +59,7 @@ mobs:register_mob("mobs:mese_monster", {
|
||||
punch_start = 15, punch_end = 38, -- was 40 & 63
|
||||
},
|
||||
})
|
||||
-- spawn on stone between 20 and -1 light, 1 in 6000 chance, 1 in area below -25
|
||||
-- spawn on stone between 20 and -1 light, 1 in 7000 chance, 1 in area below -25
|
||||
mobs:register_spawn("mobs:mese_monster", {"default:stone", }, 20, -1, 7000, 1, -25)
|
||||
-- register spawn egg
|
||||
mobs:register_egg("mobs:mese_monster", "Mese Monster", "default_mese_block.png", 1)
|
||||
|
Reference in New Issue
Block a user