Extract torches from default
[minetest_hades/hades_revisited.git] / mods / 3dforniture / crafting.lua
blobf77d6a45a08b2073a04fe2f9e8d94e85a7b023ec
1 --[[
2 Some adjustments and expansions for Hades game added 2015 by Glünggi
4 3D Forniture
6 Copyright 2012 Tonyka
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21 MA 02110-1301, USA.
23 Contributors:
25 InfinityProject
27 suggested creating bathroom kit.
29 cosarara97
31 code.
33 ]]--
35 -- Deco Home
37 --Table
38 minetest.register_craft( {
39 output = '3dforniture:table',
40 recipe = {
41 { 'hades_trees:wood','hades_trees:wood', 'hades_trees:wood' },
42 { 'default:stick', '', 'default:stick' },
46 minetest.register_craft( {
47 output = '3dforniture:table_black',
48 recipe = {
49 { 'hades_trees:colwood_black','hades_trees:colwood_black', 'hades_trees:colwood_black' },
50 { 'default:stick', '', 'default:stick' },
54 minetest.register_craft( {
55 output = '3dforniture:table_white',
56 recipe = {
57 { 'hades_trees:colwood_white','hades_trees:colwood_white', 'hades_trees:colwood_white' },
58 { 'default:stick', '', 'default:stick' },
62 minetest.register_craft({
63 type = 'fuel',
64 recipe = '3dforniture:table',
65 burntime = 30,
68 --Chair
69 minetest.register_craft( {
70 output = '3dforniture:chair 2',
71 recipe = {
72 { 'default:stick',''},
73 { 'hades_trees:wood','hades_trees:wood' },
74 { 'default:stick','default:stick' },
78 minetest.register_craft( {
79 output = '3dforniture:chair_black 2',
80 recipe = {
81 { 'default:stick',''},
82 { 'hades_trees:colwood_black','hades_trees:colwood_black' },
83 { 'default:stick','default:stick' },
87 minetest.register_craft( {
88 output = '3dforniture:chair_white 2',
89 recipe = {
90 { 'default:stick',''},
91 { 'hades_trees:colwood_white','hades_trees:colwood_white' },
92 { 'default:stick','default:stick' },
96 minetest.register_craft({
97 type = 'fuel',
98 recipe = '3dforniture:chair',
99 burntime = 15,
102 --Armchair
103 minetest.register_craft( {
104 output = '3dforniture:armchair 2',
105 recipe = {
106 { 'hades_trees:wood',''},
107 { 'hades_trees:wood','wool:black' },
108 { 'hades_trees:wood','hades_trees:wood' },
112 minetest.register_craft( {
113 output = '3dforniture:armchair_white 2',
114 recipe = {
115 { 'hades_trees:wood',''},
116 { 'hades_trees:wood','wool:white' },
117 { 'hades_trees:wood','hades_trees:wood' },
121 minetest.register_craft( {
122 output = '3dforniture:armchair_blue 2',
123 recipe = {
124 { 'hades_trees:wood',''},
125 { 'hades_trees:wood','wool:blue' },
126 { 'hades_trees:wood','hades_trees:wood' },
130 minetest.register_craft( {
131 output = '3dforniture:armchair_brown 2',
132 recipe = {
133 { 'hades_trees:wood',''},
134 { 'hades_trees:wood','wool:brown' },
135 { 'hades_trees:wood','hades_trees:wood' },
139 minetest.register_craft( {
140 output = '3dforniture:armchair_red 2',
141 recipe = {
142 { 'hades_trees:wood',''},
143 { 'hades_trees:wood','wool:red' },
144 { 'hades_trees:wood','hades_trees:wood' },
148 minetest.register_craft( {
149 output = '3dforniture:armchair_green 2',
150 recipe = {
151 { 'hades_trees:wood',''},
152 { 'hades_trees:wood','wool:dark_green' },
153 { 'hades_trees:wood','hades_trees:wood' },
157 minetest.register_craft({
158 type = 'fuel',
159 recipe = '3dforniture:armchair',
160 burntime = 30,
163 --Table Lamp
164 minetest.register_craft( {
165 output = '3dforniture:table_lamp_off',
166 recipe = {
167 {'default:paper','hades_torches:torch' ,'default:paper'},
168 {'','default:stick',''},
169 {'','stairs:slab_wood',''},
173 minetest.register_craft({
174 type = 'fuel',
175 recipe = '3dforniture:table_lamp_off',
176 burntime = 10,
179 -- Bathroom Kit
181 --Toilet
182 minetest.register_craft( {
183 output = '3dforniture:toilet',
184 recipe = {
185 {'default:clay','homedecor:plastic_base',''},
186 { 'default:clay','default:clay', '' },
187 { 'pipeworks:pipe_1_empty', 'pipeworks:pump_off', '' },
191 --Sink
192 minetest.register_craft( {
193 output = '3dforniture:sink',
194 recipe = {
195 { 'default:clay','default:clay', 'default:clay' },
196 { '','pipeworks:pipe_1_empty', '' },
200 --Taps
201 minetest.register_craft( {
202 output = '3dforniture:taps',
203 recipe = {
204 { 'default:bronze_ingot','pipeworks:pipe_1_empty', 'default:bronze_ingot' },
208 --Shower Tray
209 minetest.register_craft( {
210 output = '3dforniture:shower_tray',
211 recipe = {
212 { 'default:steel_ingot','default:steel_ingot', 'default:steel_ingot' },
213 { '','pipeworks:pipe_1_empty', '' },
217 --Shower Head
218 minetest.register_craft( {
219 output = '3dforniture:shower_head',
220 recipe = {
221 {'pipeworks:pipe_1_empty', 'default:bronze_ingot'},
225 -- Medieval Forniture
227 --Bars
228 minetest.register_craft( {
229 output = '3dforniture:bars 10',
230 recipe = {
231 { 'default:steel_ingot','default:steel_ingot','default:steel_ingot' },
232 { 'default:steel_ingot','default:steel_ingot','default:steel_ingot' },
236 -- L Binding Bars
237 minetest.register_craft( {
238 output = '3dforniture:L_binding_bars 4',
239 recipe = {
240 { '3dforniture:bars','' },
241 { '3dforniture:bars','3dforniture:bars' },
245 --Chains
246 minetest.register_craft( {
247 output = '3dforniture:chains 4',
248 recipe = {
249 {'','default:steel_ingot',''},
250 { 'default:steel_ingot','', 'default:steel_ingot' },
251 { '', 'default:steel_ingot', '' },