1
0
mirror of https://github.com/Dragonop/claycrafter.git synced 2025-07-01 21:10:21 +02:00

Add compatibility with dirt_compressed node from moreblocks

This commit is contained in:
sys4-fr
2018-03-28 19:36:35 +02:00
parent c8c4e41cae
commit feb2efb6bc
4 changed files with 17 additions and 7 deletions

View File

@ -1,8 +1,12 @@
minetest.register_node("claycrafter:compressed_dirt", {
if minetest.get_modpath("moreblocks") then
minetest.register_alias("claycrafter:compressed_dirt", "moreblocks:dirt_compressed")
else
minetest.register_node("claycrafter:compressed_dirt", {
description = "Compressed Dirt",
tiles = {"claycrafter_compressed_dirt.png"},
groups = {crumbly = 1, oddly_breakable_by_hand = 1, soil = 1, cracky =1}
})
})
end
minetest.register_craftitem("claycrafter:glass_of_water", {
description = "Glass of Water",