[ create a new paste ] login | about

Link: http://codepad.org/rhtGZxaS    [ raw code | output | fork ]

Lua, pasted on Nov 9:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
minetest.register_node("default:leaves", {
	description = "Leaves",
	inventory_image = minetest.inventorycube("default_leaves.png"),
	drawtype = "liquid",
	tiles = {"default_leaves.png"},
	
	paramtype = "light",
	walkable = false,
	liquidtype = "source",
	liquid_alternative_flowing = "default:leaves",
	liquid_alternative_source = "default:leaves",
	liquid_viscosity = 5,
	post_effect_color = {a=130, r=0, g=60, b=0},
	groups = {snappy=3},
	liquid_renewable = false,
	liquid_range = 0,

})


Output:
1
2
3
4
line 1: attempt to index global 'minetest' (a nil value)
stack traceback:
	t.lua:1: in main chunk
	[C]: ?


Create a new paste based on this one


Comments: