summaryrefslogtreecommitdiff
path: root/fruits.lua
diff options
context:
space:
mode:
authorRubenwardy <anjayward@gmail.com>2012-08-30 17:43:30 +0100
committerRubenwardy <anjayward@gmail.com>2012-08-30 17:43:30 +0100
commit5b9e97da2d483416f0582a85830ffa027d6b69a9 (patch)
tree2f88042acab6cf5271c4708f607faed65f479520 /fruits.lua
parente18011bb43344eb44ada72000414db9782987038 (diff)
Made it into a mod, not a mod pack
Diffstat (limited to 'fruits.lua')
-rw-r--r--fruits.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/fruits.lua b/fruits.lua
new file mode 100644
index 0000000..ff7a2b0
--- /dev/null
+++ b/fruits.lua
@@ -0,0 +1,25 @@
+-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- >> rubenfood/fruits.lua
+-- adds fruits
+-- =====================================
+-- [regis-food] Oranges
+-- =====================================
+
+print ("RubenFood [Master] - Loading 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