aboutsummaryrefslogtreecommitdiff
path: root/src/mods.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mods.cpp')
0 files changed, 0 insertions, 0 deletions
5 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
--all nodes that do not fit in any other category

function advtrains.register_platform(preset)
	local ndef=minetest.registered_nodes[preset]
	if not ndef then 
		minetest.log("warning", "[advtrains] register_platform couldn't find preset node "..preset)
		return
	end
	minetest.log("action", dump(ndef))
	local btex=ndef.tiles
	if type(btex)=="table" then
		btex=btex[1]
	end
	local desc=ndef.description or ""
	local nodename=string.match(preset, ":(.+)$")