forked from mtcontrib/food
		
	Added Banana Splits
Popcorn next...
This commit is contained in:
		| @@ -1,2 +1 @@ | |||||||
| default | default | ||||||
| bucket |  | ||||||
							
								
								
									
										1
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								init.lua
									
									
									
									
									
								
							| @@ -24,6 +24,7 @@ dofile(minetest.get_modpath("food").."/food/baking.lua") | |||||||
| dofile(minetest.get_modpath("food").."/snacks/crumbles.lua") | dofile(minetest.get_modpath("food").."/snacks/crumbles.lua") | ||||||
| dofile(minetest.get_modpath("food").."/snacks/cakes.lua") | dofile(minetest.get_modpath("food").."/snacks/cakes.lua") | ||||||
| dofile(minetest.get_modpath("food").."/snacks/tarts.lua") | dofile(minetest.get_modpath("food").."/snacks/tarts.lua") | ||||||
|  | dofile(minetest.get_modpath("food").."/snacks/misc.lua") | ||||||
|  |  | ||||||
| dofile(minetest.get_modpath("food").."/drinks/juice.lua") | dofile(minetest.get_modpath("food").."/drinks/juice.lua") | ||||||
| dofile(minetest.get_modpath("food").."/drinks/hot.lua") | dofile(minetest.get_modpath("food").."/drinks/hot.lua") | ||||||
|   | |||||||
							
								
								
									
										36
									
								
								snacks/misc.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								snacks/misc.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,36 @@ | |||||||
|  | -- RUBENFOOD MOD | ||||||
|  | -- A mod written by rubenwardy that adds | ||||||
|  | -- food to the minetest game | ||||||
|  | -- ===================================== | ||||||
|  | -- >> rubenfood/snacks/crumbles.lua | ||||||
|  | -- adds crumbles | ||||||
|  | -- ===================================== | ||||||
|  | -- [regis-food] Rhubarb Crumble | ||||||
|  | -- ===================================== | ||||||
|  |  | ||||||
|  | print "Food [Master] - Loading Splits" | ||||||
|  |  | ||||||
|  | -- Banana Split | ||||||
|  |  | ||||||
|  | minetest.register_craftitem("food:banana_split_raw", { | ||||||
|  | 	description = "Banana Split Raw", | ||||||
|  | 	inventory_image = "food_banana_split_raw.png", | ||||||
|  | }) | ||||||
|  |  | ||||||
|  | minetest.register_craftitem("food:banana_split", { | ||||||
|  | 	description = "Banana Split", | ||||||
|  | 	inventory_image = "food_banana_split.png", | ||||||
|  | 	groups={food=1}, | ||||||
|  | 	on_use = minetest.item_eat(3), | ||||||
|  | }) | ||||||
|  |  | ||||||
|  | minetest.register_craft({ | ||||||
|  | 	output = "food:banana_split_raw", | ||||||
|  | 	recipe = {{"food:chocolate_milk"},{"food:banana"}}, | ||||||
|  | 	replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}, | ||||||
|  | }) | ||||||
|  | minetest.register_craft({ | ||||||
|  | 	type = "cooking", | ||||||
|  | 	output = "food:banana_split", | ||||||
|  | 	recipe = "food:banana_split_raw", | ||||||
|  | }) | ||||||
							
								
								
									
										16
									
								
								support.lua
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								support.lua
									
									
									
									
									
								
							| @@ -102,6 +102,22 @@ minetest.register_craftitem("food:cocoa", { | |||||||
| }) | }) | ||||||
| end) | end) | ||||||
|  |  | ||||||
|  | node_implement("farming_plus","farming_plus:banana","food:banana",function() | ||||||
|  | mminetest.register_node("food:banana", { | ||||||
|  | 	description = "Banana", | ||||||
|  | 	tiles = {"farming_banana.png"}, | ||||||
|  | 	inventory_image = "farming_banana.png", | ||||||
|  | 	wield_image = "farming_banana.png", | ||||||
|  | 	drawtype = "torchlike", | ||||||
|  | 	paramtype = "light", | ||||||
|  | 	sunlight_propagates = true, | ||||||
|  | 	walkable = false, | ||||||
|  | 	groups = {fleshy=3,dig_immediate=3,flammable=2}, | ||||||
|  | 	sounds = default.node_sound_defaults(), | ||||||
|  | 	on_use = minetest.item_eat(6), | ||||||
|  | }) | ||||||
|  | end) | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								textures/farming_banana.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								textures/farming_banana.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 515 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/food_banana_split.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								textures/food_banana_split.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 273 B | 
							
								
								
									
										
											BIN
										
									
								
								textures/food_banana_split_raw.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								textures/food_banana_split_raw.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 285 B | 
		Reference in New Issue
	
	Block a user