code tidy ' to "

This commit is contained in:
TenPlus1 2019-08-05 09:12:06 +01:00
parent d5dab7938a
commit faed117a6d
25 changed files with 133 additions and 134 deletions

View File

@ -75,8 +75,8 @@ minetest.register_node("farming:barley_4", table.copy(crop_def))
crop_def.tiles = {"farming_barley_5.png"}
crop_def.drop = {
items = {
{items = {'farming:barley'}, rarity = 2},
{items = {'farming:seed_barley'}, rarity = 2},
{items = {"farming:barley"}, rarity = 2},
{items = {"farming:seed_barley"}, rarity = 2},
}
}
minetest.register_node("farming:barley_5", table.copy(crop_def))
@ -85,8 +85,8 @@ minetest.register_node("farming:barley_5", table.copy(crop_def))
crop_def.tiles = {"farming_barley_6.png"}
crop_def.drop = {
items = {
{items = {'farming:barley'}, rarity = 2},
{items = {'farming:seed_barley'}, rarity = 1},
{items = {"farming:barley"}, rarity = 2},
{items = {"farming:seed_barley"}, rarity = 1},
}
}
minetest.register_node("farming:barley_6", table.copy(crop_def))
@ -96,10 +96,10 @@ crop_def.tiles = {"farming_barley_7.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:barley'}, rarity = 1},
{items = {'farming:barley'}, rarity = 3},
{items = {'farming:seed_barley'}, rarity = 1},
{items = {'farming:seed_barley'}, rarity = 3},
{items = {"farming:barley"}, rarity = 1},
{items = {"farming:barley"}, rarity = 3},
{items = {"farming:seed_barley"}, rarity = 1},
{items = {"farming:seed_barley"}, rarity = 3},
}
}
minetest.register_node("farming:barley_7", table.copy(crop_def))

View File

@ -84,7 +84,7 @@ minetest.register_craftitem("farming:beans", {
minetest.register_craft({
output = "dye:green",
recipe = {
{'farming:beans'},
{"farming:beans"},
}
})
@ -162,9 +162,9 @@ minetest.register_node("farming:beanpole", {
minetest.register_craft({
output = "farming:beanpole",
recipe = {
{'', '', ''},
{'default:stick', '', 'default:stick'},
{'default:stick', '', 'default:stick'},
{"", "", ""},
{"default:stick", "", "default:stick"},
{"default:stick", "", "default:stick"},
}
})
@ -185,7 +185,7 @@ local crop_def = {
sunlight_propagates = true,
drop = {
items = {
{items = {'farming:beanpole'}, rarity = 1},
{items = {"farming:beanpole"}, rarity = 1},
}
},
selection_box = farming.select,
@ -216,10 +216,10 @@ crop_def.tiles = {"farming_beanpole_5.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:beanpole'}, rarity = 1},
{items = {'farming:beans 3'}, rarity = 1},
{items = {'farming:beans 2'}, rarity = 2},
{items = {'farming:beans 2'}, rarity = 3},
{items = {"farming:beanpole"}, rarity = 1},
{items = {"farming:beans 3"}, rarity = 1},
{items = {"farming:beans 2"}, rarity = 2},
{items = {"farming:beans 2"}, rarity = 3},
}
}
minetest.register_node("farming:beanpole_5", table.copy(crop_def))
@ -244,9 +244,9 @@ minetest.register_node("farming:beanbush", {
sunlight_propagates = true,
drop = {
items = {
{items = {'farming:beans 1'}, rarity = 1},
{items = {'farming:beans 1'}, rarity = 2},
{items = {'farming:beans 1'}, rarity = 3},
{items = {"farming:beans 1"}, rarity = 1},
{items = {"farming:beans 1"}, rarity = 2},
{items = {"farming:beans 1"}, rarity = 3},
}
},
selection_box = farming.select,

View File

@ -76,10 +76,10 @@ crop_def.tiles = {"farming_beetroot_5.png"}
crop_def.groups.growing = 0
crop_def.drop = {
max_items = 4, items = {
{items = {'farming:beetroot'}, rarity = 1},
{items = {'farming:beetroot'}, rarity = 2},
{items = {'farming:beetroot'}, rarity = 3},
{items = {'farming:beetroot'}, rarity = 4},
{items = {"farming:beetroot"}, rarity = 1},
{items = {"farming:beetroot"}, rarity = 2},
{items = {"farming:beetroot"}, rarity = 3},
{items = {"farming:beetroot"}, rarity = 4},
}
}
minetest.register_node("farming:beetroot_5", table.copy(crop_def))

View File

@ -78,9 +78,9 @@ crop_def.tiles = {"farming_blueberry_4.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:blueberries 2'}, rarity = 1},
{items = {'farming:blueberries'}, rarity = 2},
{items = {'farming:blueberries'}, rarity = 3},
{items = {"farming:blueberries 2"}, rarity = 1},
{items = {"farming:blueberries"}, rarity = 2},
{items = {"farming:blueberries"}, rarity = 3},
}
}
minetest.register_node("farming:blueberry_4", table.copy(crop_def))

View File

@ -97,8 +97,8 @@ minetest.register_node("farming:carrot_6", table.copy(crop_def))
crop_def.tiles = {"farming_carrot_7.png"}
crop_def.drop = {
items = {
{items = {'farming:carrot'}, rarity = 1},
{items = {'farming:carrot 2'}, rarity = 3},
{items = {"farming:carrot"}, rarity = 1},
{items = {"farming:carrot 2"}, rarity = 3},
}
}
minetest.register_node("farming:carrot_7", table.copy(crop_def))
@ -108,8 +108,8 @@ crop_def.tiles = {"farming_carrot_8.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:carrot 2'}, rarity = 1},
{items = {'farming:carrot 3'}, rarity = 2},
{items = {"farming:carrot 2"}, rarity = 1},
{items = {"farming:carrot 3"}, rarity = 2},
}
}
minetest.register_node("farming:carrot_8", table.copy(crop_def))

View File

@ -32,7 +32,7 @@ minetest.register_craft({
minetest.register_craft({
output = "dye:red",
recipe = {
{'farming:chili_pepper'},
{"farming:chili_pepper"},
}
})
@ -85,8 +85,8 @@ crop_def.tiles = {"farming_chili_8.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:chili_pepper 3'}, rarity = 1},
{items = {'farming:chili_pepper 2'}, rarity = 2},
{items = {"farming:chili_pepper 3"}, rarity = 1},
{items = {"farming:chili_pepper 2"}, rarity = 2},
}
}
minetest.register_node("farming:chili_8", table.copy(crop_def))

View File

@ -141,7 +141,7 @@ local crop_def = {
walkable = false,
drop = {
items = {
{items = {'farming:cocoa_beans 1'}, rarity = 2},
{items = {"farming:cocoa_beans 1"}, rarity = 2},
}
},
selection_box = {
@ -172,7 +172,7 @@ minetest.register_node("farming:cocoa_2", table.copy(crop_def))
crop_def.tiles = {"farming_cocoa_3.png"}
crop_def.drop = {
items = {
{items = {'farming:cocoa_beans 1'}, rarity = 1},
{items = {"farming:cocoa_beans 1"}, rarity = 1},
}
}
minetest.register_node("farming:cocoa_3", table.copy(crop_def))
@ -183,9 +183,9 @@ crop_def.groups.growing = 0
crop_def.growth_check = nil
crop_def.drop = {
items = {
{items = {'farming:cocoa_beans 2'}, rarity = 1},
{items = {'farming:cocoa_beans 1'}, rarity = 2},
{items = {'farming:cocoa_beans 1'}, rarity = 4},
{items = {"farming:cocoa_beans 2"}, rarity = 1},
{items = {"farming:cocoa_beans 1"}, rarity = 2},
{items = {"farming:cocoa_beans 1"}, rarity = 4},
}
}
minetest.register_node("farming:cocoa_4", table.copy(crop_def))

View File

@ -80,9 +80,9 @@ crop_def.tiles = {"farming_coffee_5.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:coffee_beans 2'}, rarity = 1},
{items = {'farming:coffee_beans 2'}, rarity = 2},
{items = {'farming:coffee_beans 2'}, rarity = 3},
{items = {"farming:coffee_beans 2"}, rarity = 1},
{items = {"farming:coffee_beans 2"}, rarity = 2},
{items = {"farming:coffee_beans 2"}, rarity = 3},
}
}
minetest.register_node("farming:coffee_5", table.copy(crop_def))

View File

@ -129,9 +129,9 @@ minetest.register_node("farming:corn_6", table.copy(crop_def))
crop_def.tiles = {"farming_corn_7.png"}
crop_def.drop = {
items = {
{items = {'farming:corn'}, rarity = 1},
{items = {'farming:corn'}, rarity = 2},
{items = {'farming:corn'}, rarity = 3},
{items = {"farming:corn"}, rarity = 1},
{items = {"farming:corn"}, rarity = 2},
{items = {"farming:corn"}, rarity = 3},
}
}
minetest.register_node("farming:corn_7", table.copy(crop_def))
@ -141,9 +141,9 @@ crop_def.tiles = {"farming_corn_8.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:corn 2'}, rarity = 1},
{items = {'farming:corn 2'}, rarity = 2},
{items = {'farming:corn 2'}, rarity = 2},
{items = {"farming:corn 2"}, rarity = 1},
{items = {"farming:corn 2"}, rarity = 2},
{items = {"farming:corn 2"}, rarity = 2},
}
}
minetest.register_node("farming:corn_8", table.copy(crop_def))

View File

@ -49,8 +49,8 @@ crop_def.tiles = {"farming_cucumber_4.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:cucumber 2'}, rarity = 1},
{items = {'farming:cucumber 2'}, rarity = 2},
{items = {"farming:cucumber 2"}, rarity = 1},
{items = {"farming:cucumber 2"}, rarity = 2},
}
}
minetest.register_node("farming:cucumber_4", table.copy(crop_def))

View File

@ -65,7 +65,7 @@ minetest.register_node("farming:garlic_braid", {
minetest.register_craft({
output = "farming:garlic_braid",
recipe = {
recipe = {
{"farming:garlic", "farming:garlic", "farming:garlic"},
{"farming:garlic", "farming:garlic", "farming:garlic"},
{"farming:garlic", "farming:garlic", "farming:garlic"}
@ -118,11 +118,11 @@ crop_def.tiles = {"crops_garlic_plant_5.png"}
crop_def.groups.growing = 0
crop_def.drop = {
max_items = 5, items = {
{items = {'farming:garlic'}, rarity = 1},
{items = {'farming:garlic'}, rarity = 1},
{items = {'farming:garlic'}, rarity = 1},
{items = {'farming:garlic'}, rarity = 2},
{items = {'farming:garlic'}, rarity = 5},
{items = {"farming:garlic"}, rarity = 1},
{items = {"farming:garlic"}, rarity = 1},
{items = {"farming:garlic"}, rarity = 1},
{items = {"farming:garlic"}, rarity = 2},
{items = {"farming:garlic"}, rarity = 5},
}
}
minetest.register_node("farming:garlic_5", table.copy(crop_def))

View File

@ -79,7 +79,7 @@ minetest.register_craftitem("farming:grapes", {
minetest.register_craft({
output = "dye:violet",
recipe = {
{'farming:grapes'},
{"farming:grapes"},
}
})
@ -157,9 +157,9 @@ minetest.register_node("farming:trellis", {
minetest.register_craft({
output = "farming:trellis",
recipe = {
{'default:stick', 'default:stick', 'default:stick'},
{'default:stick', 'default:stick', 'default:stick'},
{'default:stick', 'default:stick', 'default:stick'},
{"default:stick", "default:stick", "default:stick"},
{"default:stick", "default:stick", "default:stick"},
{"default:stick", "default:stick", "default:stick"},
}
})
@ -180,7 +180,7 @@ local crop_def = {
sunlight_propagates = true,
drop = {
items = {
{items = {'farming:trellis'}, rarity = 1},
{items = {"farming:trellis"}, rarity = 1},
}
},
selection_box = farming.select,
@ -223,10 +223,10 @@ crop_def.tiles = {"farming_grapes_8.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:trellis'}, rarity = 1},
{items = {'farming:grapes 3'}, rarity = 1},
{items = {'farming:grapes 1'}, rarity = 2},
{items = {'farming:grapes 1'}, rarity = 3},
{items = {"farming:trellis"}, rarity = 1},
{items = {"farming:grapes 3"}, rarity = 1},
{items = {"farming:grapes 1"}, rarity = 2},
{items = {"farming:grapes 1"}, rarity = 3},
}
}
minetest.register_node("farming:grapes_8", table.copy(crop_def))
@ -251,9 +251,9 @@ minetest.register_node("farming:grapebush", {
sunlight_propagates = true,
drop = {
items = {
{items = {'farming:grapes 1'}, rarity = 1},
{items = {'farming:grapes 1'}, rarity = 2},
{items = {'farming:grapes 1'}, rarity = 3},
{items = {"farming:grapes 1"}, rarity = 1},
{items = {"farming:grapes 1"}, rarity = 2},
{items = {"farming:grapes 1"}, rarity = 3},
}
},
selection_box = farming.select,

View File

@ -69,7 +69,7 @@ minetest.register_craft({
})
-- hemp fibre
minetest.register_craftitem("farming:hemp_fibre", {
minetest.register_craftitem("farming:hemp_fibre", {
description = S("Hemp Fibre"),
inventory_image = "farming_hemp_fibre.png",
})
@ -219,8 +219,8 @@ minetest.register_node("farming:hemp_5", table.copy(crop_def))
crop_def.tiles = {"farming_hemp_6.png"}
crop_def.drop = {
items = {
{items = {'farming:hemp_leaf'}, rarity = 2},
{items = {'farming:seed_hemp'}, rarity = 1},
{items = {"farming:hemp_leaf"}, rarity = 2},
{items = {"farming:seed_hemp"}, rarity = 1},
}
}
minetest.register_node("farming:hemp_6", table.copy(crop_def))
@ -229,10 +229,10 @@ minetest.register_node("farming:hemp_6", table.copy(crop_def))
crop_def.tiles = {"farming_hemp_7.png"}
crop_def.drop = {
items = {
{items = {'farming:hemp_leaf'}, rarity = 1},
{items = {'farming:hemp_leaf'}, rarity = 3},
{items = {'farming:seed_hemp'}, rarity = 1},
{items = {'farming:seed_hemp'}, rarity = 3},
{items = {"farming:hemp_leaf"}, rarity = 1},
{items = {"farming:hemp_leaf"}, rarity = 3},
{items = {"farming:seed_hemp"}, rarity = 1},
{items = {"farming:seed_hemp"}, rarity = 3},
}
}
minetest.register_node("farming:hemp_7", table.copy(crop_def))
@ -242,10 +242,10 @@ crop_def.tiles = {"farming_hemp_8.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:hemp_leaf 2'}, rarity = 1},
{items = {'farming:hemp_leaf'}, rarity = 2},
{items = {'farming:seed_hemp'}, rarity = 1},
{items = {'farming:seed_hemp'}, rarity = 2},
{items = {"farming:hemp_leaf 2"}, rarity = 1},
{items = {"farming:hemp_leaf"}, rarity = 2},
{items = {"farming:seed_hemp"}, rarity = 1},
{items = {"farming:seed_hemp"}, rarity = 2},
}
}
minetest.register_node("farming:hemp_8", table.copy(crop_def))

View File

@ -58,11 +58,11 @@ crop_def.tiles = {"crops_onion_plant_5.png"}
crop_def.groups.growing = 0
crop_def.drop = {
max_items = 5, items = {
{items = {'farming:onion'}, rarity = 1},
{items = {'farming:onion'}, rarity = 1},
{items = {'farming:onion'}, rarity = 2},
{items = {'farming:onion'}, rarity = 2},
{items = {'farming:onion'}, rarity = 5},
{items = {"farming:onion"}, rarity = 1},
{items = {"farming:onion"}, rarity = 1},
{items = {"farming:onion"}, rarity = 2},
{items = {"farming:onion"}, rarity = 2},
{items = {"farming:onion"}, rarity = 5},
}
}
minetest.register_node("farming:onion_5", table.copy(crop_def))

View File

@ -79,11 +79,10 @@ crop_def.tiles = {"farming_pea_5.png"}
crop_def.groups.growing = 0
crop_def.drop = {
max_items = 5, items = {
{items = {'farming:pea_pod'}, rarity = 1},
{items = {'farming:pea_pod'}, rarity = 2},
{items = {'farming:pea_pod'}, rarity = 3},
{items = {'farming:pea_pod'}, rarity = 4},
{items = {'farming:pea_pod'}, rarity = 5},
{items = {"farming:pea_pod"}, rarity = 1},
{items = {"farming:pea_pod"}, rarity = 2},
{items = {"farming:pea_pod"}, rarity = 3},
{items = {"farming:pea_pod"}, rarity = 5},
}
}
minetest.register_node("farming:pea_5", table.copy(crop_def))

View File

@ -98,9 +98,9 @@ crop_def.tiles = {"crops_pepper_plant_5.png"}
crop_def.groups.growing = 0
crop_def.drop = {
max_items = 2, items = {
{items = {'farming:pepper 2'}, rarity = 1},
{items = {'farming:pepper'}, rarity = 2},
{items = {'farming:pepper'}, rarity = 3},
{items = {"farming:pepper 2"}, rarity = 1},
{items = {"farming:pepper"}, rarity = 2},
{items = {"farming:pepper"}, rarity = 3},
}
}
minetest.register_node("farming:pepper_5", table.copy(crop_def))

View File

@ -123,8 +123,8 @@ crop_def.tiles = {"farming_pineapple_8.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:pineapple'}, rarity = 1},
{items = {'farming:pineapple'}, rarity = 15},
{items = {"farming:pineapple"}, rarity = 1},
{items = {"farming:pineapple"}, rarity = 15},
}
}
minetest.register_node("farming:pineapple_8", table.copy(crop_def))

View File

@ -85,8 +85,8 @@ minetest.register_node("farming:potato_2", table.copy(crop_def))
crop_def.tiles = {"farming_potato_3.png"}
crop_def.drop = {
items = {
{items = {'farming:potato'}, rarity = 1},
{items = {'farming:potato'}, rarity = 3},
{items = {"farming:potato"}, rarity = 1},
{items = {"farming:potato"}, rarity = 3},
}
}
minetest.register_node("farming:potato_3", table.copy(crop_def))
@ -96,8 +96,8 @@ crop_def.tiles = {"farming_potato_4.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:potato 2'}, rarity = 1},
{items = {'farming:potato 3'}, rarity = 2},
{items = {"farming:potato 2"}, rarity = 1},
{items = {"farming:potato 3"}, rarity = 2},
}
}
minetest.register_node("farming:potato_4", table.copy(crop_def))

View File

@ -189,7 +189,7 @@ crop_def.tiles = {"farming_pumpkin_8.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:pumpkin_slice 9'}, rarity = 1},
{items = {"farming:pumpkin_slice 9"}, rarity = 1},
}
}
minetest.register_node("farming:pumpkin_8", table.copy(crop_def))

View File

@ -62,9 +62,9 @@ crop_def.tiles = {"farming_raspberry_4.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:raspberries 2'}, rarity = 1},
{items = {'farming:raspberries'}, rarity = 2},
{items = {'farming:raspberries'}, rarity = 3},
{items = {"farming:raspberries 2"}, rarity = 1},
{items = {"farming:raspberries"}, rarity = 2},
{items = {"farming:raspberries"}, rarity = 3},
}
}
minetest.register_node("farming:raspberry_4", table.copy(crop_def))

View File

@ -58,9 +58,9 @@ crop_def.tiles = {"farming_rhubarb_3.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:rhubarb 2'}, rarity = 1},
{items = {'farming:rhubarb'}, rarity = 2},
{items = {'farming:rhubarb'}, rarity = 3},
{items = {"farming:rhubarb 2"}, rarity = 1},
{items = {"farming:rhubarb"}, rarity = 2},
{items = {"farming:rhubarb"}, rarity = 3},
}
}
minetest.register_node("farming:rhubarb_3", table.copy(crop_def))

View File

@ -61,8 +61,8 @@ minetest.register_node("farming:tomato_6", table.copy(crop_def))
crop_def.tiles = {"farming_tomato_7.png"}
crop_def.drop = {
items = {
{items = {'farming:tomato'}, rarity = 1},
{items = {'farming:tomato'}, rarity = 3},
{items = {"farming:tomato"}, rarity = 1},
{items = {"farming:tomato"}, rarity = 3},
}
}
minetest.register_node("farming:tomato_7", table.copy(crop_def))
@ -72,8 +72,8 @@ crop_def.tiles = {"farming_tomato_8.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:tomato 3'}, rarity = 1},
{items = {'farming:tomato 3'}, rarity = 2},
{items = {"farming:tomato 3"}, rarity = 1},
{items = {"farming:tomato 3"}, rarity = 2},
}
}
minetest.register_node("farming:tomato_8", table.copy(crop_def))

View File

@ -189,8 +189,8 @@ minetest.register_node("farming:wheat_4", table.copy(crop_def))
crop_def.tiles = {"farming_wheat_5.png"}
crop_def.drop = {
items = {
{items = {'farming:wheat'}, rarity = 2},
{items = {'farming:seed_wheat'}, rarity = 2},
{items = {"farming:wheat"}, rarity = 2},
{items = {"farming:seed_wheat"}, rarity = 2},
}
}
minetest.register_node("farming:wheat_5", table.copy(crop_def))
@ -199,8 +199,8 @@ minetest.register_node("farming:wheat_5", table.copy(crop_def))
crop_def.tiles = {"farming_wheat_6.png"}
crop_def.drop = {
items = {
{items = {'farming:wheat'}, rarity = 2},
{items = {'farming:seed_wheat'}, rarity = 1},
{items = {"farming:wheat"}, rarity = 2},
{items = {"farming:seed_wheat"}, rarity = 1},
}
}
minetest.register_node("farming:wheat_6", table.copy(crop_def))
@ -209,10 +209,10 @@ minetest.register_node("farming:wheat_6", table.copy(crop_def))
crop_def.tiles = {"farming_wheat_7.png"}
crop_def.drop = {
items = {
{items = {'farming:wheat'}, rarity = 1},
{items = {'farming:wheat'}, rarity = 3},
{items = {'farming:seed_wheat'}, rarity = 1},
{items = {'farming:seed_wheat'}, rarity = 3},
{items = {"farming:wheat"}, rarity = 1},
{items = {"farming:wheat"}, rarity = 3},
{items = {"farming:seed_wheat"}, rarity = 1},
{items = {"farming:seed_wheat"}, rarity = 3},
}
}
minetest.register_node("farming:wheat_7", table.copy(crop_def))
@ -222,10 +222,10 @@ crop_def.tiles = {"farming_wheat_8.png"}
crop_def.groups.growing = 0
crop_def.drop = {
items = {
{items = {'farming:wheat'}, rarity = 1},
{items = {'farming:wheat'}, rarity = 3},
{items = {'farming:seed_wheat'}, rarity = 1},
{items = {'farming:seed_wheat'}, rarity = 3},
{items = {"farming:wheat"}, rarity = 1},
{items = {"farming:wheat"}, rarity = 3},
{items = {"farming:seed_wheat"}, rarity = 1},
{items = {"farming:seed_wheat"}, rarity = 3},
}
}
minetest.register_node("farming:wheat_8", table.copy(crop_def))

View File

@ -139,8 +139,8 @@ minetest.register_craftitem("farming:donut_chocolate", {
minetest.register_craft({
output = "farming:donut_chocolate",
recipe = {
{'group:food_cocoa'},
{'farming:donut'},
{"group:food_cocoa"},
{"farming:donut"},
}
})
@ -153,8 +153,8 @@ minetest.register_craftitem("farming:donut_apple", {
minetest.register_craft({
output = "farming:donut_apple",
recipe = {
{'default:apple'},
{'farming:donut'},
{"default:apple"},
{"farming:donut"},
}
})

View File

@ -7,9 +7,9 @@ for i = 4, 5 do
drop = {
max_items = 1,
items = {
{items = {'farming:seed_wheat'}, rarity = 5},
{items = {'farming:seed_oat'},rarity = 5},
{items = {'default:grass_1'}},
{items = {"farming:seed_wheat"}, rarity = 5},
{items = {"farming:seed_oat"},rarity = 5},
{items = {"default:grass_1"}},
}
},
})
@ -22,9 +22,9 @@ for i = 4, 5 do
drop = {
max_items = 1,
items = {
{items = {'farming:seed_barley'}, rarity = 5},
{items = {'farming:seed_rye'},rarity = 5},
{items = {'default:dry_grass_1'}},
{items = {"farming:seed_barley"}, rarity = 5},
{items = {"farming:seed_rye"},rarity = 5},
{items = {"default:dry_grass_1"}},
}
},
})
@ -38,9 +38,9 @@ minetest.override_item("default:junglegrass", {
drop = {
max_items = 1,
items = {
{items = {'farming:seed_cotton'}, rarity = 8},
{items = {'farming:seed_rice'},rarity = 8},
{items = {'default:junglegrass'}},
{items = {"farming:seed_cotton"}, rarity = 8},
{items = {"farming:seed_rice"},rarity = 8},
{items = {"default:junglegrass"}},
}
},
})