scaffol: add headTri

wsc-master
cora 2020-12-08 13:38:32 +01:00
parent d1ec6a5a0c
commit 01408fd41a
3 changed files with 12 additions and 3 deletions

View File

@ -3,8 +3,8 @@ local cpos={x=0,y=0,z=0}
local crange=500
local hud_wp=nil
local zz={x=0,y=64,z=0}
local badnodes={'mcl_tnt:tnt','mcl_fire:basic_flame','mcl_fire:eternal_fire','mcl_fire:fire','mcl_fire:fire_charge','mcl_sponges:sponge','mcl_sponges:sponge_wet'}
--
local badnodes={'mcl_tnt:tnt','mcl_fire:basic_flame','mcl_fire:eternal_fire','mcl_fire:fire','mcl_fire:fire_charge'}
--'mcl_sponges:sponge','mcl_sponges:sponge_wet'
local searchheight=64
local function set_kwp(name,pos)

View File

@ -129,6 +129,13 @@ if turtle then
scaffold.place_if_able(turtle.dircoord(0, -1, -1))
end)
end
if turtle then
scaffold.register_template_scaffold("headTriScaff", "scaffold_three_wide_head", function(pos)
scaffold.place_if_able(turtle.dircoord(0, 3, 0))
scaffold.place_if_able(turtle.dircoord(0, 3, 1))
scaffold.place_if_able(turtle.dircoord(0, 3, -1))
end)
end
if turtle then
scaffold.register_template_scaffold("QuintScaffold", "scaffold_five_wide", function(pos)
scaffold.place_if_able(pos)

View File

@ -11,6 +11,8 @@ chatlogdir=~/.wschat
mtpid=0
mtpath=$(dirname $0)
dbg=1
rm -f /tmp/$(whoami)-wsxt
rm -f /tmp/$(whoami)-wsmen
if [ "$(echo $*|grep debug)" != "" ] || [ ! -z $4 ]; then dbg=0; fi
mkdir -p $chatlogdir
if [ -f $pwf ]; then pas=$(cat $pwf); fi
@ -55,7 +57,7 @@ startmt() {
if [ $tomenu -eq 0 ]; then
startmt menu
else
while true; do
while true; do
if [ -f /tmp/$(whoami)-wsxt ]; then
rm -f /tmp/$(whoami)-wsxt
break