1
0
의 미러 https://github.com/mt-mods/homedecor_modpack.git synced 2025-10-22 00:45:47 +02:00

use four randomly-chosen smoke textures derived from real smoke,

also widen the particle size range
makes for a much more varied smoke pattern
This commit is contained in:
Vanessa Ezekowitz
2014-07-28 19:26:01 -04:00
부모 375a5701c9
커밋 c9133337a2
6개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@@ -57,6 +57,7 @@ minetest.register_abm({
interval = 1, interval = 1,
chance = 2, chance = 2,
action = function(pos, node) action = function(pos, node)
local image_number = math.random(4)
minetest.add_particlespawner( minetest.add_particlespawner(
8, --particles amount 8, --particles amount
1, --time 1, --time
@@ -68,10 +69,10 @@ minetest.register_abm({
{x=0,y=0,z=0}, --max. particle acceleration {x=0,y=0,z=0}, --max. particle acceleration
0.5, --min. time particle expiration 0.5, --min. time particle expiration
3, --max. time particle expiration 3, --max. time particle expiration
8, --min. particle size 2, --min. particle size
10, --max. particle size 10, --max. particle size
false, --collision detection false, --collision detection
"smoke_particle.png" --textures "smoke_particle_"..image_number..".png" --textures
) )
end, end,
}) })

Binary file not shown.

Before

Width:  |  Height:  |  크기: 200 B

Binary file not shown.

After

Width:  |  Height:  |  크기: 690 B

Binary file not shown.

After

Width:  |  Height:  |  크기: 647 B

Binary file not shown.

After

Width:  |  Height:  |  크기: 678 B

Binary file not shown.

After

Width:  |  Height:  |  크기: 674 B