diff options
author | Rubenwardy <anjayward@gmail.com> | 2012-08-23 16:25:43 +0100 |
---|---|---|
committer | Rubenwardy <anjayward@gmail.com> | 2012-08-23 16:25:43 +0100 |
commit | c193b3ca9387269975e04f46fda90eb03fda0081 (patch) | |
tree | 1b9f1b033de69a4f3ec40d36920fc79091034e9a /rubenfood_treefruits/init.lua |
Inital Commit
Diffstat (limited to 'rubenfood_treefruits/init.lua')
-rw-r--r-- | rubenfood_treefruits/init.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/rubenfood_treefruits/init.lua b/rubenfood_treefruits/init.lua new file mode 100644 index 0000000..d814b94 --- /dev/null +++ b/rubenfood_treefruits/init.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 |