blob: 5e54f646a5dd376628625d2578fac334fac2d0fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  | 
-- This file adds apple like fruits
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(),
})
  |