Skip to content

Commit 1d5bc15

Browse files
paramatSmallJoker
authored andcommittedJul 16, 2017
Crafting: Remove duplicate reversed recipes (#1777)
For axes and hoes only use one recipe that matches the appearance of the texture and in inventory.
1 parent 1aafcdd commit 1d5bc15

File tree

2 files changed

+3
-63
lines changed

2 files changed

+3
-63
lines changed
 

Diff for: ‎mods/default/crafting.lua

+3-54
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ minetest.register_craft({
190190
}
191191
})
192192

193+
-- Axes
194+
-- Recipes face left to match appearence in textures and inventory
195+
193196
minetest.register_craft({
194197
output = 'default:axe_wood',
195198
recipe = {
@@ -244,60 +247,6 @@ minetest.register_craft({
244247
}
245248
})
246249

247-
minetest.register_craft({
248-
output = 'default:axe_wood',
249-
recipe = {
250-
{'group:wood', 'group:wood'},
251-
{'group:stick', 'group:wood'},
252-
{'group:stick',''},
253-
}
254-
})
255-
256-
minetest.register_craft({
257-
output = 'default:axe_stone',
258-
recipe = {
259-
{'group:stone', 'group:stone'},
260-
{'group:stick', 'group:stone'},
261-
{'group:stick', ''},
262-
}
263-
})
264-
265-
minetest.register_craft({
266-
output = 'default:axe_steel',
267-
recipe = {
268-
{'default:steel_ingot', 'default:steel_ingot'},
269-
{'group:stick', 'default:steel_ingot'},
270-
{'group:stick', ''},
271-
}
272-
})
273-
274-
minetest.register_craft({
275-
output = 'default:axe_bronze',
276-
recipe = {
277-
{'default:bronze_ingot', 'default:bronze_ingot'},
278-
{'group:stick', 'default:bronze_ingot'},
279-
{'group:stick', ''},
280-
}
281-
})
282-
283-
minetest.register_craft({
284-
output = 'default:axe_mese',
285-
recipe = {
286-
{'default:mese_crystal', 'default:mese_crystal'},
287-
{'group:stick', 'default:mese_crystal'},
288-
{'group:stick', ''},
289-
}
290-
})
291-
292-
minetest.register_craft({
293-
output = 'default:axe_diamond',
294-
recipe = {
295-
{'default:diamond', 'default:diamond'},
296-
{'group:stick', 'default:diamond'},
297-
{'group:stick', ''},
298-
}
299-
})
300-
301250
minetest.register_craft({
302251
output = 'default:sword_wood',
303252
recipe = {

Diff for: ‎mods/farming/api.lua

-9
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,6 @@ farming.register_hoe = function(name, def)
118118
{"", "group:stick", ""}
119119
}
120120
})
121-
-- Reverse Recipe
122-
minetest.register_craft({
123-
output = name:sub(2),
124-
recipe = {
125-
{"", def.material, def.material},
126-
{"", "group:stick", ""},
127-
{"", "group:stick", ""}
128-
}
129-
})
130121
end
131122
end
132123

0 commit comments

Comments
 (0)
Please sign in to comment.