mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-04 17:10:24 +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:
@ -13,12 +13,11 @@ mobs:register_mob("mobs:kitten", {
|
||||
visual = "mesh",
|
||||
visual_size = {x=0.5, y=0.5},
|
||||
mesh = "mobs_kitten.b3d",
|
||||
available_textures = {
|
||||
total = 4,
|
||||
texture_1 = {"mobs_kitten_striped.png"},
|
||||
texture_2 = {"mobs_kitten_splotchy.png"},
|
||||
texture_3 = {"mobs_kitten_ginger.png"},
|
||||
texture_4 = {"mobs_kitten_sandy.png"},
|
||||
textures = {
|
||||
{"mobs_kitten_striped.png"},
|
||||
{"mobs_kitten_splotchy.png"},
|
||||
{"mobs_kitten_ginger.png"},
|
||||
{"mobs_kitten_sandy.png"},
|
||||
},
|
||||
blood_texture = "mobs_blood.png",
|
||||
-- sounds
|
||||
@ -29,12 +28,12 @@ mobs:register_mob("mobs:kitten", {
|
||||
-- speed and jump
|
||||
walk_velocity = 0.6,
|
||||
jump = false,
|
||||
-- drops sometimes coins
|
||||
-- drops string and coins
|
||||
drops = {
|
||||
{name = "maptools:copper_coin",
|
||||
chance = 10,
|
||||
min = 1,
|
||||
max = 1,},
|
||||
chance = 10, min = 1, max = 1,},
|
||||
{name = "farming:string",
|
||||
chance = 2, min = 1, max = 1},
|
||||
},
|
||||
-- damaged by
|
||||
water_damage = 1,
|
||||
|
Reference in New Issue
Block a user