Added Xgaloctopus
This mob will be specific for nssb oceanic pyramids
This commit is contained in:
parent
1b2e38eb2a
commit
18ab1fadea
@ -1076,6 +1076,7 @@ nssm_register_egg ('crocodile', 'Crocodile')
|
||||
nssm_register_egg ('dolidrosaurus', 'Dolidrosaurus')
|
||||
nssm_register_egg ('crab', 'Crab')
|
||||
nssm_register_egg ('octopus', 'Octopus')
|
||||
nssm_register_egg ('xgaloctopus', 'Xgaloctopus')
|
||||
nssm_register_egg ('black_widow', 'Black Widow')
|
||||
nssm_register_egg ('uloboros', 'Uloboros')
|
||||
nssm_register_egg ('tarantula', 'Tarantula')
|
||||
|
55
octopus.lua
55
octopus.lua
@ -51,3 +51,58 @@ nssm:register_mob("nssm:octopus", {
|
||||
punch_end = 160,
|
||||
}
|
||||
})
|
||||
|
||||
nssm:register_mob("nssm:xgaloctopus", {
|
||||
type = "monster",
|
||||
hp_max = 30,
|
||||
hp_min = 27,
|
||||
collisionbox = {-0.25, -0.25, -0.25, 0.25, 0.25, 0.25},
|
||||
visual = "mesh",
|
||||
mesh = "octopus.x",
|
||||
textures = {{"xgaloctopus.png"}},
|
||||
visual_size = {x=1, y=1},
|
||||
view_range = 25,
|
||||
fly = true,
|
||||
fly_in = "default:water_source",
|
||||
fall_speed = -20,
|
||||
walk_velocity = 1.5,
|
||||
run_velocity = 3,
|
||||
damage = 5,
|
||||
reach = 1,
|
||||
rotate = 270,
|
||||
jump = false,
|
||||
jump_chance = 0,
|
||||
jump_height = 0,
|
||||
sounds = {
|
||||
random = "octopus",
|
||||
},
|
||||
drops = {
|
||||
{name = "nssm:life_energy",
|
||||
chance = 1,
|
||||
min = 2,
|
||||
max = 3,},
|
||||
{name = "nssm:tentacle",
|
||||
chance = 1,
|
||||
min = 1,
|
||||
max = 8,},
|
||||
},
|
||||
armor = 60,
|
||||
drawtype = "front",
|
||||
water_damage = 0,
|
||||
lava_damage = 10,
|
||||
light_damage = 0,
|
||||
on_rightclick = nil,
|
||||
attack_type = "dogfight",
|
||||
animation = {
|
||||
speed_normal = 25,
|
||||
speed_run = 35,
|
||||
stand_start = 1,
|
||||
stand_end = 50,
|
||||
walk_start = 60,
|
||||
walk_end = 100,
|
||||
run_start = 60,
|
||||
run_end = 100,
|
||||
punch_start = 120,
|
||||
punch_end = 160,
|
||||
}
|
||||
})
|
@ -64,3 +64,8 @@ nssm:spawn_specific("nssm:pumpboom_small", {"default:dirt_with_grass", "default:
|
||||
nssm:spawn_specific("nssm:pumpboom_medium", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 30, 400, 1, -31000, 31000)
|
||||
nssm:spawn_specific("nssm:pumpboom_large", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 30, 500, 1, -31000, 31000)
|
||||
nssm:spawn_specific("nssm:pumpking", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_needles", "default:pine_tree"}, 0, 12, 120, 10000, 1, -31000, 31000)
|
||||
|
||||
-- NSSB SPECIAL
|
||||
if minetest.get_modpath("nssb") then
|
||||
nssm:spawn_specific("nssm:xgaloctopus", {"default:water_source"}, {"nssb:marine_brick"}, 0, 20, 20, 800, 1, -31000, 0)
|
||||
end
|
BIN
textures/xgaloctopus.png
Normal file
BIN
textures/xgaloctopus.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
BIN
textures/xgaloctopus_egg.png
Normal file
BIN
textures/xgaloctopus_egg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 810 B |
Loading…
x
Reference in New Issue
Block a user