This commit is contained in:
jordan4ibanez 2017-07-26 04:50:01 -04:00
parent f2db5caae9
commit 6f8f58e50d
2 changed files with 6 additions and 1 deletions

View File

@ -170,6 +170,10 @@ function crafting.move_items()
--only allow grabbing from output
elseif craft_output_selection_x > 0 and craft_output_selection_y > 0 then
crafting.left_click(craft_output_selection_x,craft_output_selection_y,crafting.output_inventory,1,false)
--throw item
else
print("fix this")
throw_item()
end
@ -295,6 +299,7 @@ amount = 4,
--crafting mechanic
function detect_recipes()
print("add shift clicking")
--print("----------------------")
for i = 1,crafting.craft_size*crafting.craft_size do
if recipe_test["recipe"][i] == crafting.craft_inventory[i]["id"] then

View File

@ -6,7 +6,7 @@ blocks = {
{name = "grass", image = "grass.png"}, --id 4
{name = "water", image = "water.png", prop = "liquid", collide = false,water = true, placeable = true,mineable = false}, --id 5
{name = "leaves", image = "leaves.png"}, --id 6
{name = "tree", image = "tree.png", drop = 7, drop_amount = 2}, --id 7
{name = "tree", image = "tree.png", drop = 7, drop_amount = 1}, --id 7
{name = "wood", image = "wood.png"}, --id 8
}