scene 
id 4
name 药材店
dat map4.dat
battleBg 0
openEffect 0
closeEffect 1
enemyLevel 1
enemys null
endScene 

npc 0
name 许仙
defaultPos 0
visible false
isMotion false
attrib 0,96,252,16,28,0,类容
scriptVar null
endNpc   

npc 1
name 白素贞
defaultPos 0
visible false
isMotion false
attrib 1,96,251,16,27,0,类容
scriptVar null
endNpc   

npc 2
name 小青
defaultPos 0
visible false
isMotion false
attrib 2,96,251,16,27,0,类容
scriptVar null
endNpc   

npc 3
name 王员外
defaultPos 0
visible true
isMotion false
attrib 5,192,188,16,28,2,类容
scriptVar null
endNpc   

npc 4
name 李老板
defaultPos 0
visible true
isMotion false
attrib 15,96,171,16,27,2,类容
scriptVar null
endNpc   

event 0
type commonEvent
id -1
condition area,80,272,64,16
comment 药材店出口
.0 setScene 2,224,272,2,true
.1 complete 0
endEvent 

event 1
type commonEvent
id -1
condition sprite,3
comment 事件描述
.0 if event[50]=0
.0 showText 0,许仙,大夫好，我叫许汉文，是来学医的。
.1 showText 0,王员外,许汉文？哦，学医的事情你姐姐已经和我说过了。对了，草药，你可认识否？
.2 showText 0,许仙,平时我都看过一些乱七八糟的医书，什么《神农本草经》，孙思邈的《千金药方》，所以就略知一二，请大夫别见笑。
.3 showText 0,王员外,哈哈，这些书你都涉猎过了，那我也放心了，你去城外南郊采些止血草回来吧。但一定要注意蛇虫强盗啊！
.4 showText 0,许仙,知道了，老夫子！
.5 showText 0,王员外,早去早回啊！
.6 set event[50],1
.0 else
.7 if event[51]=0
.0 showText 0,王员外,城外南郊采些止血草，早去早回啊！
.7 else
.13 if event[56]=0
.0 showText 0,许仙,王大夫，止血草我找到了，您看是不是？
.1 showText 0,王员外,哦？不错，正是老夫要的，这些多余的草药就给你了，以便防身之用。
.30 changeItem add,0,5
.30 wait 0,10
.3 showText 0,王员外,对了，明儿个是三月初三清明节，你姐姐来找我说了，去城外扫扫墓，顺便出去散散心吧。出了城南南郊就到了。
.4 showText 0,许仙,明天是清明了啊，谢谢老夫子！
.19 set event[56],1
.13 else
.20 if event[52]=0
.0 showText 0,王员外,去城外扫扫墓，出了城南南郊就到了。
.20 else
.0 showText 0,王员外,学医，要本着济事扶人之心！
.32 complete 0
.20 endIf
.13 endIf
.33 complete 0
.7 endIf
.0 endIf
endEvent 

event 2
type commonEvent
id -1
condition area,96,192,16,16
comment 购买药材
.5 if KEY_OK
.0 showText 0,李老板,上以疗君亲之疾，下以救贫贱之厄。客官，需要什么药材吗？
.2 shop 0
.3 showText 0,李老板,下次需要什么您尽管吩咐。
.1 complete 0
.5 endIf
endEvent 

