scene
id 5
name 青山镇杂货铺
dat map5
weather 0
battleBg 0
BGM 1
enemyLevel 1
enemys null
endScene
npc
name 丁枫
defaultPos 0
visible false
isMotion false
isPass false
attrib 0,16,358,24,38,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 药店老板
defaultPos 0
visible true
isMotion false
isPass false
attrib 35,176,179,19,35,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 布袋1
defaultPos 0
visible true
isMotion -1
isPass false
attrib 40,16,80,16,16,0,类容
scriptVar null
speed 0
frequency 0
endNpc
event
type commonEvent
id -1
condition area,96,336,48,16
keyOK false
comment 药店——街道
. setScene 4,112,160,2,true
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,1
keyOK false
comment 寻药
. if event[16]=1&event[17]=0
. ctrl false
. showText 1,0,丁枫,掌柜的，店里可有#B红枣#A和#B野山参#A？
. showText 0,1,冯掌柜,红枣有，野山参可就没有啦！
. setFace 0,2
. showText 1,0,丁枫,可你家牌子上挂着永不断货啊！
. setFace 1,3
. showText 0,1,冯掌柜,你们家酒楼还挂着“百客居”呢！装的下一百人吗！
. showText 1,0,丁枫,这个‥‥!?
. setFace 1,3
. showText 0,1,冯掌柜,告诉你此乃买卖手段.
. showText 0,1,冯掌柜,我这里的一批#B野山参#A，上个月都让#B风雪山庄#A的庄主买走了，说要给庄主八姨太补身体！
. setFace 0,5
. showText 1,0,丁枫,其他地方就没有了吗？
. showText 0,0,冯掌柜,#B野山参#A可是非常珍贵的补药，哪里那么好找呀！不过风雪山庄庄主还是很通融的，如果你真是非常着急的话，他说不定会帮你的！
. showText 1,0,丁枫,看来得往#B风雪山庄#A一趟了.
. showText 0,0,冯掌柜,#B风雪山庄#A就在#B青山的右边#A,我还听说风雪山庄的八姨太脾气很不好。
. taskFlag 12,496,32
. setFace 0,0
. changeItem add,0,1
. changeItem add,3,1
. showText 1,0,丁枫,多谢！
. aside 前往风雪山庄，注意多带些菜肴好一路上补给
. delLog 7
. addLog 8
. set event[17]:寻药,1
. ctrl true
. complete 1
. else
. showText 0,0,冯掌柜,你想要些什么，本店可是价格公道童叟无欺！
. showChoice true,null,买进,卖出,离开
. if choice=0
. buyFood 0,1,2,3,4,5
. complete 0
. endIf
. if choice=1
. changeSailID 0,1
. sellItem 0,1
. complete 0
. endIf
. if choice=2
. showText 0,0,冯掌柜,您请慢走，有需要再来啊！
. complete 0
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,2
keyOK false
comment 布袋1
. if event[103]=0
. getFood 5,2
. getFood 8,2
. set event[103]:布袋1,1
. setStatus 2,6
. complete 0
. else
. showText 1,0,丁枫,袋子已经空了！
. complete 0
. endIf
endEvent
event
type initEvent
id -1
condition null
keyOK false
comment 事件描述
. if event[103]=1
. setStatus 2,6
. complete 0
. endIf
endEvent
