-- text printer by rnd -- instruction: go to position where text starts and look in desired direction -- say: t TEXT\nTEXT... if not init then init = true names = {["rnd"]=true,["PrairieWind"] = true} get_dir = function(view) local dir if math.abs(view.x)>math.abs(view.z) then if view.x>0 then dir = {1,0} else dir = {-1,0} end else if view.z>0 then dir = {0,1} else dir = {0,-1} end end return dir end render_text = function(text,name) local player = minetest.get_player_by_name(name) local pos = player:get_pos() local dir = get_dir(player:get_look_dir()) local i=0; local x=0;local y=0 while i