Compare commits
No commits in common. "master" and "auto-build" have entirely different histories.
master
...
auto-build
|
@ -0,0 +1 @@
|
||||||
|
default
|
10
init.lua
|
@ -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
|
||||||
local posZ = {'1', '0', '-1', '-1', '0', '0', '1', '1' };
|
posZ = {'1', '0', '-1', '-1', '0', '0', '1', '1' };
|
||||||
local posX = {'0', '-1', '0', '0', '1', '1', '0', '0' };
|
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
|
||||||
local height = 0;
|
height = 0;
|
||||||
local depth = 0; -- !!Note!! depth is not needed at the moment
|
depth = 0; -- !!Note!! depth is not needed at the moment
|
||||||
|
|
||||||
|
|
||||||
--[[ debug stuff ]]
|
--[[ debug stuff ]]
|
||||||
|
@ -541,5 +541,3 @@ minetest.register_craft({
|
||||||
{'default:steel_ingot', '', ''},
|
{'default:steel_ingot', '', ''},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.log("action", "[scaffolding] loaded.")
|
|
||||||
|
|
4
mod.conf
|
@ -1,4 +0,0 @@
|
||||||
name = scaffolding
|
|
||||||
title = Scaffolding
|
|
||||||
description = Say Goodbye To Dirt Scaffolding.
|
|
||||||
depends = default
|
|
Before Width: | Height: | Size: 701 B After Width: | Height: | Size: 484 B |
Before Width: | Height: | Size: 554 B After Width: | Height: | Size: 392 B |
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 441 B After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 714 B After Width: | Height: | Size: 492 B |
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 404 B |
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 3.0 KiB |