summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-08-05 23:41:22 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-08-05 23:41:22 -0400
commit1c8945b9d8d30a9e7c36480ae60d098884fafe08 (patch)
tree2c2e8a2be966496096e00ecbcd86014fe2726c1a
parent48356ea59c59ff0b5c0045fd88b3ea3cf3aed2bf (diff)
downloadunifieddyes-1c8945b9d8d30a9e7c36480ae60d098884fafe08.tar
unifieddyes-1c8945b9d8d30a9e7c36480ae60d098884fafe08.tar.gz
unifieddyes-1c8945b9d8d30a9e7c36480ae60d098884fafe08.tar.bz2
unifieddyes-1c8945b9d8d30a9e7c36480ae60d098884fafe08.tar.xz
unifieddyes-1c8945b9d8d30a9e7c36480ae60d098884fafe08.zip
forgot to add in the recipes to make blue and violet dyes after adding the
special case for the existence of geraniums.
-rw-r--r--init.lua30
1 files 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