diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2017-11-02 18:11:00 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2017-11-02 18:11:00 +0100 |
commit | 528efd3f9b851ba5647afb6e0a17bdc69ac71aa8 (patch) | |
tree | 2d544566abe2df8435bf4418fc092004fe21d07d /init.lua | |
parent | f634cfb08423252ea2df364ff210de91cc8b5008 (diff) |
Added line number signs.HEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -10,3 +10,27 @@ minetest.register_node("advtrains_subwayblocks:germany", { description = "German light_source=10, paramtype=light, }) +for _,i in ipairs({1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }) do + minetest.register_node("advtrains_subwayblocks:line"..i, { + description = "Line "..i, + tiles={"advtrains_subwayblocks_line"..i..".png"}, + drawtype = "nodebox", + paramtype2 = "wallmounted", + legacy_wallmounted = true, + paramtype=light, + light_source=12, + sunlight_propagates = true, + is_ground_content = false, + walkable = false, + + groups = {choppy = 2, attached_node = 1, flammable = 2, oddly_breakable_by_hand = 3}, + node_box = { + type = "wallmounted", + wall_top ={-0.5, -0.25, -0.25, -0.4375, 0.25, 0.25}, + wall_bottom = {-0.5, -0.25, -0.25, -0.4375, 0.25, 0.25}, + wall_side = {-0.5, -0.25, -0.25, -0.4375, 0.25, 0.25}, + + } + + }) +end |