diff options
-rw-r--r-- | bottle-9-pack.png | bin | 44331 -> 0 bytes | |||
-rw-r--r-- | bottles-to-glass.png | bin | 0 -> 3718 bytes | |||
-rw-r--r-- | dye-base.png | bin | 2357 -> 2465 bytes | |||
-rw-r--r-- | empty-bottles.png | bin | 0 -> 9187 bytes | |||
-rw-r--r-- | init.lua | 74 | ||||
-rw-r--r-- | textures/unifieddyes_bottle_9_pack.png | bin | 230 -> 0 bytes |
6 files changed, 34 insertions, 40 deletions
diff --git a/bottle-9-pack.png b/bottle-9-pack.png Binary files differdeleted file mode 100644 index 0de6960..0000000 --- a/bottle-9-pack.png +++ /dev/null diff --git a/bottles-to-glass.png b/bottles-to-glass.png Binary files differnew file mode 100644 index 0000000..8f0135d --- /dev/null +++ b/bottles-to-glass.png diff --git a/dye-base.png b/dye-base.png Binary files differindex b74da03..f73d124 100644 --- a/dye-base.png +++ b/dye-base.png diff --git a/empty-bottles.png b/empty-bottles.png Binary files differnew file mode 100644 index 0000000..6f87b27 --- /dev/null +++ b/empty-bottles.png @@ -8,51 +8,40 @@ --=========================================================================== -- First you need something to put the dyes into - glass bottles -- --- Smelt some sand into glass as usual, then smelt one of the resulting glass --- blocks to get a 9-pack of empty bottles. +-- Smelt some sand into glass as usual, then craft 5 of those into an upside- +-- down "U" to get 15 empty bottles. minetest.register_craftitem("unifieddyes:empty_bottle", { description = "Empty Glass Bottle", inventory_image = "unifieddyes_empty_bottle.png", }) -minetest.register_craftitem("unifieddyes:bottle_9_pack", { - description = "Empty Glass Bottles (9-pack)", - inventory_image = "unifieddyes_bottle_9_pack.png", -}) - -minetest.register_craft({ - type = "cooking", - output = "unifieddyes:bottle_9_pack", - recipe = "default:glass", +minetest.register_craft( { + output = "unifieddyes:empty_bottle 15", + recipe = { + { "default:glass", "", "default:glass" }, + { "default:glass", "", "default:glass" }, + { "", "default:glass", "" } + } }) --- The use of this mod will, if the mods that depend on it are written --- correctly, generate lots of empty bottles, so let's recycle them. - --- First, pack them into a 9-pack unit by placing one into each of the 9 --- crafting slots. +-- Make sure we can recycle the bottles. 3 bottles -> 1 glass block. minetest.register_craft( { - output = "unifieddyes:bottle_9_pack", - recipe = { - { "unifieddyes:empty_bottle", "unifieddyes:empty_bottle", "unifieddyes:empty_bottle" }, - { "unifieddyes:empty_bottle", "unifieddyes:empty_bottle", "unifieddyes:empty_bottle" }, - { "unifieddyes:empty_bottle", "unifieddyes:empty_bottle", "unifieddyes:empty_bottle" }, - }, + type = "shapeless", + output = "default:glass", + recipe = { + "unifieddyes:empty_bottle", + "unifieddyes:empty_bottle", + "unifieddyes:empty_bottle", + }, }) --- then smelt the 9-pack back into a glass block: -minetest.register_craft({ - type = "cooking", - output = "default:glass", - recipe = "unifieddyes:bottle_9_pack", -}) - --- Now, once you have a 9-pack of bottles, craft it with one bucket of water --- and a piece of jungle grass to get 9 individual portions of the liquid dye --- base and an empty bucket: +--============================================================================ +-- Now let's use some of those bottles along with some other stuff to make +-- dye base. Craft six empty bottles along with a bucket of water and a piece +-- of jungle grass to get 6 portions of dye base. minetest.register_craftitem("unifieddyes:dye_base", { description = "Uncolored Dye Base Liquid", @@ -60,14 +49,19 @@ minetest.register_craftitem("unifieddyes:dye_base", { }) minetest.register_craft( { - type = "shapeless", - output = "unifieddyes:dye_base 9", - recipe = { - "bucket:bucket_water", - "default:junglegrass", - "unifieddyes:bottle_9_pack", - }, - replacements = { {'bucket:bucket_water', 'bucket:bucket_empty'}, }, + type = "shapeless", + output = "unifieddyes:dye_base 6", + recipe = { + "unifieddyes:empty_bottle", + "unifieddyes:empty_bottle", + "unifieddyes:empty_bottle", + "unifieddyes:empty_bottle", + "unifieddyes:empty_bottle", + "unifieddyes:empty_bottle", + "bucket:bucket_water", + "default:junglegrass", + }, + replacements = { {'bucket:bucket_water', 'bucket:bucket_empty'}, }, }) --========================================================================== diff --git a/textures/unifieddyes_bottle_9_pack.png b/textures/unifieddyes_bottle_9_pack.png Binary files differdeleted file mode 100644 index 3be2671..0000000 --- a/textures/unifieddyes_bottle_9_pack.png +++ /dev/null |