Mehr Mods hinzugefügt
This commit is contained in:
parent
92a55732cf
commit
9e345a25fb
2805 changed files with 2096013 additions and 0 deletions
74
mods/animalworld/spidermale.lua
Normal file
74
mods/animalworld/spidermale.lua
Normal file
|
@ -0,0 +1,74 @@
|
|||
local S = minetest.get_translator("animalworld")
|
||||
|
||||
mobs:register_mob("animalworld:spidermale", {
|
||||
stepheight = 4,
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
attack_animals = true,
|
||||
attack_animals = true,
|
||||
reach = 1,
|
||||
damage = 2,
|
||||
hp_min = 5,
|
||||
hp_max = 30,
|
||||
armor = 100,
|
||||
collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.2, 0.2},
|
||||
visual = "mesh",
|
||||
mesh = "Spider.b3d",
|
||||
visual_size = {x = 0.1, y = 0.1},
|
||||
textures = {
|
||||
{"texturespider.png"},
|
||||
},
|
||||
sounds = {
|
||||
random = "animalworld_spider",
|
||||
attack = "animalworld_spider",
|
||||
},
|
||||
makes_footstep_sound = true,
|
||||
view_range = 5,
|
||||
walk_velocity = 0.5,
|
||||
run_velocity = 2,
|
||||
runaway = false,
|
||||
jump = true,
|
||||
jump_height = 0,
|
||||
stepheight = 4,
|
||||
stay_near = {{"livingcaves:spiderweb", "livingcaves:spiderweb2", "livingcaves:spiderweb3", "livingcaves:spiderweb4", "livingcaves:spiderweb5", "livingcaves:spiderweb6", "livingcaves:spiderweb7", "livingcaves:spiderweb8", "livingcaves:spiderweb9"}, 3},
|
||||
drops = {
|
||||
{name = "animalworld:raw_athropod", chance = 1, min = 0, max = 2},
|
||||
},
|
||||
water_damage = 1,
|
||||
lava_damage = 4,
|
||||
light_damage = 0,
|
||||
fear_height = 8,
|
||||
animation = {
|
||||
speed_normal = 125,
|
||||
stand_start = 0,
|
||||
stand_end = 100,
|
||||
walk_start = 100,
|
||||
walk_end = 200,
|
||||
punch_start = 200,
|
||||
punch_end = 300,
|
||||
die_start = 200,
|
||||
die_end = 300,
|
||||
die_speed = 50,
|
||||
die_loop = false,
|
||||
die_rotate = true,
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
if not mobs.custom_spawn_animalworld then
|
||||
mobs:spawn({
|
||||
name = "animalworld:spidermale",
|
||||
nodes = {"default:dry_dirt_with_dry_grass", "mcl_core:dirt_with_grass", "default:dirt_with_rainforest_litter"; "naturalbiomes:savannalitter", "livingjungle:jungleground", "livingjungle:leafyjungleground"},
|
||||
neighbors = {"group:grass", "mcl_flowers:tallgrass", "group:normal_grass", "naturalbiomes:savanna_flowergrass", "naturalbiomes:savanna_grass", "naturalbiomes:savanna_grass2", "naturalbiomes:savanna_grass3", "naturalbiomes:savannagrass", "livingjungle::grass2", "livingjungle::grass1", "livingjungle:alocasia", "livingjungle:flamingoflower"},
|
||||
min_light = 0,
|
||||
interval = 60,
|
||||
chance = 1, -- 15000
|
||||
active_object_count = 2,
|
||||
min_height = -10,
|
||||
max_height = 50,
|
||||
day_toggle = false,
|
||||
})
|
||||
end
|
||||
|
||||
mobs:register_egg("animalworld:spidermale", S("Spider Male"), "aspidermale.png")
|
Loading…
Add table
Add a link
Reference in a new issue