Slowed down digging of canvases and generated nodes
parent
9c44bec74d
commit
d4c02449d7
4
init.lua
4
init.lua
|
@ -46,7 +46,7 @@ function wesh._register_canvas_nodes()
|
||||||
on_rightclick = wesh.canvas_interaction,
|
on_rightclick = wesh.canvas_interaction,
|
||||||
description = "Woolen Mesh Canvas - Size " .. size,
|
description = "Woolen Mesh Canvas - Size " .. size,
|
||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { dig_immediate = 3 },
|
groups = { snappy = 2, choppy = 2, oddly_breakable_by_hand = 3 },
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -413,7 +413,7 @@ function wesh._load_mesh(obj_filename)
|
||||||
description = description .. " (" .. variant .. ")",
|
description = description .. " (" .. variant .. ")",
|
||||||
tiles = { tile },
|
tiles = { tile },
|
||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { dig_immediate = 3 },
|
groups = { snappy = 2, choppy = 2, oddly_breakable_by_hand = 3 },
|
||||||
}
|
}
|
||||||
for prop, value in pairs(data) do
|
for prop, value in pairs(data) do
|
||||||
if prop ~= "variants" and prop ~= "description" then
|
if prop ~= "variants" and prop ~= "description" then
|
||||||
|
|
Loading…
Reference in New Issue