mirror of
				https://gitlab.com/rautars/weather_pack.git
				synced 2025-10-27 07:05:17 +01:00 
			
		
		
		
	Vertical rain
This commit is contained in:
		| @@ -13,12 +13,12 @@ minetest.register_globalstep(function(dtime) | |||||||
| 		local vel = {x=0, y=   -4, z=0} | 		local vel = {x=0, y=   -4, z=0} | ||||||
| 		local acc = {x=0, y=-9.81, z=0} | 		local acc = {x=0, y=-9.81, z=0} | ||||||
|  |  | ||||||
| 		minetest.add_particlespawner(25, 0.5, | 		minetest.add_particlespawner({amount=25, time=0.5, | ||||||
| 			minp, maxp, | 			minpos=minp, maxpos=maxp, | ||||||
| 			vel, vel, | 			minvel=vel, maxvel=vel, | ||||||
| 			acc, acc, | 			minacc=acc, maxacc=acc, | ||||||
| 			0.8, 0.8, | 			minexptime=0.8, maxexptime=0.8, | ||||||
| 			25, 25, | 			minsize=25, maxsize=25, | ||||||
| 			false, "weather_rain.png", player:get_player_name()) | 			collisiondetection=false, vertical=true, texture="weather_rain.png", player=player:get_player_name()}) | ||||||
| 	end | 	end | ||||||
| end) | end) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user