mirror of
https://github.com/Sokomine/locks.git
synced 2025-07-17 05:10:28 +02:00
Change recipes when basic_materials mod is detected
This commit is contained in:
@ -38,7 +38,7 @@ end
|
||||
|
||||
|
||||
minetest.register_node("locks:shared_locked_chest", {
|
||||
description = "Shared locked chest",
|
||||
description = "Advanced shared locked chest",
|
||||
tiles = locks.chest_add.tiles,
|
||||
paramtype2 = "facedir",
|
||||
groups = locks.chest_add.groups,
|
||||
@ -140,7 +140,7 @@ minetest.register_node("locks:shared_locked_chest", {
|
||||
minetest.register_craft({
|
||||
output = 'locks:shared_locked_chest',
|
||||
recipe = {
|
||||
{ 'default:chest', 'locks:lock', '' },
|
||||
{ 'locks:lock', 'default:chest', minetest.get_modpath("basic_materials") and 'basic_materials:ic' or ''},
|
||||
},
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user