Differences From
Artifact [caa4bf5370]:
103 103 replacements = {
104 104 {'bucket:bucket_water', 'bucket:bucket_empty'};
105 105 };
106 106 };
107 107 end
108 108 -- TODO: replace crafting recipe with kiln recipe
109 109 minetest.register_craft {
110 - output = screw.. ' 4';
110 + output = screw.. ' 8';
111 111 recipe = {
112 - {fragment,fragment,fragment};
113 - {'', fragment,''};
114 - {'', fragment,''};
112 + {'', 'xdecor:hammer',''};
113 + { fragment,fragment,fragment};
114 + {'', fragment,''};
115 + };
116 + replacements = {
117 + {'xdecor:hammer','xdecor:hammer'};
115 118 };
116 119 }
117 120 if not sorcery.compat.defp(ingot) then
118 121 -- TODO: remove instant_ores dependency
119 122 instant_ores.register_metal {
120 123 name = 'sorcery:' .. name;
121 124 description = sorcery.lib.str.capitalize(name);
................................................................................
140 143 minetest.register_craftitem(fragment, {
141 144 inventory_image = 'sorcery_' .. name .. '_fragment.png';
142 145 description = sorcery.lib.str.capitalize(name) .. ' Fragment';
143 146 })
144 147 minetest.register_craft {
145 148 type = 'cooking';
146 149 recipe = powder;
147 - cooktime = (metal.cooktime or 4) * 1.5;
150 + cooktime = (metal.cooktime or 4) * 0.25;
148 151 output = fragment;
149 152 }
150 153 minetest.register_craft {
151 154 type = 'cooking';
152 155 recipe = ingot;
153 - cooktime = (metal.cooktime or 4) / 2;
156 + cooktime = (metal.cooktime or 4) * 0.5;
154 157 output = fragment .. ' ' .. tostring(fragments_per_ingot);
155 158 }
156 159 do local rec = {}
157 160 for i=1,fragments_per_ingot do
158 161 rec[#rec+1]=fragment
159 162 end
160 163 minetest.register_craft {
................................................................................
177 180 }))
178 181 end
179 182 if metal.sinter then
180 183 local powders = {}
181 184 for _,m in pairs(metal.sinter) do
182 185 powders[#powders+1] = 'sorcery:powder_' .. m
183 186 end
187 + if metal.sinter_catalyst then for _,m in pairs(metal.sinter_catalyst)
188 + do powders[#powders+1] = m end end
184 189 minetest.register_craft {
185 190 type = 'shapeless';
186 191 output = powder .. ' ' .. tostring(#powders);
187 192 recipe = powders;
188 193 };
189 194 end
190 195 end