added initial mod

master
hawkril 2014-03-23 14:30:04 +01:00
parent 8f900809ad
commit c4906349aa
9 changed files with 102 additions and 0 deletions

1
depends.txt Normal file
View File

@ -0,0 +1 @@
default

101
init.lua Normal file
View File

@ -0,0 +1,101 @@
--Item Register
minetest.register_craftitem("mobfcooking:cooked_pork", {
description = "Cooked pork",
inventory_image = "kpork.png",
on_use = minetest.item_eat(8),
})
minetest.register_craftitem("mobfcooking:cooked_ostrich", {
description = "Cooked ostrich",
inventory_image = "kostrich.png",
on_use = minetest.item_eat(8),
})
minetest.register_craftitem("mobfcooking:cooked_beef", {
description = "Cooked beef",
inventory_image = "kbeef.png",
on_use = minetest.item_eat(9),
})
minetest.register_craftitem("mobfcooking:cooked_chicken", {
description = "Cooked chicken",
inventory_image = "kchicken.png",
on_use = minetest.item_eat(7),
})
minetest.register_craftitem("mobfcooking:cooked_lamb", {
description = "Cooked lamb",
inventory_image = "klamb.png",
on_use = minetest.item_eat(6),
})
minetest.register_craftitem("mobfcooking:cooked_venison", {
description = "Cooked venison",
inventory_image = "kvenison.png",
on_use = minetest.item_eat(7),
})
minetest.register_craftitem("mobfcooking:cooked_fish", {
description = "Cooked Fish",
inventory_image = "kfish.png",
on_use = minetest.item_eat(5),
})
--Cooking
minetest.register_craft({
type = "cooking",
output = "mobfcooking:cooked_pork",
recipe = "animalmaterials:meat_pork",
})
minetest.register_craft({
type = "cooking",
output = "mobfcooking:cooked_beef",
recipe = "animalmaterials:meat_beef",
})
minetest.register_craft({
type = "cooking",
output = "mobfcooking:cooked_chicken",
recipe = "animalmaterials:meat_chicken",
})
minetest.register_craft({
type = "cooking",
output = "mobfcooking:cooked_lamb",
recipe = "animalmaterials:meat_lamb",
})
minetest.register_craft({
type = "cooking",
output = "mobfcooking:cooked_venison",
recipe = "animalmaterials:meat_venison",
cooktime = 5
})
minetest.register_craft({
type = "cooking",
output = "mobfcooking:cooked_ostrich",
recipe = "animalmaterials:meat_ostrich",
cooktime = 5
})
minetest.register_craft({
type = "cooking",
output = "mobfcooking:cooked_fish",
recipe = "animalmaterials:fish_bluewhite",
cooktime = 5
})
minetest.register_craft({
type = "cooking",
output = "mobfcooking:cooked_fish",
recipe = "animalmaterials:fish_clownfish",
cooktime = 5
})

BIN
textures/kbeef.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

BIN
textures/kchicken.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

BIN
textures/kfish.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

BIN
textures/klamb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

BIN
textures/kostrich.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

BIN
textures/kpork.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

BIN
textures/kvenison.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B