From 1c8945b9d8d30a9e7c36480ae60d098884fafe08 Mon Sep 17 00:00:00 2001
From: Vanessa Ezekowitz <vanessaezekowitz@gmail.com>
Date: Sun, 5 Aug 2012 23:41:22 -0400
Subject: forgot to add in the recipes to make blue and violet dyes after
 adding the special case for the existence of geraniums.

---
 init.lua | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

diff --git a/init.lua b/init.lua
index eda56bd..d549c8b 100644
--- a/init.lua
+++ b/init.lua
@@ -80,7 +80,6 @@ colorsources = {
 
 for color in ipairs(colorsources) do
 
-	groupcolor = 
 	-- the recipes to turn sources into pigments
 
 	minetest.register_craftitem("unifieddyes:pigment_"..pigments[color], {
@@ -359,17 +358,21 @@ minetest.register_craftitem("unifieddyes:pigment_blue", {
 	inventory_image = "unifieddyes_pigment_blue.png",
 })
 
+minetest.register_craft( {
+	type = "shapeless",
+	output = "unifieddyes:blue",
+	recipe = {
+		"unifieddyes:pigment_blue",
+		"unifieddyes:dye_base"
+	}
+})
+
 minetest.register_craftitem("unifieddyes:blue", {
 	description = "Full Blue Dye",
 	inventory_image = "unifieddyes_blue.png",
 	groups = { dye=1, basecolor_violet=1, excolor_violet=1, unicolor_violet=1 }
 })
 
-minetest.register_craftitem("unifieddyes:pigment_violet", {
-        description = "Violet Pigment",
-        inventory_image = "unifieddyes_pigment_violet.png",
-})
-
 minetest.register_craftitem("unifieddyes:violet", {
         description = "Full Violet/Purple Dye",
         inventory_image = "unifieddyes_violet.png",
@@ -397,12 +400,18 @@ minetest.register_craft( {
 
 if minetest.registered_nodes["flowers:flower_geranium"] == nil then
 
+
 	minetest.register_craft({
 		type = "cooking",
 		output = "unifieddyes:pigment_blue 2",
 		recipe = "flowers:flower_viola",
 	})
 else
+	minetest.register_craftitem("unifieddyes:pigment_violet", {
+	        description = "Violet Pigment",
+	        inventory_image = "unifieddyes_pigment_violet.png",
+	})
+
 	minetest.register_craft({
 		type = "cooking",
 		output = "unifieddyes:pigment_blue 2",
@@ -414,6 +423,15 @@ else
 		output = "unifieddyes:pigment_violet 2",
 		recipe = "flowers:flower_viola",
 	})
+
+	minetest.register_craft( {
+		type = "shapeless",
+		output = "unifieddyes:violet",
+		recipe = {
+			"unifieddyes:pigment_violet",
+			"unifieddyes:dye_base"
+		}
+	})
 end
 
 
-- 
cgit v1.2.3