Add recipes to tinkering

This commit is contained in:
Evert 2018-04-05 17:11:18 +03:00
parent cef9f86ddb
commit 1a1bf721b6
No known key found for this signature in database
GPG Key ID: 1688DA83D222D0B5
4 changed files with 39 additions and 5 deletions

@ -1,5 +1,5 @@
# Melterns # Melterns
An in-development mod for [Minetest](http://minetest.net) that adds molten metals, melting, casting and creating tools. This mod is inspired by the [Tinkers Construct](https://minecraft.curseforge.com/projects/tinkers-construct) mod for Minecraft, however it's much less-featured due to the current limitations of the Minetest API. None of the components used in this mod have been taken from TC - everything is my original creation. An in-development mod for [Minetest](http://minetest.net) 0.5.0+ that adds molten metals, melting, casting and creating tools. This mod is inspired by the [Tinkers Construct](https://minecraft.curseforge.com/projects/tinkers-construct) mod for Minecraft, however it's much less-featured due to the current limitations of the Minetest API. None of the components used in this mod have been taken from TC - everything is my original creation.
## Component mods ## Component mods
This repository is technically a modpack, in which all mods need to be enabled. These are the mods included in this "modpack". This repository is technically a modpack, in which all mods need to be enabled. These are the mods included in this "modpack".

@ -213,7 +213,7 @@ end
minetest.register_node("tinkering:part_builder", { minetest.register_node("tinkering:part_builder", {
description = "Part Builder", description = "Part Builder",
tiles = { tiles = {
"tinkering_pattern_bench.png", "tinkering_bench_bottom.png", "tinkering_blank_pattern.png", "tinkering_bench_bottom.png",
"tinkering_bench_side.png", "tinkering_bench_side.png", "tinkering_bench_side.png", "tinkering_bench_side.png",
"tinkering_bench_side.png", "tinkering_bench_side.png" "tinkering_bench_side.png", "tinkering_bench_side.png"
}, },

@ -139,9 +139,9 @@ end
minetest.register_node("tinkering:pattern_table", { minetest.register_node("tinkering:pattern_table", {
description = "Pattern Table", description = "Pattern Table",
tiles = { tiles = {
"tinkering_blank_pattern.png", "tinkering_bench_bottom.png", "tinkering_pattern_bench.png", "tinkering_bench_bottom.png",
"tinkering_bench_side.png", "tinkering_bench_side.png", "tinkering_bench_side.png", "tinkering_bench_side.png",
"tinkering_bench_side.png", "tinkering_bench_side.png" "tinkering_bench_side.png", "tinkering_bench_side.png"
}, },
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",

@ -19,3 +19,37 @@ dofile(tinkering.modpath.."/nodes/part_builder.lua")
-- Pattern Table -- Pattern Table
dofile(tinkering.modpath.."/nodes/pattern_table.lua") dofile(tinkering.modpath.."/nodes/pattern_table.lua")
-- Recipes
minetest.register_craft({
output = 'tinkering:blank_pattern 16',
recipe = {
{'default:stick', 'group:wood'},
{'group:wood', 'default:stick'},
},
})
minetest.register_craft({
output = 'tinkering:tool_station',
recipe = {
{'tinkering:blank_pattern', 'tinkering:blank_pattern', 'tinkering:blank_pattern'},
{'tinkering:blank_pattern', 'group:wood', 'tinkering:blank_pattern'},
{'tinkering:blank_pattern', 'tinkering:blank_pattern', 'tinkering:blank_pattern'},
},
})
minetest.register_craft({
output = 'tinkering:pattern_table',
recipe = {
{'tinkering:blank_pattern'},
{'group:wood'},
},
})
minetest.register_craft({
output = 'tinkering:part_builder',
recipe = {
{'tinkering:blank_pattern'},
{'group:tree'},
},
})