new snow texture

This commit is contained in:
Thomas Rudin 2019-12-26 21:38:22 +01:00
parent 54b960ba09
commit d49fec92b3
15 changed files with 9 additions and 8 deletions

View File

@ -3,3 +3,4 @@ epic weather block
# License # License
* **textures/epic_weather_rain.png** CC BY-SA (3.0) by paramat https://github.com/paramat/snowdrift * **textures/epic_weather_rain.png** CC BY-SA (3.0) by paramat https://github.com/paramat/snowdrift
* **textures/epic_weather_snowflake*.png** CC BY-SA (3.0) by paramat https://github.com/paramat/snowdrift

View File

@ -9,21 +9,21 @@ local function do_snow(player)
minetest.add_particlespawner({ minetest.add_particlespawner({
amount = 500, amount = 500,
time = 5, time = 5,
minpos = vector.add(ppos, {x=-20, y=5, z=-20}), minpos = vector.add(ppos, {x=-20, y=10, z=-20}),
maxpos = vector.add(ppos, {x=20, y=10, z=20}), maxpos = vector.add(ppos, {x=20, y=10, z=20}),
minvel = {x=0.5, y=-1, z=0}, minvel = {x=0, y=-1.5, z=0},
maxvel = {x=1, y=-3, z=0}, maxvel = {x=0, y=-2, z=0},
minacc = {x=0, y=0, z=0}, minacc = {x=0, y=0, z=0},
maxacc = {x=0, y=0, z=0}, maxacc = {x=0, y=0, z=0},
minexptime = 1, minexptime = 6,
maxexptime = 5, maxexptime = 6,
minsize = 20, minsize = 1,
maxsize = 30.7, maxsize = 1.4,
collisiondetection = true, collisiondetection = true,
collision_removal = true, collision_removal = true,
object_collision = true, object_collision = true,
vertical = true, vertical = true,
texture = "epic_weather_snow.png", texture = "epic_weather_snowflake" .. math.random(1, 12) .. ".png",
playername = player_name playername = player_name
}) })
end end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 787 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B