From 0208aaa564026eb75e52d2a2afed7ad30b96564d Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 27 Sep 2012 01:30:22 -0400 Subject: [PATCH] Improved recipe outputs for all shutters and mahogany folding door (better ratios of objects to colorants). Added intermediate "unprocessed plastic" step to get from materials to plastic sheeting (now craft some materials to get unprocessed plastic, then smelt that to get the sheeting), added alternate recipes to produce it, improved ratio of materials to plastic. Minor code cleanups. --- crafts.lua | 379 +++++++++++++++--------- foldingdoors_mahogany.lua | 12 +- textures/homedecor_plastic_base.png | Bin 0 -> 419 bytes textures/homedecor_plastic_base_inv.png | Bin 0 -> 561 bytes 4 files changed, 240 insertions(+), 151 deletions(-) create mode 100644 textures/homedecor_plastic_base.png create mode 100644 textures/homedecor_plastic_base_inv.png diff --git a/crafts.lua b/crafts.lua index 8c7f563..8fce5f3 100644 --- a/crafts.lua +++ b/crafts.lua @@ -43,16 +43,50 @@ minetest.register_craftitem("homedecor:plastic_sheeting", { inventory_image = "homedecor_plastic_sheeting.png", }) +minetest.register_craftitem("homedecor:plastic_base", { + description = "Unprocessed Plastic base", + wield_image = "homedecor_plastic_base.png", + inventory_image = "homedecor_plastic_base_inv.png", +}) + minetest.register_craft({ - type = "cooking", - output = "homedecor:plastic_sheeting", - recipe = "default:junglegrass", + type = "shapeless", + output = 'homedecor:plastic_base 4', + recipe = { "default:junglegrass", + "default:junglegrass" + } +}) + +minetest.register_craft({ + type = "shapeless", + output = 'homedecor:plastic_base 2', + recipe = { "default:dry_shrub", + "default:dry_shrub" + }, +}) + +minetest.register_craft({ + type = "shapeless", + output = 'homedecor:plastic_base 4', + recipe = { "default:leaves", + "default:leaves", + "default:leaves", + "default:leaves", + "default:leaves", + "default:leaves" + } }) minetest.register_craft({ type = "cooking", output = "homedecor:plastic_sheeting", - recipe = "default:dry_shrub", + recipe = "homedecor:plastic_base", +}) + +minetest.register_craft({ + type = 'fuel', + recipe = 'homedecor:plastic_base', + burntime = 30, }) minetest.register_craft({ @@ -286,8 +320,6 @@ minetest.register_craft({ -- --- - minetest.register_craft( { output = 'homedecor:wood_table_large 2', recipe = { @@ -301,7 +333,7 @@ minetest.register_craft({ burntime = 30, }) --- +-- Various colors of shutters minetest.register_craft( { output = 'homedecor:shutter_oak 2', @@ -322,9 +354,12 @@ minetest.register_craft({ minetest.register_craft( { type = 'shapeless', - output = 'homedecor:shutter_black', + output = 'homedecor:shutter_black 4', recipe = { 'unifieddyes:black', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', 'homedecor:shutter_oak' }, replacements = { {'unifieddyes:black', 'vessels:glass_bottle'}, }, @@ -332,10 +367,13 @@ minetest.register_craft( { minetest.register_craft( { type = 'shapeless', - output = 'homedecor:shutter_black', + output = 'homedecor:shutter_black 4', recipe = { 'default:coal_lump', 'default:coal_lump', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', 'homedecor:shutter_oak' }, }) @@ -350,9 +388,12 @@ minetest.register_craft({ minetest.register_craft( { type = 'shapeless', - output = 'homedecor:shutter_dark_grey', + output = 'homedecor:shutter_dark_grey 4', recipe = { 'unifieddyes:darkgrey_paint', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', 'homedecor:shutter_oak' }, replacements = { {'unifieddyes:darkgrey_paint', 'bucket:bucket_empty'}, }, @@ -368,9 +409,12 @@ minetest.register_craft({ minetest.register_craft( { type = 'shapeless', - output = 'homedecor:shutter_grey', + output = 'homedecor:shutter_grey 4', recipe = { 'unifieddyes:grey_paint', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', 'homedecor:shutter_oak' }, replacements = { {'unifieddyes:grey_paint', 'bucket:bucket_empty'}, }, @@ -378,9 +422,12 @@ minetest.register_craft( { minetest.register_craft( { type = 'shapeless', - output = 'homedecor:shutter_grey', + output = 'homedecor:shutter_grey 4', recipe = { 'default:coal_lump', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', 'homedecor:shutter_oak' }, }) @@ -394,35 +441,12 @@ minetest.register_craft({ minetest.register_craft( { type = 'shapeless', - output = 'homedecor:shutter_forest_green', - recipe = { - 'homedecor:shutter_oak', - 'unifieddyes:dark_green', - }, - replacements = { {'unifieddyes:dark_green', 'vessels:glass_bottle'}, }, -}) - -minetest.register_craft( { - type = 'shapeless', - output = 'homedecor:shutter_forest_green', - recipe = { - 'homedecor:shutter_oak', - 'default:leaves', - 'default:coal_lump', - }, -}) - -minetest.register_craft({ - type = 'fuel', - recipe = 'homedecor:shutter_forest_green', - burntime = 30, -}) - -minetest.register_craft( { - type = 'shapeless', - output = 'homedecor:shutter_white', + output = 'homedecor:shutter_white 4', recipe = { 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', 'unifieddyes:white_paint', }, replacements = { {'unifieddyes:white_paint', 'bucket:bucket_empty'}, }, @@ -436,6 +460,175 @@ minetest.register_craft({ -- +minetest.register_craft( { + type = 'shapeless', + output = 'homedecor:shutter_mahogany 4', + recipe = { + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'unifieddyes:dark_orange', + }, + replacements = { {'unifieddyes:dark_orange', 'vessels:glass_bottle'}, }, +}) + +minetest.register_craft( { + type = 'shapeless', + output = 'homedecor:shutter_mahogany 4', + recipe = { + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'default:coal_lump', + 'default:dirt', + }, +}) + +minetest.register_craft({ + type = 'fuel', + recipe = 'homedecor:shutter_mahogany', + burntime = 30, +}) +minetest.register_craft( { + type = 'shapeless', + output = 'homedecor:shutter_red 4', + recipe = { + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'unifieddyes:red', + }, + replacements = { {'unifieddyes:red', 'vessels:glass_bottle'}, }, +}) + +minetest.register_craft( { + type = 'shapeless', + output = 'homedecor:shutter_red 4', + recipe = { + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'default:apple', + }, +}) + +minetest.register_craft({ + type = 'fuel', + recipe = 'homedecor:shutter_red', + burntime = 30, +}) + +minetest.register_craft( { + type = 'shapeless', + output = 'homedecor:shutter_yellow 4', + recipe = { + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'unifieddyes:yellow', + }, + replacements = { {'unifieddyes:yellow', 'vessels:glass_bottle'}, }, +}) + +minetest.register_craft( { + type = 'shapeless', + output = 'homedecor:shutter_yellow 4', + recipe = { + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'default:mese', + }, +}) + +minetest.register_craft({ + type = 'fuel', + recipe = 'homedecor:shutter_yellow', + burntime = 30, +}) + +-- + +minetest.register_craft( { + type = 'shapeless', + output = 'homedecor:shutter_forest_green 4', + recipe = { + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'unifieddyes:dark_green', + }, + replacements = { {'unifieddyes:dark_green', 'vessels:glass_bottle'}, }, +}) + +minetest.register_craft( { + type = 'shapeless', + output = 'homedecor:shutter_forest_green 4', + recipe = { + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'default:leaves', + 'default:coal_lump', + }, +}) + +minetest.register_craft({ + type = 'fuel', + recipe = 'homedecor:shutter_forest_green', + burntime = 30, +}) + +-- + +minetest.register_craft( { + type = 'shapeless', + output = 'homedecor:shutter_light_blue 4', + recipe = { + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'unifieddyes:light_blue', + }, + replacements = { {'unifieddyes:light_blue', 'vessels:glass_bottle'}, }, +}) + +minetest.register_craft({ + type = 'fuel', + recipe = 'homedecor:shutter_light_blue', + burntime = 30, +}) + +minetest.register_craft( { + type = 'shapeless', + output = 'homedecor:shutter_purple 4', + recipe = { + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'homedecor:shutter_oak', + 'unifieddyes:violet', + }, + replacements = { {'unifieddyes:violet', 'vessels:glass_bottle'}, }, +}) + +minetest.register_craft({ + type = 'fuel', + recipe = 'homedecor:shutter_purple', + burntime = 30, +}) + +-- Table legs and stuff + minetest.register_craft( { output = 'homedecor:table_legs_wrought_iron 2', recipe = { @@ -808,114 +1001,6 @@ minetest.register_craft({ burntime = 30, }) -minetest.register_craft( { - type = 'shapeless', - output = 'homedecor:shutter_mahogany', - recipe = { - 'homedecor:shutter_oak', - 'unifieddyes:dark_orange', - }, - replacements = { {'unifieddyes:dark_orange', 'vessels:glass_bottle'}, }, -}) - -minetest.register_craft( { - type = 'shapeless', - output = 'homedecor:shutter_mahogany', - recipe = { - 'homedecor:shutter_oak', - 'default:coal_lump', - 'default:dirt', - }, -}) - -minetest.register_craft({ - type = 'fuel', - recipe = 'homedecor:shutter_mahogany', - burntime = 30, -}) - -minetest.register_craft( { - type = 'shapeless', - output = 'homedecor:shutter_purple', - recipe = { - 'homedecor:shutter_oak', - 'unifieddyes:violet', - }, - replacements = { {'unifieddyes:violet', 'vessels:glass_bottle'}, }, -}) - -minetest.register_craft({ - type = 'fuel', - recipe = 'homedecor:shutter_purple', - burntime = 30, -}) - -minetest.register_craft( { - type = 'shapeless', - output = 'homedecor:shutter_red', - recipe = { - 'homedecor:shutter_oak', - 'unifieddyes:red', - }, - replacements = { {'unifieddyes:red', 'vessels:glass_bottle'}, }, -}) - -minetest.register_craft( { - type = 'shapeless', - output = 'homedecor:shutter_red', - recipe = { - 'homedecor:shutter_oak', - 'default:apple', - }, -}) - -minetest.register_craft({ - type = 'fuel', - recipe = 'homedecor:shutter_red', - burntime = 30, -}) - -minetest.register_craft( { - type = 'shapeless', - output = 'homedecor:shutter_yellow', - recipe = { - 'homedecor:shutter_oak', - 'unifieddyes:yellow', - }, - replacements = { {'unifieddyes:yellow', 'vessels:glass_bottle'}, }, -}) - -minetest.register_craft( { - type = 'shapeless', - output = 'homedecor:shutter_yellow', - recipe = { - 'homedecor:shutter_oak', - 'default:mese', - }, -}) - -minetest.register_craft({ - type = 'fuel', - recipe = 'homedecor:shutter_yellow', - burntime = 30, -}) - -minetest.register_craft( { - type = 'shapeless', - output = 'homedecor:shutter_light_blue', - recipe = { - 'homedecor:shutter_oak', - 'unifieddyes:light_blue', - }, - replacements = { {'unifieddyes:light_blue', 'vessels:glass_bottle'}, }, -}) - -minetest.register_craft({ - type = 'fuel', - recipe = 'homedecor:shutter_light_blue', - burntime = 30, -}) - -- ===================================== -- Speakers require copper from moreores diff --git a/foldingdoors_mahogany.lua b/foldingdoors_mahogany.lua index 5d4a69d..59e84c7 100644 --- a/foldingdoors_mahogany.lua +++ b/foldingdoors_mahogany.lua @@ -415,8 +415,9 @@ minetest.register_craft({ minetest.register_craft( { type = 'shapeless', - output = 'homedecor:folding_door_mahogany', + output = 'homedecor:folding_door_mahogany 2', recipe = { + 'homedecor:folding_door_oak', 'homedecor:folding_door_oak', 'unifieddyes:dark_orange', }, @@ -425,8 +426,9 @@ minetest.register_craft( { minetest.register_craft( { type = 'shapeless', - output = 'homedecor:folding_door_mahogany', + output = 'homedecor:folding_door_mahogany 2', recipe = { + 'homedecor:folding_door_oak', 'homedecor:folding_door_oak', 'default:coal_lump', 'default:dirt', @@ -435,8 +437,9 @@ minetest.register_craft( { minetest.register_craft( { type = 'shapeless', - output = 'homedecor:folding_door_mahogany_right', + output = 'homedecor:folding_door_mahogany_right 2', recipe = { + 'homedecor:folding_door_oak_right', 'homedecor:folding_door_oak_right', 'unifieddyes:dark_orange', }, @@ -445,8 +448,9 @@ minetest.register_craft( { minetest.register_craft( { type = 'shapeless', - output = 'homedecor:folding_door_mahogany_right', + output = 'homedecor:folding_door_mahogany_right 2', recipe = { + 'homedecor:folding_door_oak_right', 'homedecor:folding_door_oak_right', 'default:coal_lump', 'default:dirt', diff --git a/textures/homedecor_plastic_base.png b/textures/homedecor_plastic_base.png new file mode 100644 index 0000000000000000000000000000000000000000..4d0e3f258ba900b829a2e272b0cb98b6795db32c GIT binary patch literal 419 zcmV;U0bKrxP)7_wb%)I2`!b zAJ%L(v%}%gzTM;T*gpFc&&()_tm8OTDiy4?9FIqKyB*zbmo!ajG#cVtKpe;Re!r7t z8A>Ud%_dSxlu{UDIGs+kTCMk-^D#V~PVM9IpkA-z`#!Z=4JjpBYh2f5zu&XjYzV{9 zJ_Q^O2aGYqaZI^frdq9{wdQ<2lOzd32s)h(uIuszFrUxuU@)LmD$#DY34(y4D7ap) zIF7^ZcEj^L@;pZf!DKSYJ^`eZgkgwM3Z)c9Q4mEDNs_SLZt*;i%jLpqwL)u+l=9_E ziHpU;0<70-q?Gh}J@Pzfxm@D=KE@b=ARtXs`u)E6@is=Ik^S|-y#f;1ggIVAO5Okf N002ovPDHLkV1kqFwqO7N literal 0 HcmV?d00001 diff --git a/textures/homedecor_plastic_base_inv.png b/textures/homedecor_plastic_base_inv.png new file mode 100644 index 0000000000000000000000000000000000000000..3a02005da55493489dd1f75684be3164d37f3b64 GIT binary patch literal 561 zcmV-10?z%3P)l{Scp zF)b<`id5)Y$ROzt=uc|5mbQzCtMp%V>FD6-)JeoHDg;GK8XBQ#J~U}Rhs*U|uHNx( z_n97eIS*%e;eY;p&d<-))zy_6kH_k}yY@GzR;%IrK91vHnkGRIAf@E>^_5nu^~vS_ z1YOr-Cz4hX-b}8P#g_b3p%D z?(grJ&*vmb!tL!XrfG6;aDZ*w#Bq%8`)Ha*yGG)?31@bH&GKA%Sj!R6&8g+hTsp+J^pTwh<~`#w)k zPZ);5YPI6#<_6og5khcsa-y{1aHyKiCKneM93LM8Fr7{jLeOY5kWw<4OemE~BuT>F z-X38X^7#1p!v>(=?<>o)C>DzZL4e~ptk-L#ln5cPEQ`frfn`~krpfd3GijQ#TrR(V zq~Fu)^;9mGLn%e4)6oWlf!f;IVzb%MZnw1$(J#vV4Lc)R00000NkvXXu0mjfqk#tx literal 0 HcmV?d00001