forked from mtcontrib/food
Texture fixes and mod support fixes.
This commit is contained in:
parent
98f3be3995
commit
38662b0a19
15
init.lua
15
init.lua
|
@ -78,17 +78,16 @@ minetest.register_craft({
|
|||
}
|
||||
})
|
||||
|
||||
----------------------------Cigerete----------------------------
|
||||
minetest.register_craftitem("food:cigarette", {
|
||||
description = "Cigarette",
|
||||
inventory_image = "food_cigar.png",
|
||||
on_use = minetest.item_eat(-4),
|
||||
--------------------------Cactus Slice--------------------------
|
||||
minetest.register_craftitem("food:cactus_slice", {
|
||||
description = "Cactus Slice",
|
||||
inventory_image = "food_cactus_slice.png",
|
||||
on_use = minetest.item_eat(2),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:cigarette" 1',
|
||||
output = '"food:cactus_slice" 4',
|
||||
recipe = {
|
||||
{'"default:dry_shrub"','"default:dry_shrub"','"default:dry_shrub"'},
|
||||
{'"default:cactus"'},
|
||||
|
||||
}
|
||||
})
|
||||
|
|
|
@ -164,14 +164,14 @@ print "Food [Support] - > Potato"
|
|||
node_implement("docfarming","docfarming:potato","food:potato",function()
|
||||
minetest.register_craftitem("food:potato", {
|
||||
description = "Potato",
|
||||
inventory_image = "potato.png",
|
||||
inventory_image = "food_potato.png",
|
||||
})
|
||||
end)
|
||||
|
||||
node_implement("docfarming","docfarming:bakedpotato","food:potato_baked",function()
|
||||
minetest.register_craftitem("food:potato_baked", {
|
||||
description = "Baked Potato",
|
||||
inventory_image = "baked_potato.png",
|
||||
inventory_image = "food_baked_potato.png",
|
||||
on_use = minetest.item_eat(6),
|
||||
})
|
||||
end)
|
||||
|
|
BIN
textures/food_baked_potato.png
Normal file
BIN
textures/food_baked_potato.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 321 B |
BIN
textures/food_cactus_slice.png
Normal file
BIN
textures/food_cactus_slice.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 726 B |
BIN
textures/food_potato.png
Normal file
BIN
textures/food_potato.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 356 B After Width: | Height: | Size: 356 B |
Loading…
Reference in New Issue
Block a user