summaryrefslogtreecommitdiff
path: root/fruits.lua
diff options
context:
space:
mode:
authorRubenwardy <anjayward@gmail.com>2012-08-31 14:09:41 +0100
committerRubenwardy <anjayward@gmail.com>2012-08-31 14:09:41 +0100
commitba2dbaf4665a88d4c58b73a79bd774ed423fe318 (patch)
tree54b8792c8e2bb4130c1f3413e7bda666ffd62c22 /fruits.lua
parent39b6184a874bbb69af88a2013eb7596770dc8bb9 (diff)
Did support.lua - dynamic external mod support
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