1
0
mirror of https://bitbucket.org/Infinatum/scaffolding.git synced 2025-07-03 08:30:44 +02:00

4 Commits

3 changed files with 8 additions and 5 deletions

View File

@ -1 +0,0 @@
default

View File

@ -1,7 +1,7 @@
local buildPlatform = function(node, pos, itemstack)
-- code for the building platforms
posZ = {'1', '0', '-1', '-1', '0', '0', '1', '1' };
posX = {'0', '-1', '0', '0', '1', '1', '0', '0' };
local posZ = {'1', '0', '-1', '-1', '0', '0', '1', '1' };
local posX = {'0', '-1', '0', '0', '1', '1', '0', '0' };
for nameCount = 1, 8 do
pos.z = pos.z + posZ[nameCount];
@ -20,8 +20,8 @@ local buildScaffolding = function(node, pos, itemstack, player)
-- many thanks to addi for improveing (rewriteing) my crappy code --
-- code for the building scaffolding
height = 0;
depth = 0; -- !!Note!! depth is not needed at the moment
local height = 0;
local depth = 0; -- !!Note!! depth is not needed at the moment
--[[ debug stuff ]]
@ -549,3 +549,5 @@ minetest.register_craft({
{'default:steel_ingot', '', ''},
}
})
minetest.log("action", "[scaffolding] loaded.")

View File

@ -1,2 +1,4 @@
name = scaffolding
title = Scaffolding
description = Adds the ability quickly build and remove scaffolding
depends = default