minetest-mods / moreblocks

More Blocks
https://content.minetest.net/packages/Calinou/moreblocks/
zlib License
45 stars 67 forks source link

opt-depend on default mod [squash] #182

Closed BuckarooBanzay closed 3 years ago

BuckarooBanzay commented 3 years ago

fixes #181

No new features/fixes, just fallbacks in case the default mod is not found

How to test

Test-mod for use in the devtest game:

mod.conf

depends = moreblocks,basenodes

init.lua

local ndef = minetest.registered_nodes["basenodes:stone"]
stairsplus:register_all("basenodes", "stone", "basenodes:stone", {
    tiles = ndef.tiles,
    groups = ndef.groups
})

screenshot_20210816_211524