aboutsummaryrefslogtreecommitdiff
path: root/src/mapsector.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-07-27 13:45:49 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-07-27 13:45:49 +0300
commit1d44a98f2f6013c0f7ce82215c1faa11ad4a0579 (patch)
treeb52d0091d2025e5ee88034a9e535130efe8f36bb /src/mapsector.cpp
parent98ff4eb4ee2ed22c5dc3ed2923bbd83d43a13436 (diff)
downloadminetest-1d44a98f2f6013c0f7ce82215c1faa11ad4a0579.tar.gz
minetest-1d44a98f2f6013c0f7ce82215c1faa11ad4a0579.tar.bz2
minetest-1d44a98f2f6013c0f7ce82215c1faa11ad4a0579.zip
ABM and liquid overload skip
Diffstat (limited to 'src/mapsector.cpp')
0 files changed, 0 insertions, 0 deletions
'>107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138

minetest.register_tool("advtrains:1",
	{
		description = "1",
		groups = {cracky=1}, -- key=name, value=rating; rating=1..3.
		inventory_image = "drwho_screwdriver.png",
		wield_image = "drwho_screwdriver.png",
		stack_max = 1,
		range = 7.0,
	on_use = function(itemstack, user, pointed_thing)
	pos1=pointed_thing.under
end,
})
minetest.register_tool("advtrains:2",
	{
		description = "2",
		groups = {cracky=1}, -- key=name, value=rating; rating=1..3.
		inventory_image = "drwho_screwdriver.png",
		wield_image = "drwho_screwdriver.png",
		stack_max = 1,
		range = 7.0,
		on_use = function(itemstack, user, pointed_thing)
		pos2=pointed_thing.under
	end,
})
minetest.register_tool("advtrains:3",
	{
		description = "3",
		groups = {cracky=1}, -- key=name, value=rating; rating=1..3.
		inventory_image = "drwho_screwdriver.png",
		wield_image = "drwho_screwdriver.png",
		stack_max = 1,
		range = 7.0,
		on_use = function(itemstack, user, pointed_thing)
		pos3=pointed_thing.under
	end,
})
minetest.register_tool("advtrains:4",
	{
		description = "4",
		groups = {cracky=1}, -- key=name, value=rating; rating=1..3.
		inventory_image = "drwho_screwdriver.png",
		wield_image = "drwho_screwdriver.png",
		stack_max = 1,
		range = 7.0,
		on_use = function(itemstack, user, pointed_thing)
		pos4=pointed_thing.under
	end,
})
core.register_chatcommand("mad", {
	params="",
	description="",
	privs={},
	func = function(name, param)