Add recipes to tinkering

This commit is contained in:
Evert Prants 2018-04-05 17:11:18 +03:00
parent cef9f86ddb
commit 1a1bf721b6
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
4 changed files with 39 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# 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
This repository is technically a modpack, in which all mods need to be enabled. These are the mods included in this "modpack".

View File

@ -213,7 +213,7 @@ end
minetest.register_node("tinkering:part_builder", {
description = "Part Builder",
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"
},

View File

@ -139,9 +139,9 @@ end
minetest.register_node("tinkering:pattern_table", {
description = "Pattern Table",
tiles = {
"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_pattern_bench.png", "tinkering_bench_bottom.png",
"tinkering_bench_side.png", "tinkering_bench_side.png",
"tinkering_bench_side.png", "tinkering_bench_side.png"
},
drawtype = "nodebox",
paramtype = "light",

View File

@ -19,3 +19,37 @@ dofile(tinkering.modpath.."/nodes/part_builder.lua")
-- Pattern Table
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'},
},
})