summaryrefslogtreecommitdiff
path: root/plantlife_modpack/dryplants/crafting.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plantlife_modpack/dryplants/crafting.lua')
-rw-r--r--plantlife_modpack/dryplants/crafting.lua360
1 files changed, 0 insertions, 360 deletions
diff --git a/plantlife_modpack/dryplants/crafting.lua b/plantlife_modpack/dryplants/crafting.lua
deleted file mode 100644
index 69154b5..0000000
--- a/plantlife_modpack/dryplants/crafting.lua
+++ /dev/null
@@ -1,360 +0,0 @@
------------------------------------------------------------------------------------------------
--- Dry Plants - Recipes 0.1.0 -- Short Grass -> Dirt
------------------------------------------------------------------------------------------------
--- by Mossmanikin
--- License (everything): WTFPL
--- Looked at code from: darkage, default, farming, sickle, stairs
--- Dependencies: default, farming
--- Supports: flint, stoneage, sumpf
------------------------------------------------------------------------------------------------
-
------------------------------------------------------------------------------------------------
--- Short Grass
------------------------------------------------------------------------------------------------
-minetest.register_craft({
- output = "default:dirt",
- recipe = {
- {"dryplants:grass_short"},
- }
-})
-
------------------------------------------------------------------------------------------------
--- Cut Grass
------------------------------------------------------------------------------------------------
--- grass recipes (remove roots)
-minetest.register_craft({
- output = "dryplants:grass",
- recipe = {
- {"default:grass_1"},
- }
-})
-minetest.register_craft({
- output = "dryplants:grass",
- recipe = {
- {"default:junglegrass"},
- }
-})
-if minetest.get_modpath("sumpf") ~= nil then
- minetest.register_craft({
- output = "dryplants:grass",
- recipe = {
- {"sumpf:gras"},
- }
- })
-end
-
------------------------------------------------------------------------------------------------
--- Sickle
------------------------------------------------------------------------------------------------
-minetest.register_craft({
- output = "dryplants:sickle",
- recipe = {
- {"group:stone",""},
- {"", "default:stick"},
- {"default:stick",""}
- }
-})
-if minetest.get_modpath("flint") ~= nil then
- minetest.register_craft({
- output = "dryplants:sickle",
- recipe = {
- {"flint:flintstone",""},
- {"", "default:stick"},
- {"default:stick",""}
- }
- })
-end
-if minetest.get_modpath("stoneage") ~= nil then
- minetest.register_craft({
- output = "dryplants:sickle",
- recipe = {
- {"stoneage:silex",""},
- {"", "default:stick"},
- {"default:stick",""}
- }
- })
-end
-
------------------------------------------------------------------------------------------------
--- Hay
------------------------------------------------------------------------------------------------
---cooking
-minetest.register_craft({
- type = "cooking",
- output = "dryplants:hay",
- recipe = "dryplants:grass",
- cooktime = 2,
-})
-
-minetest.register_craft({
- type = "fuel",
- recipe = "dryplants:hay",
- burntime = 1,
-})
-
------------------------------------------------------------------------------------------------
--- Wet Reed
------------------------------------------------------------------------------------------------
-minetest.register_craft({ -- papyrus -> wetreed
- output = "dryplants:wetreed 2",
- recipe = {
- {"default:papyrus","default:papyrus"},
- {"default:papyrus","default:papyrus"},
- }
-})
-minetest.register_craft({ -- reedmace_sapling -> wetreed
- output = "dryplants:wetreed 2",
- recipe = {
- {"dryplants:reedmace_sapling","dryplants:reedmace_sapling"},
- {"dryplants:reedmace_sapling","dryplants:reedmace_sapling"},
- }
-})
-minetest.register_craft({ -- reedmace_top -> wetreed
- output = "dryplants:wetreed 2",
- recipe = {
- {"dryplants:reedmace_top","dryplants:reedmace_top"},
- {"dryplants:reedmace_top","dryplants:reedmace_top"},
- }
-})
-minetest.register_craft({ -- reedmace -> wetreed
- output = "dryplants:wetreed 2",
- recipe = {
- {"dryplants:reedmace","dryplants:reedmace"},
- {"dryplants:reedmace","dryplants:reedmace"},
- }
-})
-minetest.register_craft({ -- reedmace_bottom -> wetreed
- output = "dryplants:wetreed 2",
- recipe = {
- {"dryplants:reedmace_bottom","dryplants:reedmace_bottom"},
- {"dryplants:reedmace_bottom","dryplants:reedmace_bottom"},
- }
-})
-
-
-local ReeD = {
- {"wetreed"},
- {"reed"}
-}
-for i in pairs(ReeD) do
- local reed = "dryplants:"..ReeD[i][1]
- local slab = reed.."_slab"
- local roof = reed.."_roof"
- local corner = roof.."_corner"
- local corner_2 = corner.."_2"
------------------------------------------------------------------------------------------------
--- Block
------------------------------------------------------------------------------------------------
- minetest.register_craft({ -- slab -> block
- output = reed,
- recipe = {
- {slab},
- {slab},
- }
- })
- minetest.register_craft({ -- roof -> block
- output = reed,
- recipe = {
- {roof},
- {roof},
- }
- })
- minetest.register_craft({ -- corner -> block
- type = "shapeless",
- output = reed.." 3",
- recipe = {corner,corner,corner,corner,corner,corner,corner,corner}, -- 8x
- })
- minetest.register_craft({ -- corner_2 -> block
- type = "shapeless",
- output = reed.." 3",
- recipe = {corner_2,corner_2,corner_2,corner_2,corner_2,corner_2,corner_2,corner_2}, -- 8x
- })
------------------------------------------------------------------------------------------------
--- Slab
------------------------------------------------------------------------------------------------
- minetest.register_craft({ -- block -> slab
- output = slab.." 6",
- recipe = {
- {reed,reed,reed},
- }
- })
- minetest.register_craft({ -- roof -> slab
- output = slab,
- recipe = {
- {roof},
- }
- })
- minetest.register_craft({ -- corner -> slab
- output = slab.." 3",
- recipe = {
- {corner,corner},
- {corner,corner},
- }
- })
- minetest.register_craft({ -- corner_2 -> slab
- output = slab.." 3",
- recipe = {
- {corner_2,corner_2},
- {corner_2,corner_2},
- }
- })
------------------------------------------------------------------------------------------------
--- Roof
------------------------------------------------------------------------------------------------
- minetest.register_craft({ -- block -> roof
- output = roof.." 4",
- recipe = {
- {reed,""},
- {"",reed},
- }
- })
- minetest.register_craft({ -- block -> roof
- output = roof.." 4",
- recipe = {
- {"",reed},
- {reed,""},
- }
- })
- minetest.register_craft({ -- slab -> roof
- output = roof,
- recipe = {
- {slab},
- }
- })
------------------------------------------------------------------------------------------------
--- Roof Corner
------------------------------------------------------------------------------------------------
- minetest.register_craft({ -- block -> corner
- output = corner.." 8",
- recipe = {
- {"",reed,""},
- {reed,"",reed},
- }
- })
- minetest.register_craft({ -- corner_2 -> corner
- output = corner,
- recipe = {
- {corner_2},
- }
- })
------------------------------------------------------------------------------------------------
--- Roof Corner 2
------------------------------------------------------------------------------------------------
- minetest.register_craft({ -- block -> corner_2
- output = corner_2.." 8",
- recipe = {
- {reed,"",reed},
- {"",reed,""},
- }
- })
- minetest.register_craft({ -- corner -> corner_2
- output = corner_2,
- recipe = {
- {corner},
- }
- })
-end
-
------------------------------------------------------------------------------------------------
--- Reed
------------------------------------------------------------------------------------------------
-minetest.register_craft({ -- hay -> reed
- output = "dryplants:reed 2",
- recipe = {
- {"dryplants:hay","dryplants:hay"},
- {"dryplants:hay","dryplants:hay"},
- }
-})
---cooking
-minetest.register_craft({ -- wetreed -> reed
- type = "cooking",
- output = "dryplants:reed",
- recipe = "dryplants:wetreed",
- cooktime = 2,
-})
---fuel
-minetest.register_craft({
- type = "fuel",
- recipe = "dryplants:reed",
- burntime = 4,
-})
------------------------------------------------------------------------------------------------
--- Reed Slab
------------------------------------------------------------------------------------------------
---cooking
-minetest.register_craft({ -- wetreed_slab -> reed_slab
- type = "cooking",
- output = "dryplants:reed_slab",
- recipe = "dryplants:wetreed_slab",
- cooktime = 1,
-})
---fuel
-minetest.register_craft({
- type = "fuel",
- recipe = "dryplants:reed_slab",
- burntime = 2,
-})
------------------------------------------------------------------------------------------------
--- Reed Roof
------------------------------------------------------------------------------------------------
---cooking
-minetest.register_craft({ -- wetreed_roof -> reed_roof
- type = "cooking",
- output = "dryplants:reed_roof",
- recipe = "dryplants:wetreed_roof",
- cooktime = 1,
-})
---fuel
-minetest.register_craft({
- type = "fuel",
- recipe = "dryplants:reed_roof",
- burntime = 2,
-})
------------------------------------------------------------------------------------------------
--- Reed Roof Corner
------------------------------------------------------------------------------------------------
---cooking
-minetest.register_craft({ -- wetreed_roof_corner -> reed_roof_corner
- type = "cooking",
- output = "dryplants:reed_roof_corner",
- recipe = "dryplants:wetreed_roof_corner",
- cooktime = 1,
-})
---fuel
-minetest.register_craft({
- type = "fuel",
- recipe = "dryplants:reed_roof_corner",
- burntime = 2,
-})
------------------------------------------------------------------------------------------------
--- Wet Reed Roof Corner 2
------------------------------------------------------------------------------------------------
---cooking
-minetest.register_craft({ -- wetreed_roof_corner -> reed_roof_corner
- type = "cooking",
- output = "dryplants:reed_roof_corner_2",
- recipe = "dryplants:wetreed_roof_corner_2",
- cooktime = 1,
-})
---fuel
-minetest.register_craft({
- type = "fuel",
- recipe = "dryplants:reed_roof_corner_2",
- burntime = 2,
-})
------------------------------------------------------------------------------------------------
--- Dandelion Leave
------------------------------------------------------------------------------------------------
---[[minetest.register_craftitem("dryplants:dandelion_leave", {
- description = "Dandelion Leave",
- inventory_image = "dryplants_dandelion_leave.png",
- on_use = minetest.item_eat(1),
-})
-minetest.register_craft({
- type = "shapeless",
- output = "dryplants:dandelion_leave 4",
- recipe = {"flowers:dandelion_yellow"},
- replacements = {
- {"flowers:dandelion_yellow", "dye:yellow"}
- },
-})]] \ No newline at end of file