Browse Source

basic_materials stairs/slopes/et. al

(keeping original technic item names)
tags/v1.2.0
Vanessa Dannenberg 1 year ago
committed by Hugo Locurcio
parent
commit
01ec8290f6
2 changed files with 16 additions and 0 deletions
  1. +1
    -0
      depends.txt
  2. +15
    -0
      stairsplus/registrations.lua

+ 1
- 0
depends.txt View File

@@ -3,3 +3,4 @@ intllib?
stairs?
farming?
wool?
basic_materials?

+ 15
- 0
stairsplus/registrations.lua View File

@@ -112,6 +112,21 @@ if minetest.get_modpath("wool") then
end
end

-- basic_materials, keeping the original technic-oriented names
-- for backwards compatibility

if minetest.get_modpath("basic_materials") then
stairsplus:register_all("technic","concrete","basic_materials:concrete_block",{
description = "Concrete",
tiles = {"basic_materials_concrete_block.png",},
groups = {cracky=1, level=2, concrete=1},
sounds = default.node_sound_stone_defaults(),
})

minetest.register_alias("prefab:concrete_stair","technic:stair_concrete")
minetest.register_alias("prefab:concrete_slab","technic:slab_concrete")
end

-- Alias cuts of split_stone_tile_alt which was renamed checker_stone_tile.
stairsplus:register_alias_all("moreblocks", "split_stone_tile_alt", "moreblocks", "checker_stone_tile")



Loading…
Cancel
Save