1
0
mirror of https://github.com/rubenwardy/food.git synced 2024-12-23 08:20:19 +01:00

Texture fixes and mod support fixes.

This commit is contained in:
Rubenwardy 2013-03-28 17:28:10 +00:00
parent 98f3be3995
commit 38662b0a19
6 changed files with 377 additions and 378 deletions

View File

@ -78,17 +78,16 @@ minetest.register_craft({
} }
}) })
----------------------------Cigerete---------------------------- --------------------------Cactus Slice--------------------------
minetest.register_craftitem("food:cigarette", { minetest.register_craftitem("food:cactus_slice", {
description = "Cigarette", description = "Cactus Slice",
inventory_image = "food_cigar.png", inventory_image = "food_cactus_slice.png",
on_use = minetest.item_eat(-4), on_use = minetest.item_eat(2),
}) })
minetest.register_craft({ minetest.register_craft({
output = '"food:cigarette" 1', output = '"food:cactus_slice" 4',
recipe = { recipe = {
{'"default:dry_shrub"','"default:dry_shrub"','"default:dry_shrub"'}, {'"default:cactus"'},
} }
}) })

View File

@ -164,14 +164,14 @@ print "Food [Support] - > Potato"
node_implement("docfarming","docfarming:potato","food:potato",function() node_implement("docfarming","docfarming:potato","food:potato",function()
minetest.register_craftitem("food:potato", { minetest.register_craftitem("food:potato", {
description = "Potato", description = "Potato",
inventory_image = "potato.png", inventory_image = "food_potato.png",
}) })
end) end)
node_implement("docfarming","docfarming:bakedpotato","food:potato_baked",function() node_implement("docfarming","docfarming:bakedpotato","food:potato_baked",function()
minetest.register_craftitem("food:potato_baked", { minetest.register_craftitem("food:potato_baked", {
description = "Baked Potato", description = "Baked Potato",
inventory_image = "baked_potato.png", inventory_image = "food_baked_potato.png",
on_use = minetest.item_eat(6), on_use = minetest.item_eat(6),
}) })
end) end)

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

BIN
textures/food_potato.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

View File

Before

Width:  |  Height:  |  Size: 356 B

After

Width:  |  Height:  |  Size: 356 B