8 Commits f496b52c87 ... b4b4c48f7d

Auteur SHA1 Message Date
  Nakilashiva b4b4c48f7d Add that file back il y a 4 ans
  Nakilashiva f496b52c87 A fourth line il y a 4 ans
  Nakilashiva f4319e6bde Another random junk line il y a 4 ans
  Nakilashiva 87ad0067ef Random junk line il y a 4 ans
  Nakilashiva 675e91138c Fix descriptions il y a 4 ans
  alauer 52e1b2879d Merge https://notabug.org/Nakilashiva/musttest_game into master il y a 4 ans
  alauer cd88f12658 Delete stuff il y a 4 ans
  alauer 10a8004b5c Stuff il y a 4 ans

+ 0 - 5
mods/coffee_bush/depends.txt

@@ -1,5 +0,0 @@
-default
-farming
-craft_register
-coresounds
-utility

BIN
mods/coffee_bush/textures/coffee_bush1.png


BIN
mods/coffee_bush/textures/coffeebeans.png


+ 9 - 0
mods/cucumber/init.lua

@@ -19,6 +19,15 @@ minetest.register_craft({
 	}
 })
 
+minetest.register_craft({
+	output = "farming:onion_potato_salad",
+	recipe = {
+		{"cucumber:cucumber"},
+		{"potatoes:baked_potato"},
+		{"xdecor:bowl"},
+	}
+})
+
 minetest.register_node("cucumber:seed", {
   description = "Cucumber Seed",
   tiles = {"farming_cucumber_seed.png"},

+ 34 - 10
mods/onions/init.lua

@@ -1,8 +1,5 @@
 
---[[
-	Original textures from DocFarming mod
-	https://forum.minetest.net/viewtopic.php?id=3948
-]]
+
 
 local S = function(s)
 	return s
@@ -43,14 +40,41 @@ minetest.register_node("onions:seed", {
 minetest.register_craftitem("onions:onion", {
 	description = S("Wild Onion"),
 	inventory_image = "wild_onion.png",
-	on_use = minetest.item_eat(1),
+	on_use = minetest.item_eat(2),
 	groups = {foodrot=1},
 	flowerpot_insert = {
-		"onions:allium_sprouts_1",
-		"onions:allium_sprouts_2",
-		"onions:allium_sprouts_3",
-		"onions:allium_sprouts_4",
-	},
+		"onions:allium_sprouts_1", "onions:allium_sprouts_2", "onions:allium_sprouts_3", "onions:allium_sprouts_4",},
+})
+
+-- sauteed onions
+minetest.register_craftitem("onions:sauteed_onions", {
+	description = S("Sauteed Onions"),
+	inventory_image = "sauteed_onions.png",
+	on_use = minetest.item_eat(6),
+	groups = {foodrot=1},
+})
+
+minetest.register_craft({
+	type = "cooking",
+	cooktime = 10,
+	output = "onions:sauteed_onions",
+	recipe = "onions:onion"
+})
+
+-- onion_potato salad recipe
+minetest.register_craftitem("onions:onion_potato_salad", {
+	description = "Potato And Wild Onion Salad",
+	inventory_image = "onion_potato_salad.png",
+	on_use = minetest.item_eat(10, "xdecor:bowl"),
+})
+
+minetest.register_craft({
+	output = "onions:onion_potato_salad",
+	recipe = {
+		{"onions:onion"},
+		{"potatoes:baked_potato"},
+		{"xdecor:bowl"},
+	}
 })
 
 -- onion definition