1
0
mirror of https://bitbucket.org/Infinatum/scaffolding.git synced 2025-07-20 17:00:27 +02:00

3 Commits

Author SHA1 Message Date
8ad6591315 Delete depends.txt, add mod.conf 2022-07-02 21:42:24 +02:00
5a785b4d00 Merge remote-tracking branch 'upstream/master' 2020-07-31 22:12:35 +02:00
2ff60245a9 Fix warnings on undeclared global variables 2020-07-20 02:20:06 +02:00
3 changed files with 10 additions and 5 deletions

View File

@ -1 +0,0 @@
default

View File

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

4
mod.conf Normal file
View File

@ -0,0 +1,4 @@
name = scaffolding
title = Scaffolding
description = Say Goodbye To Dirt Scaffolding.
depends = default