you can change the torch here
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
tbm.placetorch = function(pos, facing)
-- places a torch besides the track
local box = tbm.offsets[facing + 1]
local ppos = {}
ppos.x = pos.x + box[tbm.newposline][1].X
ppos.y = pos.y + box[tbm.newposline][1].Y
ppos.z = pos.z + box[tbm.newposline][1].Z
minetest.env:place_node(ppos, { name = "default:torch" })
end
the distance of the torch here:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
or you can comment out this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
to ditch the torches all together...
or better yet you can give me like 2 or three more days and i will upload my very tweaked variation taking the best pieces from all the revisions of this code (i have followed this project since i first started playing) this version will have customizable bore size, customizable fuel, place tracks or tubes (pipeworks), change the material that it lays underground and a 3 purpose built tbms, ont that drills straight down and makes perfect mine shafts, one that paves roads with stree lamps (streets) and one that will build stairs. :) your choices.
heres a screen shot of the road paver.