-
Notifications
You must be signed in to change notification settings - Fork 7
/
artificial_leather.lua
32 lines (26 loc) · 1.07 KB
/
artificial_leather.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
if not minetest.get_modpath("basic_materials") then return end
if not minetest.get_modpath("cucina_vegana") then return end
if not minetest.get_modpath("wool") then return end
if not minetest.get_modpath("mobs") then return end
local S = minetest.get_translator("bls")
minetest.register_craftitem("bls:artificial_leather", {
description = S("Artificial Leather"),
inventory_image = "bls_artificial_leather.png",
groups = {flammable = 1,},
})
minetest.register_craft({
output="bls:artificial_leather",
recipe={
{"group:wool", "group:wool", "group:wool"},
{"basic_materials:paraffin", "basic_materials:paraffin", "basic_materials:paraffin"},
{"cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted"},
}
})
minetest.register_craft({
output="mobs:leather",
recipe={
{"bls:artificial_leather","bls:artificial_leather","bls:artificial_leather"},
{"bls:artificial_leather","bls:artificial_leather","bls:artificial_leather"},
{"bls:artificial_leather","bls:artificial_leather","bls:artificial_leather"},
}
})