﻿scene 
id 17
name 昌黎村
dat map17.dat
battleBg 0
openEffect 0
closeEffect 1
enemyLevel 1
enemys null
endScene 

npc 0
name 夏侯惇
defaultPos 0
visible false
isMotion false
attrib 0,128,456,16,24,0,类容
scriptVar null
endNpc   

npc 1
name 郭嘉
defaultPos 0
visible false
isMotion false
attrib 1,144,459,16,27,0,类容
scriptVar null
endNpc   

npc 2
name 张辽
defaultPos 0
visible false
isMotion false
attrib 2,160,461,18,29,0,类容
scriptVar null
endNpc   

npc 3
name 村长
defaultPos 0
visible true
isMotion false
attrib 17,144,311,17,23,2,类容
scriptVar null
endNpc   

npc 4
name 锻造师傅
defaultPos 0
visible true
isMotion false
attrib 20,448,329,16,25,2,类容
scriptVar null
endNpc   

npc 5
name 道具商人
defaultPos 0
visible true
isMotion false
attrib 21,448,107,14,27,2,类容
scriptVar null
endNpc   

npc 6
name 住宿老板
defaultPos 0
visible true
isMotion false
attrib 22,160,107,16,27,2,类容
scriptVar null
endNpc   

npc 7
name 女子（河边）
defaultPos 0
visible true
isMotion false
attrib 15,144,265,18,25,2,类容
scriptVar null
endNpc   

npc 8
name 老头1
defaultPos 0
visible true
isMotion false
attrib 17,272,247,17,23,2,类容
scriptVar null
endNpc   

npc 9
name 老头2
defaultPos 0
visible true
isMotion true
attrib 17,384,439,17,23,2,类容
scriptVar null
endNpc   

npc 10
name 王寡妇
defaultPos 0
visible true
isMotion false
attrib 15,432,185,18,25,1,类容
scriptVar null
endNpc   

npc 11
name 小秦
defaultPos 0
visible true
isMotion false
attrib 16,448,186,16,26,3,类容
scriptVar null
endNpc   

npc 12
name 女子（路上）
defaultPos 0
visible true
isMotion true
attrib 15,368,313,18,25,2,类容
scriptVar null
endNpc   

event 0
type commonEvent
id 52
condition area,112,352,80,16
comment 昌黎村找人渡河
.23 if event[51]=1
.5 ctrl false
.0 move 0,144,352
.1 move 0,144,336
.2 npcAppear 1,17,144,336,0
.3 move 1,160,336
.4 setDir 1,up
.6 showText 0,郭嘉,老人家，为何村中只有老人与幼儿，不见强壮男子？
.7 showText 0,村长,刘表与东吴孙权年年征战，月月征兵，村中强壮男子所剩无几。
.8 showText 0,郭嘉,所征之兵莫非是荆州之兵？
.9 showText 0,村长,正是。
.10 showText 0,郭嘉,原来如此！
.12 wait 0,10
.11 setDir 1,left
.13 showText 0,郭嘉,将军。
.25 setDir 0,right
.14 showText 0,夏侯惇,在！
.15 showText 0,郭嘉,我即刻修书给丞相，将军可暂且在此村休息一晚，明日可渡河。
.16 showText 0,夏侯惇,是！
.17 move 1,112,336
.18 move 1,112,448
.19 npcDisappear 1
.20 showText 0,夏侯惇,在村里休息一晚，然后等军师归来。
.26 setTeam 0,2
.21 ctrl true
.22 complete 1
.23 endIf
endEvent 

event 1
type commonEvent
id 53
condition area,208,128,16,96
comment 昌黎村休息一晚
.10 if event[52]=1
.8 ctrl false
.0 move 0,208,112
.1 move 0,160,112
.2 setDir 0,up
.3 showText 0,住宿老板,将军是不是要住宿一晚。
.4 showText 0,夏侯惇,嗯，是的。
.5 showText 0,住宿老板,好好休息吧。
.6 showBacktext 一夜过去了……
.7 showText 0,夏侯惇,已经过了一夜，军师应该已经回来了。
.9 ctrl true
.12 complete 1
.10 endIf
endEvent 

event 2
type commonEvent
id 54
condition area,112,352,80,16
comment 昌黎村郭嘉归来
.14 if event[53]=1
.13 ctrl false
.0 move 0,144,336
.1 wait 0,10
.2 npcAppear 1,17,128,448,0
.3 move 1,128,336
.4 wait 0,10
.5 showText 0,郭嘉,我已经修书给丞相，荆州之兵已被返家。
.6 showText 0,村长,村中年轻男子都已回村，将军大恩无以回报。摆渡男子现已在江陵北边渡口听候将军调遣。
.7 showText 0,郭嘉,奉孝谢过老人家。
.8 setDir 1,right
.9 showText 0,郭嘉,将军，我们走。
.10 move 1,144,336
.11 npcDisappear 1
.26 setTeam 0,1,2
.12 ctrl true
.7 complete 1
.14 endIf
endEvent 

event 3
type commonEvent
id -1
condition area,528,224,16,32
comment 右出口
.0 setScene 18,608,256,2,true
.1 complete 0
endEvent 

event 4
type commonEvent
id -1
condition area,304,16,32,16
comment 上出口
.0 setScene 18,608,256,2,true
.1 complete 0
endEvent 

event 5
type commonEvent
id -1
condition area,224,480,32,16
comment 下出口
.0 setScene 18,608,256,2,true
.1 complete 0
endEvent 

event 6
type commonEvent
id 30
condition sprite,7
comment 昌黎村答应帮花花
.2 showText 0,夏侯惇,姑娘，小心，河边危险！
.0 showText 0,花花,不要拦着我，我一定要找到那颗戒指。
.4 showChoice true,是否帮忙,帮忙,不帮忙
.5 if choice=0
.3 showText 0,夏侯惇,在下愿为姑娘找到那戒指。请问是在何处丢失的。
.8 showText 0,花花,我想应该就在河边，那就劳烦将军了！
.9 showText 0,夏侯惇,姑娘尽请放心，在下定为姑娘找到那戒指！
.1 complete 1
.5 endIf
.9 complete 0
endEvent 

event 7
type commonEvent
id -1
condition sprite,8
comment 与河边的老头对话
.6 if event[33]=1
.10 showText 0,于生,呵呵……将军近来可好？老夫祝将军百战百胜！
.10 showText 0,夏侯惇,多谢前辈！
.11 complete 0
.6 else
.6 set event[33],event[33]=1
.0 showText 0,于生,请问阁下可是夏将军？
.1 showText 0,夏侯惇,？？不知大爷如何得知？
.2 showText 0,于生,呵呵……不要看老夫现在这样，其实老夫以前也在兵营待过，只不过年老力衰故退了下来。
.3 showText 0,夏侯惇,原来如此！
.5 complete 0
.6 endIf
endEvent 

event 8
type commonEvent
id -1
condition sprite,9
comment 与老头2的对话
.2 showText 0,夏侯惇,在下日日看到老大爷在路口眺望，不知所为何事？
.2 showText 0,秦大爷,上个月就听说我儿子的部队将要经过，我在想在这也许能见到他。
.1 complete 0
endEvent 

event 9
type commonEvent
id -1
condition sprite,10,11
comment 寡妇与小秦的对话
.0 showText 0,王寡妇,小秦，最近好寂寞啊。
.1 showText 0,小秦,晚上我去陪你好吗？
.2 showText 0,王寡妇,不行！被人家看到影响不好。
.3 showText 0,王寡妇,晚上我去找你。
.4 showText 0,小秦,…………
.5 complete 0
endEvent 

event 10
type commonEvent
id -1
condition sprite,12
comment 与花花她娘的对话
.3 if event[32]=0
.0 showText 0,花花她娘,自从我闺女把戒指丢了后现在天天往河边跑，这让人担心的！
.7 complete 0
.3 else
.6 showText 0,花花她娘,听花花说将军帮忙找到了戒指，真是太感谢了！
.7 complete 0
.3 endIf
endEvent 

event 11
type commonEvent
id -1
condition sprite,6
comment 与住宿老板对话
.0 showText 0,住宿老板,客官，需要休息吗？
.2 shop 0
.1 complete 0
endEvent 

event 12
type commonEvent
id -1
condition sprite,5
comment 与道具商人对话
.0 showText 0,道具商人,客官，我这应有尽有，您需要点什么？
.2 shop 2
.1 complete 0
endEvent 

event 13
type commonEvent
id -1
condition sprite,4
comment 与锻造师傅对话
.0 showText 0,锻造师傅,我这的武器可是最好的，客官你需要点什么？
.2 shop 1
.1 complete 0
endEvent 

event 14
type commonEvent
id 31
condition area,48,448,16,16
comment 找到戒指
.4 if event[30]=1
.0 if KEY_OK=true
.3 showText 0,null,得到戒指。
.3 complete 1
.0 endIf
.4 endIf
endEvent 

event 15
type commonEvent
id 32
condition sprite,7
comment 将戒指交还于花花
.7 if event[30]=1
.0 if event[31]=1
.3 showText 0,夏侯惇,姑娘，可是此物？
.5 showText 0,null,夏侯惇拿出了一枚戒指。
.4 showText 0,花花,恩！小女子在此多谢将军了。这枚戒指是我的嫁妆，所以很是重要。
.4 showText 0,花花,我将我3年前所佩带的戒指赠送将军，作为报答将军的恩情。
.3 changeEquip add,59,25
.6 complete 1
.9 else
.4 showText 0,花花,麻烦将军了！
.6 complete 0
.0 endIf
.7 endIf
endEvent 

event 16
type commonEvent
id -1
condition sprite,7
comment 与花花对话
.0 if event[32]=1
.9 showText 0,花花,感谢菩萨，戒指终于找到了！
.9 complete 0
.5 endIf
endEvent 

event 17
type commonEvent
id -1
condition sprite,3
comment 村长对话
.1 if event[54]=0
.0 showText 0,村长,年年争战，村里就剩下老弱妇孺和一些过往商贩。哎，我好想我的儿啊。
.5 complete 0
.1 else
.6 showText 0,村长,哈哈，我儿终于回来了，想不到临死之前也能见我儿一面，实在太感谢曹丞相了。
.7 complete 0
.1 endIf
endEvent 
