mirror of
https://github.com/minetest-mods/technic.git
synced 2025-06-29 14:50:45 +02:00
Add extractor.
Add extractor for make more rubber from latex. Moved make dyes from grinder to extractor.
This commit is contained in:
@ -230,7 +230,10 @@ unified_inventory.get_formspec = function(player,page)
|
||||
end
|
||||
if craft.type == "alloy" then
|
||||
method="Alloy cooking"
|
||||
end
|
||||
end
|
||||
if craft.type == "extracting" then
|
||||
method="Extracting"
|
||||
end
|
||||
formspec = formspec.."label[6,3;"..method.."]"
|
||||
end
|
||||
|
||||
@ -558,7 +561,7 @@ unified_inventory.update_recipe = function(player, stack_name, alternate)
|
||||
inv:set_stack("output", 1, craft.output)
|
||||
local items=craft.items
|
||||
-- cook, fuel, grinding recipes
|
||||
if craft.type == "cooking" or craft.type == "fuel" or craft.type == "grinding" then
|
||||
if craft.type == "cooking" or craft.type == "fuel" or craft.type == "grinding" or craft.type == "extracting" then
|
||||
def=unified_inventory.find_item_def(craft["items"][1])
|
||||
if def then
|
||||
inv:set_stack("build", 1, def)
|
||||
|
Reference in New Issue
Block a user