代碼: 選擇全部
if user1=0
//user1為自定資源"布"
drag 16 from Pos5 to pos6
delay(2000)
end if
//從地上拿"16"個布到身上
sendmacro( 13 )
WaitForWghtChange(7500)
Delay (500)
//巨集13是錄裁縫
var8=GetColorPos[var1,pos2,pos3]
//var1設定要搬移的物品顏色
//pos2跟pos3設定要搬移的容器左上右下角
if var1=color[var8]
drag all from GetColorPos[var1,pos2,pos3] to pos4
//pos4 設定要放置的位置
delay 1000
end if
if var8>1
var4 = var4 % 200 + 1
end if
//上方200為物品放袋子數量,可自行修改
if var4 =200
drag 1 from pos4 to pos7
WaitForWghtChange(1000)
end if
//當數量達到200後,拿袋子到桶子裡
//pos7為桶子的位置打鐵~木工~工藝~製圖~製弓..........等(修改後都可適用)


