diff options
author | Rubenwardy <anjayward@gmail.com> | 2012-08-29 19:47:01 +0100 |
---|---|---|
committer | Rubenwardy <anjayward@gmail.com> | 2012-08-29 19:47:01 +0100 |
commit | 46abeee7946098712c965419f3b00c071ada34ae (patch) | |
tree | 65793dd47f502fb6b95988aa4b1df31788b4beaf /rubenfood/fruits.lua | |
parent | f719dad391d3209ea7679faa9cb4f006a81a8a15 (diff) |
Made Rubenfood more compatible
Diffstat (limited to 'rubenfood/fruits.lua')
-rw-r--r-- | rubenfood/fruits.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/rubenfood/fruits.lua b/rubenfood/fruits.lua new file mode 100644 index 0000000..0bbdb39 --- /dev/null +++ b/rubenfood/fruits.lua @@ -0,0 +1,15 @@ +-- This file adds apple like fruits
+
+minetest.register_node(":default:orange", {
+ description = "Orange Fruit",
+ drawtype = "plantlike",
+ visual_scale = 1.0,
+ tiles = {"ruben_orange.png"},
+ inventory_image = "ruben_orange.png",
+ 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(),
+})
\ No newline at end of file |