1
0
mirror of https://github.com/rubenwardy/food.git synced 2024-12-23 08:20:19 +01:00
food/fruits.lua

25 lines
732 B
Lua
Raw Normal View History

2012-08-30 18:19:00 +02:00
-- RUBENFOOD MOD
-- A mod written by rubenwardy that adds
-- food to the minetest game
-- =====================================
-- >> rubenfood/fruits.lua
-- adds fruits
-- =====================================
-- [regis-food] Oranges
-- =====================================
2012-08-29 20:47:01 +02:00
2012-08-30 18:04:36 +02:00
print ("RubenFood [Master] - Loading Fruits")
2012-08-29 20:47:01 +02:00
minetest.register_node(":default:orange", {
description = "Orange Fruit",
drawtype = "plantlike",
visual_scale = 1.0,
2012-08-31 16:37:02 +02:00
tiles = {"food_orange.png"},
inventory_image = "food_orange.png",
2012-08-29 20:47:01 +02:00
paramtype = "light",
sunlight_propagates = true,
walkable = false,
groups = {fleshy=3,dig_immediate=3,flammable=2},
on_use = minetest.item_eat(4),
sounds = default.node_sound_defaults(),
2012-08-23 17:25:43 +02:00
})