| | |
| | | -- Minetest 0.4.6 mod: extranodes |
| | | -- namespace: technic |
| | | |
| | | -- Boilerplate to support localized strings if intllib mod is installed. |
| | | local S |
| | | if intllib then |
| | | S = intllib.Getter() |
| | | else |
| | | S = function(s) return s end |
| | | end |
| | | --register stairslike nodes |
| | | register_stair_slab_panel_micro("technic", "marble", "technic:marble", |
| | | {cracky=2, not_in_creative_inventory=1}, |
| | | {"technic_marble.png"}, |
| | | "Marble", |
| | | S("Marble"), |
| | | "marble", |
| | | "facedir", |
| | | 0) |
| | |
| | | register_stair_slab_panel_micro("technic", "marble_bricks", "technic:marble_bricks", |
| | | {cracky=2, not_in_creative_inventory=1}, |
| | | {"technic_marble_bricks.png"}, |
| | | "Marble Bricks", |
| | | S("Marble Bricks"), |
| | | "marble_bricks", |
| | | "facedir", |
| | | 0) |
| | |
| | | register_stair_slab_panel_micro("technic", "granite", "technic:granite", |
| | | {cracky=3, not_in_creative_inventory=1}, |
| | | {"technic_granite.png"}, |
| | | "Granite", |
| | | S("Granite"), |
| | | "granite", |
| | | "facedir", |
| | | 0) |
| | |
| | | register_stair_slab_panel_micro("technic", "concrete", "technic:concrete", |
| | | {cracky=3, not_in_creative_inventory=1}, |
| | | {"technic_concrete_block.png"}, |
| | | "Concrete", |
| | | S("Concrete"), |
| | | "concrete", |
| | | "facedir", |
| | | 0) |
| | |
| | | minetest.register_alias(modname .. ":panel_" .. origname .. "_vertical", newmod..":panel_" .. newname .. "_vertical") |
| | | minetest.register_alias(modname .. ":micro_" .. origname .. "_bottom", newmod..":micro_" .. newname .. "_bottom") |
| | | minetest.register_alias(modname .. ":micro_" .. origname .. "_top", newmod..":micro_" .. newname .. "_top") |
| | | -end |
| | | end |
| | | |
| | | register_technic_stairs_alias("stairsplus", "concrete", "technic", "concrete") |
| | | register_technic_stairs_alias("stairsplus", "marble", "technic", "marble") |
| | | register_technic_stairs_alias("stairsplus", "granite", "technic", "granite") |
| | | register_technic_stairs_alias("stairsplus", "marble_bricks", "technic", "marble_bricks") |