]> git.lizzy.rs Git - xdecor.git/blobdiff - enchanting.lua
Drop some aliases (doors, cobblewalls, etc.)
[xdecor.git] / enchanting.lua
index b26cbf34fcd5da62753ef7b76ee73d8114e66c55..362c6b9d1fa261cf0d2a836408231c1d96263478 100644 (file)
@@ -146,11 +146,11 @@ 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"
+                       texture = "xdecor_glyph"..math.random(1,18)..".png"
                })
        end
        return true