- Code: Select all
local nn = minetest.env:get_node(p).name
if nn == "default:lava_source" or nn == "default:lava_flowing" then
self.object:remove()
end
if minetest.registered_nodes[nn].walkable then
self.object:setvelocity({x=0,y=4,z=0})
end
local nn = minetest.env:get_node(p).name
if nn == "default:lava_source" or nn == "default:lava_flowing" then
self.object:remove()
end
if minetest.registered_nodes[nn].walkable then
self.object:setvelocity({x=0,y=4,z=0})
endjordan4ibanez wrote:All that is required to push items that are inside blocks up, and to destroy items that are thrown into lava is that this line is added to line 85 of init.lua
Topywo wrote:jordan4ibanez wrote:All that is required to push items that are inside blocks up, and to destroy items that are thrown into lava is that this line is added to line 85 of init.lua
Init.lua of which (mod)folder?
rubenwardy wrote:water moving objects would be cool. Maybe not moving player, yet
rubenwardy wrote:water moving objects would be cool. Maybe not moving player, yet
Calinou wrote:rubenwardy wrote:water moving objects would be cool. Maybe not moving player, yet
Floating dropped items underwater would be awesome. :D
leo_rockway wrote:These are my dancing cubes o.o
http://leorockway.com.ar/effects.ogv
cornernote wrote:leo_rockway wrote:These are my dancing cubes o.o
http://leorockway.com.ar/effects.ogv
u need some of RBA's music in the background
Users browsing this forum: No registered users and 1 guest