mirror of
https://codeberg.org/tenplus1/mobs_monster.git
synced 2025-07-08 11:20:20 +02:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@ -10,6 +10,15 @@ local stone_types = {
|
||||
{name = "default:iron_lump", chance = 5, min = 0, max = 2},
|
||||
{name = "default:gold_lump", chance = 5, min = 0, max = 2}
|
||||
}
|
||||
},
|
||||
|
||||
{ nodes = {"default:sandstone"},
|
||||
skins = {"mobs_stone_monster4.png"},
|
||||
drops = {
|
||||
{name = "default:sandstone", chance = 1, min = 0, max = 2},
|
||||
{name = "default:tin_lump", chance = 5, min = 0, max = 2},
|
||||
{name = "default:copper_lump", chance = 5, min = 0, max = 2}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,11 +40,11 @@ mobs:register_mob("mobs_monster:stone_monster", {
|
||||
mesh = "mobs_stone_monster.b3d",
|
||||
textures = {
|
||||
{"mobs_stone_monster.png"},
|
||||
{"mobs_stone_monster2.png"}, -- by AMMOnym
|
||||
{"mobs_stone_monster2.png"} -- by AMMOnym
|
||||
},
|
||||
makes_footstep_sound = true,
|
||||
sounds = {
|
||||
random = "mobs_stonemonster",
|
||||
random = "mobs_stonemonster"
|
||||
},
|
||||
walk_velocity = 1,
|
||||
run_velocity = 2,
|
||||
@ -63,7 +72,7 @@ mobs:register_mob("mobs_monster:stone_monster", {
|
||||
run_start = 40,
|
||||
run_end = 63,
|
||||
punch_start = 40,
|
||||
punch_end = 63,
|
||||
punch_end = 63
|
||||
},
|
||||
immune_to = {
|
||||
{"default:pick_wood", 0}, -- wooden pick doesnt hurt stone monster
|
||||
@ -71,7 +80,7 @@ mobs:register_mob("mobs_monster:stone_monster", {
|
||||
{"default:pick_bronze", 5},
|
||||
{"default:pick_steel", 5},
|
||||
{"default:pick_mese", 6},
|
||||
{"default:pick_diamond", 7},
|
||||
{"default:pick_diamond", 7}
|
||||
},
|
||||
|
||||
-- check surrounding nodes and spawn a specific spider
|
||||
@ -103,13 +112,14 @@ mobs:register_mob("mobs_monster:stone_monster", {
|
||||
|
||||
|
||||
if not mobs.custom_spawn_monster then
|
||||
mobs:spawn({
|
||||
name = "mobs_monster:stone_monster",
|
||||
nodes = {"default:stone", "default:desert_stone", "default:sandstone"},
|
||||
max_light = 7,
|
||||
chance = 7000,
|
||||
max_height = 0,
|
||||
})
|
||||
|
||||
mobs:spawn({
|
||||
name = "mobs_monster:stone_monster",
|
||||
nodes = {"default:stone", "default:desert_stone", "default:sandstone"},
|
||||
max_light = 7,
|
||||
chance = 7000,
|
||||
max_height = 0
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user