diff --git a/homedecor/crafts.lua b/homedecor/crafts.lua index ed1aea51..40d70cd2 100644 --- a/homedecor/crafts.lua +++ b/homedecor/crafts.lua @@ -16,6 +16,18 @@ minetest.register_craftitem("homedecor:roof_tile_terracotta", { inventory_image = "homedecor_roof_tile_terracotta.png", }) +minetest.register_craftitem("homedecor:oil_extract", { + description = S("Oil extract"), + inventory_image = "homedecor_oil_extract.png", +}) + +minetest.register_craftitem("homedecor:paraffin", { + description = S("Unprocessed paraffin"), + inventory_image = "homedecor_paraffin.png", +}) + +minetest.register_alias("homedecor:plastic_base", "homedecor:paraffin") + minetest.register_craftitem("homedecor:plastic_sheeting", { description = S("Plastic sheet"), inventory_image = "homedecor_plastic_sheeting.png", @@ -26,12 +38,6 @@ minetest.register_craftitem("homedecor:plastic_strips", { inventory_image = "homedecor_plastic_strips.png", }) -minetest.register_craftitem("homedecor:plastic_base", { - description = S("Unprocessed Plastic base"), - wield_image = "homedecor_plastic_base.png", - inventory_image = "homedecor_plastic_base_inv.png", -}) - minetest.register_craftitem("homedecor:drawer_small", { description = S("Small Wooden Drawer"), inventory_image = "homedecor_drawer_small.png", @@ -243,7 +249,7 @@ minetest.register_craft( { minetest.register_craft({ type = "shapeless", - output = "homedecor:plastic_base 4", + output = "homedecor:oil_extract 4", recipe = { "group:leaves", "group:leaves", @@ -254,15 +260,27 @@ minetest.register_craft({ } }) +minetest.register_craft({ + type = "cooking", + output = "homedecor:paraffin", + recipe = "homedecor:oil_extract", +}) + minetest.register_craft({ type = "cooking", output = "homedecor:plastic_sheeting", - recipe = "homedecor:plastic_base", + recipe = "homedecor:paraffin", }) minetest.register_craft({ type = "fuel", - recipe = "homedecor:plastic_base", + recipe = "homedecor:oil_extract", + burntime = 30, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "homedecor:paraffin", burntime = 30, }) diff --git a/homedecor/textures/homedecor_oil_extract.png b/homedecor/textures/homedecor_oil_extract.png new file mode 100644 index 00000000..0c09d743 Binary files /dev/null and b/homedecor/textures/homedecor_oil_extract.png differ diff --git a/homedecor/textures/homedecor_paraffin.png b/homedecor/textures/homedecor_paraffin.png new file mode 100644 index 00000000..5f983004 Binary files /dev/null and b/homedecor/textures/homedecor_paraffin.png differ diff --git a/homedecor/textures/homedecor_plastic_base.png b/homedecor/textures/homedecor_plastic_base.png deleted file mode 100644 index 0175da39..00000000 Binary files a/homedecor/textures/homedecor_plastic_base.png and /dev/null differ diff --git a/homedecor/textures/homedecor_plastic_base_inv.png b/homedecor/textures/homedecor_plastic_base_inv.png deleted file mode 100644 index 1a01709c..00000000 Binary files a/homedecor/textures/homedecor_plastic_base_inv.png and /dev/null differ