railscaff: add variable lightblock

master
cora 2021-09-11 17:23:45 +02:00
parent 482514e57c
commit 81942cdee5
1 changed files with 6 additions and 2 deletions

View File

@ -16,16 +16,20 @@ local rails = {
local tunnelmaterial = {
'mcl_core:glass_light_blue',
'mcl_core:glass',
'mcl_core:cobble',
'mcl_core:stone',
'mcl_nether:netherrack',
'mcl_core:dirt',
'mcl_core:andesite',
'mcl_core:diorite',
'mcl_core:granite'
--"mesecons_torch:redstoneblock"
'mcl_core:granite',
"mesecons_torch:redstoneblock"
}
local lightblock = "mcl_ocean:sea_lantern"
--local lightblock = "mcl_nether:glowstone"
local function is_rail(pos)
pos=vector.round(pos)
if pos.y ~= 1 then return false end