diff options
author | Calinou <calinou9999spam@gmail.com> | 2013-10-26 18:16:43 +0200 |
---|---|---|
committer | Calinou <calinou9999spam@gmail.com> | 2013-10-26 18:16:43 +0200 |
commit | f322bb1bc1e29d034f54a2a532c603bff8846468 (patch) | |
tree | 5ef7f99b7da86af105580f4bcdcb24aef0c54da1 /circular_saw.lua | |
parent | 621948c70a6f07a39765ebd360dccd4261173e21 (diff) |
New slab types: 1/16, 1/8, 7/8, 15/16 slabs (suggested by VanessaE), reorganized circular saw
Diffstat (limited to 'circular_saw.lua')
-rw-r--r-- | circular_saw.lua | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/circular_saw.lua b/circular_saw.lua index c58869e..54c2bdc 100644 --- a/circular_saw.lua +++ b/circular_saw.lua @@ -55,17 +55,22 @@ circular_saw.get_stair_output_inv = function(modname, material, anz, max) end return { + modname .. ":micro_" .. material .. "_bottom " .. math.min(math.floor(anz/1), max_offered), + modname .. ":panel_" .. material .. "_bottom " .. math.min(math.floor(anz/2), max_offered), + modname .. ":stair_" .. material .. "_half " .. math.min(math.floor(anz/3), max_offered), + modname .. ":stair_" .. material .. "_alt " .. math.min(math.floor(anz/4), max_offered), + modname .. ":stair_" .. material .. "_outer " .. math.min(math.floor(anz/5), max_offered), modname .. ":stair_" .. material .. " " .. math.min(math.floor(anz/6), max_offered), modname .. ":stair_" .. material .. "_inner " .. math.min(math.floor(anz/7), max_offered), - modname .. ":stair_" .. material .. "_outer " .. math.min(math.floor(anz/5), max_offered), - modname .. ":stair_" .. material .. "_half " .. math.min(math.floor(anz/3), max_offered), + + modname .. ":slab_" .. material .. "_1 " .. math.min(math.floor(anz/1), max_offered), + modname .. ":slab_" .. material .. "_2 " .. math.min(math.floor(anz/1), max_offered), modname .. ":slab_" .. material .. "_quarter " .. math.min(math.floor(anz/2), max_offered), modname .. ":slab_" .. material .. " " .. math.min(math.floor(anz/4), max_offered), modname .. ":slab_" .. material .. "_three_quarter " .. math.min(math.floor(anz/6), max_offered), - - modname .. ":panel_" .. material .. "_bottom " .. math.min(math.floor(anz/2), max_offered), - modname .. ":micro_" .. material .. "_bottom " .. math.min(math.floor(anz/1), max_offered), - modname .. ":stair_" .. material .. "_alt " .. math.min(math.floor(anz/4), max_offered), + modname .. ":slab_" .. material .. "_14 " .. math.min(math.floor(anz/7), max_offered), + modname .. ":slab_" .. material .. "_15 " .. math.min(math.floor(anz/8), max_offered), + "", } end |