forked from mtcontrib/food
Inital Commit
This commit is contained in:
2
rubenfood_treefruits/depends.txt
Normal file
2
rubenfood_treefruits/depends.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
default
|
||||
bucket
|
||||
15
rubenfood_treefruits/init.lua
Normal file
15
rubenfood_treefruits/init.lua
Normal file
@@ -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(),
|
||||
})
|
||||
Reference in New Issue
Block a user