aboutsummaryrefslogtreecommitdiff
path: root/circular_saw.lua
diff options
context:
space:
mode:
authorAuke Kok <sofar@foo-projects.org>2016-12-15 14:56:45 -0800
committerAuke Kok <sofar+github@foo-projects.org>2016-12-31 12:33:09 -0800
commit5500c9906c1c95e6d00acb06e0d29e21d36ff77f (patch)
treea0cb511cbb2f05076b3cb6855bdff1fd31e121d8 /circular_saw.lua
parentd587b4d23f9d386b1a3b924d0a3860b05941eee8 (diff)
downloadmoreblocks-5500c9906c1c95e6d00acb06e0d29e21d36ff77f.tar.gz
moreblocks-5500c9906c1c95e6d00acb06e0d29e21d36ff77f.tar.bz2
moreblocks-5500c9906c1c95e6d00acb06e0d29e21d36ff77f.zip
Run cleanfile on all files, fixing whitespace issues.
Diffstat (limited to 'circular_saw.lua')
-rw-r--r--circular_saw.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/circular_saw.lua b/circular_saw.lua
index 09fbd90..d676c3b 100644
--- a/circular_saw.lua
+++ b/circular_saw.lua
@@ -145,7 +145,7 @@ function circular_saw:update_inventory(pos, amount)
self:reset(pos)
return
end
-
+
local stack = inv:get_stack("input", 1)
-- At least one "normal" block is necessary to see what kind of stairs are requested.
if stack:is_empty() then
@@ -371,14 +371,14 @@ function circular_saw.can_dig(pos,player)
end
minetest.register_node("moreblocks:circular_saw", {
- description = S("Circular Saw"),
- drawtype = "nodebox",
+ description = S("Circular Saw"),
+ drawtype = "nodebox",
node_box = {
- type = "fixed",
+ type = "fixed",
fixed = {
{-0.4, -0.5, -0.4, -0.25, 0.25, -0.25}, -- Leg
{0.25, -0.5, 0.25, 0.4, 0.25, 0.4}, -- Leg
- {-0.4, -0.5, 0.25, -0.25, 0.25, 0.4}, -- Leg
+ {-0.4, -0.5, 0.25, -0.25, 0.25, 0.4}, -- Leg
{0.25, -0.5, -0.4, 0.4, 0.25, -0.25}, -- Leg
{-0.5, 0.25, -0.5, 0.5, 0.375, 0.5}, -- Tabletop
{-0.01, 0.4375, -0.125, 0.01, 0.5, 0.125}, -- Saw blade (top)
@@ -389,9 +389,9 @@ minetest.register_node("moreblocks:circular_saw", {
tiles = {"moreblocks_circular_saw_top.png",
"moreblocks_circular_saw_bottom.png",
"moreblocks_circular_saw_side.png"},
- paramtype = "light",
+ paramtype = "light",
sunlight_propagates = true,
- paramtype2 = "facedir",
+ paramtype2 = "facedir",
groups = {choppy = 2,oddly_breakable_by_hand = 2},
sounds = default.node_sound_wood_defaults(),
on_construct = circular_saw.on_construct,