You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
513 B
20 lines
513 B
3 years ago
|
dofile (minetest.get_modpath ("whinny").."/api.lua" )
|
||
|
dofile (minetest.get_modpath ("whinny").."/horse.lua" )
|
||
|
|
||
|
minetest.register_craftitem ("whinny:meat", {
|
||
|
description = "Cooked Meat",
|
||
|
inventory_image = "whinny_meat.png",
|
||
|
on_use = minetest.item_eat(4),
|
||
|
})
|
||
|
|
||
|
minetest.register_craftitem ("whinny:meat_raw", {
|
||
|
description = "Raw Meat",
|
||
|
inventory_image = "whinny_meat_raw.png",
|
||
|
})
|
||
|
|
||
|
minetest.register_craft ({
|
||
|
type = "cooking",
|
||
|
output = "whinny:meat",
|
||
|
recipe = "whinny:meat_raw",
|
||
|
})
|