add fire_damage and tidy code

This commit is contained in:
tenplus1 2021-04-05 09:49:24 +01:00
parent 9710dbe3a7
commit 6df04e3a3e
52 changed files with 230 additions and 162 deletions

View File

@ -33,6 +33,7 @@ mobs:register_mob("nssm:ant_queen", {
drawtype = "front",
water_damage = 2,
lava_damage = 7,
fire_damage = 7,
light_damage = 0,
blood_texture = "nssm_blood_blue.png",
blood_amount = 50,

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:ant_soldier", {
drawtype = "front",
water_damage = 2,
lava_damage = 7,
fire_damage = 7,
light_damage = 0,
group_attack = true,
attack_animals = false,

View File

@ -32,6 +32,7 @@ mobs:register_mob("nssm:ant_worker", {
drawtype = "front",
water_damage = 2,
lava_damage = 7,
fire_damage = 7,
light_damage = 0,
group_attack = true,
knock_back = 4,

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:black_widow", {
drawtype = "front",
water_damage = 1,
lava_damage = 7,
fire_damage = 7,
group_attack = true,
attack_animals = true,
knock_back = 2,

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:bloco", {
water_damage = 3,
lava_damage = 1,
light_damage = 0,
fire_damage = 0,
group_attack = true,
attack_animals = true,
knock_back = 0,

View File

@ -33,6 +33,7 @@ mobs:register_mob("nssm:crab", {
drawtype = "front",
water_damage = 0,
lava_damage = 10,
fire_damage = 10,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -29,6 +29,7 @@ mobs:register_mob("nssm:crocodile", {
reach = 2,
water_damage = 0,
lava_damage = 10,
fire_damage = 10,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -29,6 +29,7 @@ mobs:register_mob("nssm:daddy_long_legs", {
drawtype = "front",
water_damage = 1,
lava_damage = 7,
fire_damage = 7,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -36,6 +36,7 @@ mobs:register_mob("nssm:dolidrosaurus", {
drawtype = "front",
water_damage = 0,
lava_damage = 10,
fire_damage = 10,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:duck", {
fear_height = 5,
floats = 1,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -35,6 +35,7 @@ mobs:register_mob("nssm:duckking", {
water_damage = 0,
floats = 1,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
attack_type = "dogshoot",
dogshoot_switch = true,

View File

@ -30,6 +30,7 @@ mobs:register_mob("nssm:echidna", {
water_damage = 0,
floats = 1,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
blood_texture = "nssm_blood.png",
blood_amount = 10,

View File

@ -33,6 +33,7 @@ mobs:register_mob("nssm:enderduck", {
floats = 1,
lava_damage = 5,
light_damage = 0,
fire_damage = 4,
group_attack = true,
attack_animals = true,
knock_back = 4,

View File

@ -29,6 +29,7 @@ mobs:register_mob("nssm:felucco", {
drawtype = "front",
water_damage = 2,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -30,6 +30,7 @@ mobs:register_mob("nssm:flying_duck", {
drawtype = "front",
water_damage = 0,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -28,6 +28,7 @@ mobs:register_mob("nssm:giant_sandworm", {
water_damage = 5,
lava_damage = 3,
light_damage = 0,
fire_damage = 0,
blood_texture = "nssm_blood_blue.png",
blood_amount = 50,
knock_back = 0,

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:icelamander", {
drawtype = "front",
water_damage = 0,
lava_damage = 30,
fire_damage = 20,
light_damage = 0,
attack_type = "dogshoot",
dogshoot_switch = true,

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:icesnake", {
drawtype = "front",
water_damage = 0,
lava_damage = 20,
fire_damage = 15,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -35,6 +35,7 @@ mobs:register_mob("nssm:kraken", {
drawtype = "front",
water_damage = 0,
lava_damage = 10,
fire_damage = 10,
light_damage = 0,
blood_texture = "nssm_blood_blue.png",
blood_amount = 100,

View File

@ -30,6 +30,7 @@ mobs:register_mob("nssm:larva", {
drawtype = "front",
water_damage = 2,
lava_damage = 4,
fire_damage = 4,
light_damage = 0,
group_attack = true,
attack_animals = true,
@ -75,7 +76,7 @@ mobs:register_mob("nssm:larva", {
maxexptime = 1,
minsize = 3,
maxsize = 4,
collisiondetection =false,
collisiondetection = false,
texture = "tnt_smoke.png"
})

View File

@ -33,6 +33,7 @@ mobs:register_mob("nssm:lava_titan", {
rotate = 270,
light_damage = 0,
lava_damage = 0,
fire_damage = 0,
floats = 0,
blood_texture = "stone_blood.png",
blood_amount = 50,

View File

@ -29,6 +29,7 @@ mobs:register_mob("nssm:manticore", {
water_damage = 2,
rotate = 270,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
attack_type = "dogshoot",
dogshoot_switch = true,
@ -51,7 +52,7 @@ mobs:register_mob("nssm:manticore", {
run_end = 108,
punch_start = 110,
punch_end = 143,
shoot_start =180,
shoot_start = 180,
shoot_end=230,
}
})

View File

@ -30,6 +30,7 @@ mobs:register_mob("nssm:mantis", {
drawtype = "front",
water_damage = 2,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:mantis_beast", {
drawtype = "front",
water_damage = 2,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -30,6 +30,7 @@ mobs:register_mob("nssm:masticone", {
drawtype = "front",
water_damage = 0,
lava_damage = 10,
fire_damage = 10,
floats = 0,
light_damage = 0,
group_attack = true,
@ -57,22 +58,22 @@ mobs:register_mob("nssm:masticone", {
core.after(2, function()
minetest.add_particlespawner(
200, --amount
0.1, --time
{x = pos.x - 1, y = pos.y - 1, z = pos.z - 1}, --minpos
{x = pos.x + 1, y = pos.y + 1, z = pos.z + 1}, --maxpos
{x = -0, y = -0, z = -0}, --minvel
{x = 1, y = 1, z = 1}, --maxvel
{x = -0.5, y = 5, z = -0.5}, --minacc
{x = 0.5, y = 5, z = 0.5}, --maxacc
0.1, --minexptime
1, --maxexptime
3, --minsize
4, --maxsize
false, --collisiondetection
"tnt_smoke.png" --texture
)
minetest.add_particlespawner({
amount = 200,
time = 0.1,
minpos = {x = pos.x - 1, y = pos.y - 1, z = pos.z - 1},
maxpos = {x = pos.x + 1, y = pos.y + 1, z = pos.z + 1},
minvel = {x = -0, y = -0, z = -0},
maxvel = {x = 1, y = 1, z = 1},
minacc = {x = -0.5, y = 5, z = -0.5},
maxacc = {x = 0.5, y = 5, z = 0.5},
minexptime = 0.1,
maxexptime = 1,
minsize = 3,
maxsize = 4,
collisiondetection = false,
texture = "tnt_smoke.png"
})
for i = 1, 2 do

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:mese_dragon", {
drawtype = "front",
water_damage = 0,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
on_rightclick = nil,
attack_type = "dogshoot",

View File

@ -30,6 +30,7 @@ mobs:register_mob("nssm:moonheron", {
drawtype = "front",
water_damage = 5,
lava_damage = 5,
fire_damage = 5,
group_attack = true,
attack_animals = true,
knock_back = 4,

View File

@ -28,6 +28,7 @@ mobs:register_mob("nssm:mordain", {
drawtype = "front",
water_damage = 0,
lava_damage = 1,
fire_damage = 1,
-- light_damage = 2,
group_attack = true,
attack_animals = true,

View File

@ -30,6 +30,7 @@ mobs:register_mob("nssm:morde", {
fear_height = 4,
floats = 1,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
group_attack = true,
attack_animals = true,
@ -85,22 +86,22 @@ mobs:register_mob("nssm:morde", {
damage_groups = {fleshy = self.damage}
}, nil)
minetest.add_particlespawner(
6, --amount
1, --time
{x=p.x-0.5, y=p.y-0.5, z=p.z-0.5}, --minpos
{x=p.x+0.5, y=p.y+0.5, z=p.z+0.5}, --maxpos
{x=(s.x-p.x)*m, y=(s.y-p.y+1)*m, z=(s.z-p.z)*m}, --minvel
{x=(s.x-p.x)*m, y=(s.y-p.y+1)*m, z=(s.z-p.z)*m}, --maxvel
{x=s.x-p.x, y=s.y-p.y+1, z=s.z-p.z}, --minacc
{x=s.x-p.x, y=s.y-p.y+1, z=s.z-p.z}, --maxacc
0.2, --minexptime
0.3, --maxexptime
2, --minsize
3, --maxsize
false, --collisiondetection
"morparticle.png" --texture
)
minetest.add_particlespawner({
amount = 6,
time = 1,
minpos = {x=p.x-0.5, y=p.y-0.5, z=p.z-0.5},
maxpos = {x=p.x+0.5, y=p.y+0.5, z=p.z+0.5},
minvel = {x=(s.x-p.x)*m, y=(s.y-p.y+1)*m, z=(s.z-p.z)*m},
maxvel = {x=(s.x-p.x)*m, y=(s.y-p.y+1)*m, z=(s.z-p.z)*m},
minacc = {x=s.x-p.x, y=s.y-p.y+1, z=s.z-p.z},
maxacc = {x=s.x-p.x, y=s.y-p.y+1, z=s.z-p.z},
minexptime = 0.2,
maxexptime = 0.3,
minsize = 2,
maxsize = 3,
collisiondetection = false,
texture = "morparticle.png"
})
end
end
end,

View File

@ -30,6 +30,7 @@ mobs:register_mob("nssm:morgre", {
drawtype = "front",
water_damage = 0,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:morgut", {
fear_height = 4,
floats = 1,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
group_attack = true,
attack_animals = true,
@ -102,22 +103,22 @@ mobs:register_mob("nssm:morgut", {
local m = 2
minetest.add_particlespawner(
6, --amount
1, --time
{x=p.x-0.5, y=p.y-0.5, z=p.z-0.5}, --minpos
{x=p.x+0.5, y=p.y+0.5, z=p.z+0.5}, --maxpos
{x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m}, --minvel
{x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m}, --maxvel
{x=s.x-p.x, y=s.y-p.y, z=s.z-p.z}, --minacc
{x=s.x-p.x, y=s.y-p.y, z=s.z-p.z}, --maxacc
0.2, --minexptime
0.3, --maxexptime
2, --minsize
3, --maxsize
false, --collisiondetection
"roasted_duck_legs.png" --texture
)
minetest.add_particlespawner({
amount = 6,
time = 1,
minpos = {x=p.x-0.5, y=p.y-0.5, z=p.z-0.5},
maxpos = {x=p.x+0.5, y=p.y+0.5, z=p.z+0.5},
minvel = {x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m},
maxvel = {x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m},
minacc = {x=s.x-p.x, y=s.y-p.y, z=s.z-p.z},
maxacc = {x=s.x-p.x, y=s.y-p.y, z=s.z-p.z},
minexptime = 0.2,
maxexptime = 0.3,
minsize = 2,
maxsize = 3,
collisiondetection = false,
texture = "roasted_duck_legs.png"
})
minetest.after(1, function(self)

View File

@ -32,6 +32,7 @@ mobs:register_mob("nssm:morlu", {
fear_height = 4,
floats = 1,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
group_attack = true,
attack_animals = true,
@ -161,22 +162,22 @@ mobs:register_mob("nssm:morlu", {
end
--minetest.chat_send_all("Nome della texture: "..nname)
minetest.add_particlespawner(
1, --amount
1, --time
{x=p.x, y=p.y+1, z=p.z}, --minpos
{x=p.x, y=p.y+1, z=p.z}, --maxpos
{x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m}, --minvel
{x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m}, --maxvel
{x=s.x-p.x, y=s.y-p.y-1, z=s.z-p.z}, --minacc
{x=s.x-p.x, y=s.y-p.y-1, z=s.z-p.z}, --maxacc
0.5, --minexptime
0.5, --maxexptime
10, --minsize
10, --maxsize
false, --collisiondetection
nname --texture
)
minetest.add_particlespawner({
amount = 1,
time = 1,
minpos = {x=p.x, y=p.y+1, z=p.z},
maxpos = {x=p.x, y=p.y+1, z=p.z},
minvel = {x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m},
maxvel = {x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m},
minacc = {x=s.x-p.x, y=s.y-p.y-1, z=s.z-p.z},
maxacc = {x=s.x-p.x, y=s.y-p.y-1, z=s.z-p.z},
minexptime = 0.5,
maxexptime = 0.5,
minsize = 10,
maxsize = 10,
collisiondetection = false,
texture = nname
})
minetest.after(1, function (self)

View File

@ -49,6 +49,7 @@ mobs:register_mob("nssm:morvalar", {
fear_height = 4,
floats = 1,
lava_damage = 0,
fire_damage = 0,
blood_texture = "morparticle.png",
blood_amount = 10,
knock_back = 0,
@ -135,22 +136,22 @@ mobs:register_mob("nssm:morvalar", {
nname = "3d_armor_inv_chestplate_diamond.png"
end
minetest.add_particlespawner(
1, --amount
1, --time
{x=p.x, y=p.y+1, z=p.z}, --minpos
{x=p.x, y=p.y+1, z=p.z}, --maxpos
{x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m}, --minvel
{x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m}, --maxvel
{x=s.x-p.x, y=s.y-p.y-1, z=s.z-p.z}, --minacc
{x=s.x-p.x, y=s.y-p.y-1, z=s.z-p.z}, --maxacc
0.5, --minexptime
0.5, --maxexptime
10, --minsize
10, --maxsize
false, --collisiondetection
nname --texture
)
minetest.add_particlespawner({
amount = 1,
time = 1,
minpos = {x=p.x, y=p.y+1, z=p.z},
maxpos = {x=p.x, y=p.y+1, z=p.z},
minvel = {x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m},
maxvel = {x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m},
minacc = {x=s.x-p.x, y=s.y-p.y-1, z=s.z-p.z},
maxacc = {x=s.x-p.x, y=s.y-p.y-1, z=s.z-p.z},
minexptime = 0.5,
maxexptime = 0.5,
minsize = 10,
maxsize = 10,
collisiondetection = false,
texture = nname
})
minetest.after(1, function (self)
@ -234,6 +235,7 @@ mobs:register_mob("nssm:morvalar6", {
fear_height = 4,
floats = 1,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
blood_texture = "morparticle.png",
blood_amount = 10,
@ -302,22 +304,22 @@ mobs:register_mob("nssm:morvalar6", {
}, nil)
else
s.y = s.y+1.8
minetest.add_particlespawner(
1, --amount
1, --time
{x=p.x, y=p.y+1, z=p.z}, --minpos
{x=p.x, y=p.y+1, z=p.z}, --maxpos
{x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m}, --minvel
{x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m}, --maxvel
{x=s.x-p.x, y=s.y-p.y-1, z=s.z-p.z}, --minacc
{x=s.x-p.x, y=s.y-p.y-1, z=s.z-p.z}, --maxacc
0.5, --minexptime
0.5, --maxexptime
10, --minsize
10, --maxsize
false, --collisiondetection
"roasted_duck_legs.png" --texture
)
minetest.add_particlespawner({
amount = 1,
time = 1,
minpos = {x=p.x, y=p.y+1, z=p.z},
maxpos = {x=p.x, y=p.y+1, z=p.z},
minvel = {x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m},
maxvel = {x=(s.x-p.x)*m, y=(s.y-p.y)*m, z=(s.z-p.z)*m},
minacc = {x=s.x-p.x, y=s.y-p.y-1, z=s.z-p.z},
maxacc = {x=s.x-p.x, y=s.y-p.y-1, z=s.z-p.z},
minexptime = 0.5,
maxexptime = 0.5,
minsize = 10,
maxsize = 10,
collisiondetection = false,
texture = "roasted_duck_legs.png"
})
end
self.morvalar6_timer = os.time()
end
@ -361,6 +363,7 @@ mobs:register_mob("nssm:morvalar5", {
fear_height = 4,
floats = 1,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
blood_texture="morparticle.png",
blood_amount=10,
@ -432,6 +435,7 @@ mobs:register_mob("nssm:morvalar4", {
fear_height = 4,
floats = 1,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
blood_texture="morparticle.png",
blood_amount=10,
@ -554,6 +558,7 @@ mobs:register_mob("nssm:morvalar3", {
fear_height = 4,
floats = 1,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
blood_texture="morparticle.png",
blood_amount=10,
@ -615,6 +620,7 @@ mobs:register_mob("nssm:morvalar2", {
fear_height = 4,
floats = 1,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
blood_texture="morparticle.png",
blood_amount=10,
@ -715,6 +721,7 @@ mobs:register_mob("nssm:morvalar1", {
fear_height = 4,
floats = 1,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
blood_texture="morparticle.png",
blood_amount=10,
@ -805,6 +812,7 @@ mobs:register_mob("nssm:morvalar0", {
fear_height = 4,
floats = 1,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
blood_texture="morparticle.png",
blood_amount=10,

View File

@ -30,6 +30,7 @@ mobs:register_mob("nssm:morvy", {
water_damage = 0,
lava_damage = 0,
light_damage = 0,
fire_damage = 0,
group_attack = true,
attack_animals = true,
knock_back = 1,
@ -115,22 +116,22 @@ mobs:register_mob("nssm:morvy", {
minetest.add_entity(pos1, bat)
minetest.add_particlespawner(
20, --amount
0.1, --time
{x=pos1.x-0.2, y=pos1.y-0.2, z=pos1.z-0.2}, --minpos
{x=pos1.x+0.2, y=pos1.y+0.2, z=pos1.z+0.2}, --maxpos
{x=0, y=0, z=0}, --minvel
{x=0.1, y=0.3, z=0.1}, --maxvel
{x=-0.5,y=1,z=-0.5}, --minacc
{x=0.5,y=1,z=0.5}, --maxacc
0.1, --minexptime
4, --maxexptime
2, --minsize
6, --maxsize
false, --collisiondetection
"morparticle.png" --texture
)
minetest.add_particlespawner({
amount = 20,
time = 0.1,
minpos = {x=pos1.x-0.2, y=pos1.y-0.2, z=pos1.z-0.2},
maxpos = {x=pos1.x+0.2, y=pos1.y+0.2, z=pos1.z+0.2},
minvel = {x=0, y=0, z=0},
maxvel = {x=0.1, y=0.3, z=0.1},
minacc = {x=-0.5,y=1,z=-0.5},
maxacc = {x=0.5,y=1,z=0.5},
minexptime = 0.1,
maxexptime = 4,
minsize = 2,
maxsize = 6,
collisiondetection = false,
texture = "morparticle.png"
})
end
end
end
@ -170,6 +171,7 @@ mobs:register_mob("nssm:morbat1", {
drawtype = "front",
water_damage = 0,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
blood_texture="morparticle.png",
fly = true,
@ -218,6 +220,7 @@ mobs:register_mob("nssm:morbat2", {
drawtype = "front",
water_damage = 0,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
blood_texture="morparticle.png",
fly = true,
@ -268,6 +271,7 @@ mobs:register_mob("nssm:morbat3", {
drawtype = "front",
water_damage = 0,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
blood_texture = "morparticle.png",
fly = true,

View File

@ -29,6 +29,7 @@ mobs:register_mob("nssm:morwa", {
reach = 4,
rotate = 270,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -27,6 +27,7 @@ mobs:register_mob("nssm:night_master", {
drawtype = "front",
water_damage = 0,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
blood_texture = "nssm_blood.png",
blood_amount = 50,
@ -47,22 +48,22 @@ mobs:register_mob("nssm:night_master", {
on_die = function(self, pos)
minetest.add_particlespawner(
200, --amount
0.1, --time
{x=pos.x-1, y=pos.y-1, z=pos.z-1}, --minpos
{x=pos.x+1, y=pos.y+1, z=pos.z+1}, --maxpos
{x=-0, y=-0, z=-0}, --minvel
{x=1, y=1, z=1}, --maxvel
{x=-0.5,y=5,z=-0.5}, --minacc
{x=0.5,y=5,z=0.5}, --maxacc
0.1, --minexptime
1, --maxexptime
3, --minsize
4, --maxsize
false, --collisiondetection
"tnt_smoke.png" --texture
)
minetest.add_particlespawner({
amount = 200,
time = 0.1,
minpos = {x=pos.x-1, y=pos.y-1, z=pos.z-1},
maxpos = {x=pos.x+1, y=pos.y+1, z=pos.z+1},
minvel = {x=-0, y=-0, z=-0},
maxvel = {x=1, y=1, z=1},
minacc = {x=-0.5,y=5,z=-0.5},
maxacc = {x=0.5,y=5,z=0.5},
minexptime = 0.1,
maxexptime = 1,
minsize = 3,
maxsize = 4,
collisiondetection = false,
texture = "tnt_smoke.png"
})
self.object:remove()
@ -99,6 +100,7 @@ mobs:register_mob("nssm:night_master_2", {
drawtype = "front",
water_damage = 0,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
fly = true,
attack_type = "dogfight",
@ -117,22 +119,22 @@ mobs:register_mob("nssm:night_master_2", {
on_die = function(self, pos)
minetest.add_particlespawner(
200, --amount
0.1, --time
{x=pos.x-1, y=pos.y-1, z=pos.z-1}, --minpos
{x=pos.x+1, y=pos.y+1, z=pos.z+1}, --maxpos
{x=-0, y=-0, z=-0}, --minvel
{x=1, y=1, z=1}, --maxvel
{x=-0.5,y=5,z=-0.5}, --minacc
{x=0.5,y=5,z=0.5}, --maxacc
0.1, --minexptime
1, --maxexptime
3, --minsize
4, --maxsize
false, --collisiondetection
"tnt_smoke.png" --texture
)
minetest.add_particlespawner({
amount = 200,
time = 0.1,
minpos = {x=pos.x-1, y=pos.y-1, z=pos.z-1},
maxpos = {x=pos.x+1, y=pos.y+1, z=pos.z+1},
minvel = {x=-0, y=-0, z=-0},
maxvel = {x=1, y=1, z=1},
minacc = {x=-0.5,y=5,z=-0.5},
maxacc = {x=0.5,y=5,z=0.5},
minexptime = 0.1,
maxexptime = 1,
minsize = 3,
maxsize = 4,
collisiondetection = false,
texture = "tnt_smoke.png"
})
self.object:remove()
@ -174,6 +176,7 @@ mobs:register_mob("nssm:night_master_1", {
drawtype = "front",
water_damage = 0,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
fly = true,
attack_type = "dogfight",

View File

@ -32,6 +32,7 @@ mobs:register_mob("nssm:octopus", {
drawtype = "front",
water_damage = 0,
lava_damage = 10,
fire_damage = 10,
light_damage = 0,
group_attack = true,
attack_animals = true,
@ -86,6 +87,7 @@ mobs:register_mob("nssm:xgaloctopus", {
drawtype = "front",
water_damage = 0,
lava_damage = 10,
fire_damage = 10,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -33,6 +33,7 @@ mobs:register_mob("nssm:phoenix", {
drawtype = "front",
water_damage = 5,
lava_damage = 0,
fire_damage = 0,
light_damage = 0,
blood_texture = "nssm_blood.png",
blood_amount = 50,

View File

@ -29,6 +29,7 @@ mobs:register_mob("nssm:pumpboom_small", {
drawtype = "front",
water_damage = 2,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
group_attack = true,
attack_animals = true,
@ -80,6 +81,7 @@ mobs:register_mob("nssm:pumpboom_medium", {
drawtype = "front",
water_damage = 2,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
group_attack = true,
attack_animals = true,
@ -131,6 +133,7 @@ mobs:register_mob("nssm:pumpboom_large", {
drawtype = "front",
water_damage = 2,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:pumpking", {
drawtype = "front",
water_damage = 2,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
blood_texture = "nssm_blood.png",
blood_amount = 25,

View File

@ -30,6 +30,7 @@ mobs:register_mob("nssm:sand_bloco", {
drawtype = "front",
water_damage = 10,
lava_damage = 1,
fire_damage = 1,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:sandworm", {
drawtype = "front",
water_damage = 5,
lava_damage = 10,
fire_damage = 10,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -30,6 +30,7 @@ mobs:register_mob("nssm:scrausics", {
drawtype = "front",
water_damage = 5,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -27,6 +27,7 @@ mobs:register_mob("nssm:signosigno", {
drawtype = "front",
water_damage = 1,
lava_damage = 2,
fire_damage = 2,
light_damage = 1,
group_attack = true,
attack_animals = true,

View File

@ -32,6 +32,7 @@ mobs:register_mob("nssm:snow_biter", {
drawtype = "front",
water_damage = 0,
lava_damage = 30,
fire_damage = 20,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:spiderduck", {
drawtype = "front",
water_damage = 2,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -28,6 +28,7 @@ mobs:register_mob("nssm:stone_eater", {
drawtype = "front",
water_damage = 1,
lava_damage = 1,
fire_damage = 1,
group_attack = true,
attack_animals = true,
knock_back = 0,

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:swimming_duck", {
drawtype = "front",
water_damage = 0,
lava_damage = 10,
fire_damage = 10,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -28,6 +28,7 @@ mobs:register_mob("nssm:tarantula", {
drawtype = "front",
water_damage = 1,
lava_damage = 7,
fire_damage = 7,
reach = 3,
knock_back = 0,
blood_texture = "nssm_blood_blue.png",
@ -57,22 +58,22 @@ mobs:register_mob("nssm:tarantula", {
self.object:remove()
minetest.add_particlespawner(
200, --amount
0.1, --time
{x=pos.x-1, y=pos.y-1, z=pos.z-1}, --minpos
{x=pos.x+1, y=pos.y+1, z=pos.z+1}, --maxpos
{x=-0, y=-0, z=-0}, --minvel
{x=1, y=1, z=1}, --maxvel
{x=-0.5,y=5,z=-0.5}, --minacc
{x=0.5,y=5,z=0.5}, --maxacc
0.1, --minexptime
1, --maxexptime
3, --minsize
4, --maxsize
false, --collisiondetection
"tnt_smoke.png" --texture
)
minetest.add_particlespawner({
amount = 200,
time = 0.1,
minpos = {x=pos.x-1, y=pos.y-1, z=pos.z-1},
maxpos = {x=pos.x+1, y=pos.y+1, z=pos.z+1},
minvel = {x=-0, y=-0, z=-0},
maxvel = {x=1, y=1, z=1},
minacc = {x=-0.5,y=5,z=-0.5},
maxacc = {x=0.5,y=5,z=0.5},
minexptime = 0.1,
maxexptime = 1,
minsize = 3,
maxsize = 4,
collisiondetection = false,
texture = "tnt_smoke.png"
})
minetest.add_entity(pos, "nssm:tarantula_propower")
end,
@ -112,6 +113,7 @@ mobs:register_mob("nssm:tarantula_propower", {
drawtype = "front",
water_damage = 1,
lava_damage = 3,
fire_damage = 3,
reach = 4,
knock_back = 0,
blood_texture = "nssm_blood_blue.png",

View File

@ -31,6 +31,7 @@ mobs:register_mob("nssm:uloboros", {
drawtype = "front",
water_damage = 1,
lava_damage = 7,
fire_damage = 7,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -28,6 +28,7 @@ mobs:register_mob("nssm:werewolf", {
drawtype = "front",
water_damage = 2,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
group_attack = true,
attack_animals = true,

View File

@ -28,6 +28,7 @@ mobs:register_mob("nssm:white_werewolf", {
drawtype = "front",
water_damage = 2,
lava_damage = 5,
fire_damage = 5,
light_damage = 0,
group_attack = true,
attack_animals = true,