28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
end
if minetest.get_modpath("new_campfire") then
minetest.register_alias('sorcery:ash', 'new_campfire:ash')
else
minetest.register_craftitem('sorcery:ash', {
description = 'Ash';
inventory_image = 'sorcery_iron_powder.png^[colorize:#FFFFFF:100';
})
minetest.register_alias('new_campfire:ash', 'sorcery:ash')
end
-- xdecor offers a conflicting and somewhat poorly designed enchantment
-- mechanism; make it inaccessible but don't fuck up already existing
-- enchanters in the world
minetest.clear_craft { output='xdecor:enchanter'; }
return {
defp = function(name)
return minetest.registered_items[name] or minetest.registered_aliases[name]
end;
}
|
|
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
end
if minetest.get_modpath("new_campfire") then
minetest.register_alias('sorcery:ash', 'new_campfire:ash')
else
minetest.register_craftitem('sorcery:ash', {
description = 'Ash';
inventory_image = 'sorcery_iron_powder.png^[colorize:#FFFFFF:60';
})
minetest.register_alias('new_campfire:ash', 'sorcery:ash')
end
-- xdecor offers a conflicting and somewhat poorly designed enchantment
-- mechanism; make it inaccessible but don't fuck up already existing
-- enchanters in the world
minetest.clear_craft { output='xdecor:enchantment_table'; }
minetest.override_item('xdecor:enchantment_table', {
groups = sorcery.lib.tbl.merge(minetest.registered_items['xdecor:enchantment_table'].groups, {
not_in_creative_inventory = 1;
})
})
return {
defp = function(name)
return minetest.registered_items[name] or minetest.registered_aliases[name]
end;
}
|