mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 22:03:45 +01:00
Increase tiny slime spawn distance
This commit is contained in:
parent
96d7d3b0f7
commit
9ca2f328cd
@ -122,7 +122,7 @@ mobs:register_mob("mobs_mc:greenmedium", {
|
|||||||
angle = math.random(0, math.pi*2)
|
angle = math.random(0, math.pi*2)
|
||||||
for i=1,4 do
|
for i=1,4 do
|
||||||
posadd = {x=math.cos(angle),y=0,z=math.sin(angle)}
|
posadd = {x=math.cos(angle),y=0,z=math.sin(angle)}
|
||||||
posadd = vector.multiply(vector.normalize(posadd), 0.5)
|
posadd = vector.multiply(vector.normalize(posadd), 0.6)
|
||||||
minetest.add_entity(vector.add(pos, posadd), "mobs_mc:greensmall")
|
minetest.add_entity(vector.add(pos, posadd), "mobs_mc:greensmall")
|
||||||
angle = angle + math.pi/2
|
angle = angle + math.pi/2
|
||||||
end
|
end
|
||||||
@ -315,7 +315,7 @@ mobs:register_mob("mobs_mc:lavabig", {
|
|||||||
angle = math.random(0, math.pi*2)
|
angle = math.random(0, math.pi*2)
|
||||||
for i=1,4 do
|
for i=1,4 do
|
||||||
posadd = {x=math.cos(angle),y=0,z=math.sin(angle)}
|
posadd = {x=math.cos(angle),y=0,z=math.sin(angle)}
|
||||||
posadd = vector.multiply(vector.normalize(posadd), 0.5)
|
posadd = vector.multiply(vector.normalize(posadd), 0.6)
|
||||||
minetest.add_entity(vector.add(pos, posadd), "mobs_mc:lavasmall")
|
minetest.add_entity(vector.add(pos, posadd), "mobs_mc:lavasmall")
|
||||||
angle = angle + math.pi/2
|
angle = angle + math.pi/2
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user