meats.lua 887 B

1234567891011121314151617181920212223242526
  1. minetest.register_craftitem('food:steak_raw', {
  2. description = 'Raw Steak',
  3. inventory_image = 'food_steak_raw.png',
  4. groups = {raw_meat = 1, not_in_creative_inventory=1},
  5. on_use = minetest.item_eat(3)
  6. })
  7. minetest.register_craftitem('food:pork_raw', {
  8. description = 'Raw Pork',
  9. inventory_image = 'food_steak_raw.png',
  10. groups = {raw_meat = 1, not_in_creative_inventory=1},
  11. on_use = minetest.item_eat(3)
  12. })
  13. minetest.register_craftitem('food:chicken_raw', {
  14. description = 'Raw Chicken',
  15. inventory_image = 'food_steak_raw.png',
  16. groups = {raw_meat = 1, not_in_creative_inventory=1},
  17. on_use = minetest.item_eat(3)
  18. })
  19. --hbhunger.register_food(name, hunger_change, replace_with_item, poisen, heal, sound)
  20. hbhunger.register_food('food:steak_raw', 1, '', 5)
  21. hbhunger.register_food('food:pork_raw', 3, '', 3)
  22. hbhunger.register_food('food:chicken_raw', 3, '', 3)