Add more
This commit is contained in:
parent
f2db5caae9
commit
6f8f58e50d
@ -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
|
||||
|
@ -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
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user