Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

4 changed files with 190 additions and 208 deletions

3
depends.txt Executable file
View File

@ -0,0 +1,3 @@
default
stairs
wool

View File

@ -55,5 +55,3 @@ minetest.register_tool("multitest:scraper", {
} }
} }
}) })
minetest.log("action", "[multitest] loaded.")

View File

@ -1,5 +0,0 @@
name = multitest
title = Multitest
description = Adds various nodes
depends = default,stairs,wool
optional_depends = moreblocks

View File

@ -70,7 +70,6 @@ minetest.register_node("multitest:lamp", {
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
}) })
]] ]]
minetest.register_alias("multitest:lamp", "lantern:lantern") minetest.register_alias("multitest:lamp", "lantern:lantern")
minetest.register_node("multitest:andesite", { minetest.register_node("multitest:andesite", {
@ -122,18 +121,6 @@ minetest.register_node("multitest:sandstone_carved", {
sounds = default.node_sound_sand_defaults(), sounds = default.node_sound_sand_defaults(),
}) })
if minetest.get_modpath("moreblocks") then
local modname = "multitest"
local names = {"blackstone", "blackcobble", "blackstone_brick", "blackstone_paved"}
for _,name in ipairs(names) do
local nodename = modname..":"..name
local ndef = table.copy(minetest.registered_nodes[nodename])
ndef.sunlight_propagates = true
ndef.place_param2 = nil
stairsplus:register_all(modname, name, nodename, ndef)
end
else
-- stairs:stair_blackstone -- stairs:stair_blackstone
stairs.register_stair_and_slab("blackstone", "multitest:blackstone", stairs.register_stair_and_slab("blackstone", "multitest:blackstone",
{cracky=3, stone=1}, {cracky=3, stone=1},
@ -158,7 +145,6 @@ else
{"multitest_blackstone_paved.png"}, {"multitest_blackstone_paved.png"},
"Paved Blackstone Stairs", "Paved Blackstone Stairs",
"Paved Blackstone Slab", nil) "Paved Blackstone Slab", nil)
end
-- others -- others
for i, v in ipairs(multitest.colors) do for i, v in ipairs(multitest.colors) do