]> git.lizzy.rs Git - xdecor.git/commitdiff
Ench. Table : tweaking of particle trajectories
authorkilbith <jeanpatrick.guerrero@gmail.com>
Sat, 2 Apr 2016 18:51:08 +0000 (20:51 +0200)
committerkilbith <jeanpatrick.guerrero@gmail.com>
Sat, 2 Apr 2016 18:51:08 +0000 (20:51 +0200)
enchanting.lua

index b26cbf34fcd5da62753ef7b76ee73d8114e66c55..2eb58805b1f57af067d00b5f498f3d3a9ed3a568 100644 (file)
@@ -146,8 +146,8 @@ function enchanting.timer(pos)
        if tostring(x..z):find(2) then
                minetest.add_particle({
                        pos = bookshelf_pos,
-                       velocity = {x=x, y=1.7-y, z=z},
-                       acceleration = {x=-0.6, y=-1.5, z=0},
+                       velocity = {x=x, y=2-y, z=z},
+                       acceleration = {x=0, y=-2.2, z=0},
                        expirationtime = 1,
                        size = 2,
                        texture = "xdecor_glyph"..math.random(1,14)..".png"