tidy code

This commit is contained in:
tenplus1
2024-07-27 08:23:46 +01:00
父節點 75e3f9fb42
當前提交 b61998217d
共有 39 個文件被更改,包括 59 次插入62 次删除

查看文件

@@ -7,7 +7,7 @@ minetest.register_craftitem("farming:rhubarb", {
description = S("Rhubarb"),
inventory_image = "farming_rhubarb.png",
groups = {
compostability = 48, seed = 2, food_rhubarb = 1, flammable = 2
compostability = 48, seed = 2, food_rhubarb = 1
},
on_place = function(itemstack, placer, pointed_thing)
return farming.place_seed(itemstack, placer, pointed_thing, "farming:rhubarb_1")
@@ -22,7 +22,7 @@ minetest.register_craftitem("farming:rhubarb_pie", {
description = S("Rhubarb Pie"),
inventory_image = "farming_rhubarb_pie.png",
on_use = minetest.item_eat(6),
groups = {compostability = 65, flammable = 2}
groups = {compostability = 65}
})
farming.add_eatable("farming:rhubarb_pie", 6)