size=5x5x5
program 1
*start
if carrying != NONE then goto *build
if find(HEAVY) then goto *remember
wait
goto *start
*remember
print "材料の位置=("+target_x+","+target_y+","+target_z+")"
mem[0]=target_x
mem[1]=target_y
mem[2]=target_z
if target_at(mem[0],mem[1],mem[2]) then goto *walk
wait
goto *start
*build
if find(PILLAR) then goto *walk
wait
goto *start
*walk
go
if go_result==GO_MOVED then goto *walk
if go_result==GO_FAILED then goto *start
if carrying != NONE then goto *place
get
goto *start
*place
put
goto *start
endprogram
z=1
H4H4......
H4H4......
..........
..X?..X?..
....^.....
