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:
parent
98f3be3995
commit
38662b0a19
15
init.lua
15
init.lua
@ -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"'},
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -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)
|
||||||
|
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