celeron55/minetest — pull request #453 by Jeija (2013-01-27 15:12:10+00:00)
Title: Allow spawning particles from lua, Implementation of ParticleSpawner

* Protocol Version bump to 17:
Add TOCLIENT_SPAWN_PARTICLE and TOCLIENT_ADD_PARTICLESPAWNER as well as
CE_SPAWN_PARTICLE and CE_ADD_PARTICLESPAWNER
* You can use add_particle and add_particlespawner to spawn single/multiple particles on one/all client/s from Lua
* ParticleSpawners can be used to randomly spawn a certain amount of particles in a region with velocity, acceleration, size and expirationtime as bounding values, you need this e.g. for rain
* See documentation in doc/lua_api.txt for more information

Examples of what you can do

http://www.youtube.com/watch?v=tep_ZQyDJIo
![screenshot_2085194354](https://f.cloud.github.com/assets/1311964/100997/554f7844-6893-11e2-8724-7f9293394043.png)
![screenshot_2085440804](https://f.cloud.github.com/assets/1311964/100996/421ebfb4-6893-11e2-9695-993b7fdc750c.png)