Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #######
- SCRIPT
- #######
- same as http://pastebin.com/W9Jxbcib, but with the line
- print(dump(minetest.get_all_craft_recipes('funnystone:funnystone')))
- instead of the other dump functions.
- #######
- OLD
- #######
- {
- {
- type = "normal",
- width = 3,
- output = "funnystone:funnystone 0",
- items = {
- "group:wood"
- }
- },
- {
- type = "normal",
- width = 3,
- output = "funnystone:funnystone",
- items = {
- "group:cobble",
- "funnystone:funnyblock"
- }
- },
- {
- type = "normal",
- width = 3,
- output = "funnystone:funnystone",
- items = {
- "group:wood"
- }
- }
- }
- #######
- NEW
- #######
- {
- {
- type = "normal",
- width = 3,
- output = "funnystone:funnystone",
- items = {
- "group:cobble",
- "funnystone:funnyblock"
- }
- },
- {
- type = "normal",
- width = 3,
- output = "funnystone:funnystone",
- items = {
- "group:wood"
- }
- }
- }
- ######
- RESULT
- ######
- NEW behaviour doesn't add crafts when there is an exactly the same craft input. Stdouts from first run (see http://pastebin.com/W9Jxbcib) were interpreted wrongly, it was just a coincidence the NEW version was right.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement