TNT: randomly vary ejecting velocity
authorAuke Kok <sofar@foo-projects.org>
Sat, 16 Apr 2016 19:13:13 +0000 (12:13 -0700)
committerparamat <mat.gregory@virginmedia.com>
Tue, 26 Apr 2016 21:34:00 +0000 (22:34 +0100)
commit8b384fb257f144212a17692bd91cf77b94d5c963
tree45e853e979895fda3a2fc59be5a682f754fbf9f6
parentd6c33da3554051b3e326d3b78ef3012f3746fb3a
TNT: randomly vary ejecting velocity

We add a +/- 0.5 random value to the velocity vector of
ejecting nodes.

I've spotted a lot of nodes going exactly straight up if blowing
up sand above TNT. The extra variation looks less artificial.
mods/tnt/init.lua