1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2025-07-12 05:10:37 +02:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
2023-06-07 22:02:13 +02:00
33 changed files with 302 additions and 231 deletions

View File

@ -29,12 +29,12 @@ mobs:register_mob("mobs_monster:dirt_monster", {
mesh = "mobs_stone_monster.b3d",
textures = {
{"mobs_dirt_monster.png"},
{"mobs_dirt_monster2.png"},
{"mobs_dirt_monster2.png"}
},
blood_texture = "default_dirt.png",
makes_footstep_sound = true,
sounds = {
random = "mobs_dirtmonster",
random = "mobs_dirtmonster"
},
view_range = 15,
walk_velocity = 1,
@ -58,7 +58,7 @@ mobs:register_mob("mobs_monster:dirt_monster", {
run_start = 40,
run_end = 63,
punch_start = 40,
punch_end = 63,
punch_end = 63
},
-- check surrounding nodes and spawn a specific monster
@ -90,16 +90,17 @@ mobs:register_mob("mobs_monster:dirt_monster", {
if not mobs.custom_spawn_monster then
mobs:spawn({
name = "mobs_monster:dirt_monster",
nodes = {"default:dirt_with_grass", "ethereal:gray_dirt", "ethereal:dry_dirt"},
min_light = 0,
max_light = 7,
chance = 6000,
active_object_count = 2,
min_height = 0,
day_toggle = false,
})
mobs:spawn({
name = "mobs_monster:dirt_monster",
nodes = {"default:dirt_with_grass", "ethereal:gray_dirt", "ethereal:dry_dirt"},
min_light = 0,
max_light = 7,
chance = 6000,
active_object_count = 2,
min_height = 0,
day_toggle = false
})
end