scene
id 76
name 道具屋
dat map4
weather 0
battleBg 4
BGM 2
enemyLevel 1
enemys null
endScene
npc 0
name 马尔斯
defaultPos 0
visible false
isMotion false
isPass false
attrib 0,128,215,29,39,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 1
name 依晴
defaultPos 0
visible false
isMotion false
isPass false
attrib 1,176,116,19,36,1,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 2
name 诺姆
defaultPos 0
visible false
isMotion false
isPass false
attrib 2,192,215,29,39,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 3
name 巴特
defaultPos 0
visible false
isMotion false
isPass false
attrib 3,96,214,27,38,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 4
name 伊维
defaultPos 0
visible true
isMotion false
isPass false
attrib 14,96,117,31,37,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 5
name 牛头平民－萨拉
defaultPos 0
visible true
isMotion false
isPass false
attrib 23,48,229,29,37,2,类容
scriptVar null
speed 2
frequency 4
endNpc
event 0
type commonEvent
id -1
condition area,80,336,32,16
keyOK false
comment 道具店----阿达姆
.0 setScene 71,112,416,2,true
.1 complete 0
endEvent
event 1
type commonEvent
id 60
condition area,80,160,128,16
keyOK false
comment 道具店补给
.0 if event[59]=1
.3 ctrl false
.4 move 0,96,160
.5 sync
.8 {
.17 move 0,96,128
.8 }
.11 {
.18 npcAppear 1,76,96,160,0
.19 move 1,128,160
.20 move 1,128,112
.21 setDir 1,left
.11 }
.14 {
.22 npcAppear 3,76,96,160,0
.23 move 3,80,160
.24 move 3,80,112
.25 setDir 3,right
.14 }
.5 endSync
.21 showText 1,0,马尔斯,老板，我们需要一些水和干粮。
.71 setFace 4,3
.22 showText 0,0,伊维,原来是这样，看你们从外地而来，算你们便宜一点，一共五万个金币。
.23 sync
.26 setFace 0,0
.27 setFace 1,0
.28 setFace 3,0
.23 endSync
.29 showText 1,0,马尔斯,什么！？
.30 showText 0,0,伊维,怎么，嫌贵啊，我们也没办法啊，最近村落补给品太少了。
.76 setFace 1,0
.31 showText 2,1,依晴,这价格也太离谱了。
.32 showText 0,0,伊维,补给品现在在我手中，当然是我来定价格，你们到底要不要？
.72 setFace 0,0
.73 showAction 0,jump
.44 showText 1,0,马尔斯,你……！
.33 showText 4,1,巴特,（小声说）看我们是外村来的陌生面孔，所以就漫天要价，要让他知道点厉害。
.34 move 3,80,96
.35 setDir 3,right
.37 showEffect 22,96,96,0
.37 move 3,80,112
.38 setDir 3,right
.39 showText 4,1,巴特,我们身上没有带够那么多钱，不过我们有一玉佩可做抵押。
.40 aside 巴特将玉佩伸到了老板面前……
.41 showText 0,0,伊维,这玉佩……怎么那么眼熟……
.42 setFace 4,0
.74 showAction 4,jump
.43 showText 0,0,伊维,不对……这玉佩是我的……该死的巨魔，快将玉佩还给我……
.45 showText 4,1,巴特,还你也可以，不过是作为抵押，你要将补给品给我们。
.77 setFace 4,3
.46 showText 0,0,伊维,这……这……本就是我的物品，怎么能给你们做抵押。
.47 showText 4,1,巴特,照你原先的话，玉佩现在在我手中就由我来定，为什么不能做抵押。
.75 setFace 4,0
.48 showText 0,0,伊维,你！你们……！
.49 showText 0,0,伊维,罢了罢了，补给品你们拿走，不过要将玉佩还我。
.50 showText 4,1,巴特,就这么决定。
.51 aside 巴特交还了玉佩。
.52 changeTaskItem add,8,1
.53 set taskItem[8]:,1
.54 setFace 0,1
.55 showText 4,1,巴特,恶人吃恶果，既然补给品拿到了，那我们可以向#B塔利斯#A出发了。
.56 sync
.59 {
.65 move 1,128,128
.67 move 1,96,128
.70 npcDisappear 1
.59 }
.62 {
.68 move 3,80,128
.69 move 3,96,128
.70 npcDisappear 3
.62 }
.56 endSync
.67 delLog 任务二十二
.68 addLog 任务二十三,#B前往阿达姆南边的塔利斯，找寻火龙链。
.69 ctrl true
.70 complete 1
.0 endIf
endEvent
event 2
type commonEvent
id -1
condition area,32,32,32,16
keyOK false
comment 道具店---武器店
.0 setScene 75,80,336,0,true
.1 complete 0
endEvent
event 3
type commonEvent
id -1
condition sprite,5
keyOK false
comment 萨拉对话
.0 showText 0,0,萨拉,女为悦己者容，男为悦己者穷！
.1 complete 0
endEvent
event 4
type commonEvent
id -1
condition sprite,4
keyOK false
comment 伊维对话
.2 showText 0,0,伊维,长年出售各种物品,上至珍奇异宝,下至破铜烂铁……
.0 if event[51]=0
.2 showChoice true,你想要做什么？,购买,变卖,取消
.3 if choice=0
.11 buyItem 0,1,2,3,4,5,6,7,15
.7 complete 0
.3 endIf
.8 if choice=1
.11 sellItem true
.12 complete 0
.8 endIf
.1 complete 0
.0 else
.2 showChoice true,你想要做什么？,购买,变卖,取消
.3 if choice=0
.15 buyItem 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16
.7 complete 0
.3 endIf
.8 if choice=1
.11 sellItem true
.12 complete 0
.8 endIf
.1 complete 0
.0 endIf
endEvent
