scene
id 51
name 密室
dat map42
weather 0
battleBg 0
BGM 5
enemyLevel 1
enemys 48,49,50
endScene
npc
name 许仕林
defaultPos 0
visible false
isMotion false
isPass false
attrib 0,320,278,23,38,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 李碧莲
defaultPos 0
visible false
isMotion false
isPass false
attrib 1,176,53,21,37,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 胡媚娘
defaultPos 0
visible false
isMotion false
isPass false
attrib 2,128,166,17,38,1,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 采因
defaultPos 0
visible false
isMotion false
isPass false
attrib 3,128,134,18,38,1,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 青姨
defaultPos 0
visible false
isMotion false
isPass false
attrib 4,208,54,17,38,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 采因兔型
visible false
isMotion false
isPass false
attrib 5,224,40,18,24,0,类容
speed 2
frequency 4
endNpc
npc
name 侍卫一
visible event[71]=0
isMotion false
isPass false
attrib 10,528,132,21,36,2,类容
speed 2
frequency 4
endNpc
npc
name 侍卫二
visible event[71]=0
isMotion false
isPass false
attrib 10,352,340,21,36,0,类容
speed 2
frequency 4
endNpc
npc
name 侍卫三
visible event[71]=0
isMotion false
isPass false
attrib 10,528,580,21,36,1,类容
speed 2
frequency 4
endNpc
event
type commonEvent
id -1
condition area,32,96,16,16
keyOK false
comment 密室---偏门
. if taskItem[7]=1
. setScene 32,656,160,2,true
. complete 0
. else
. showText 0,0,采因,我还没有找到钥匙。
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition area,592,544,16,16
keyOK false
comment 密室---太师府
. if event[71]=0
. showText 0,0,采因,我还是先找钥匙要紧。
. complete 0
. else
. if event[72]=1
. setScene 33,32,80,2,true
. complete 0
. else
. showText 0,0,采因,用钥匙打开偏门大家一起上去比较好。
. complete 0
. endIf
. endIf
endEvent
event
type commonEvent
id 71
condition nextArea,80,544,32,16
keyOK true
comment 找到钥匙
. ctrl false
. taskFlag null
. showText 0,0,采因,哈哈！终于给我找到了！这个应该就是#B偏门的钥匙#A。
. changeTaskItem add,7,1
. showText 0,0,采因,赶紧回去帮他们开门。
. setScene 32,656,160,2,true
. ctrl true
. complete 1
endEvent
event
type commonEvent
id 69
condition null
keyOK false
comment 侍卫巡逻
. if event[70]=1
. sync
. loop true
. move 6,400,224
. roleWait 6,20
. setDir 6,up
. roleWait 6,20
. move 6,256,224
. roleWait 6,20
. move 6,400,224
. roleWait 6,20
. setDir 6,up
. roleWait 6,20
. move 6,576,224
. roleWait 6,20
. endLoop
. loop true
. move 7,32,448
. roleWait 7,20
. setDir 7,right
. roleWait 7,20
. move 7,32,320
. roleWait 7,20
. setDir 7,right
. roleWait 7,20
. move 7,32,448
. roleWait 7,20
. setDir 7,up
. roleWait 7,20
. setDir 7,right
. roleWait 7,20
. move 7,32,528
. roleWait 7,20
. endLoop
. loop true
. move 8,336,560
. roleWait 8,20
. setDir 8,up
. roleWait 8,20
. move 8,560,560
. roleWait 8,20
. setDir 8,up
. roleWait 8,20
. endLoop
. endSync
. endIf
endEvent
event
type initEvent
id -1
condition null
keyOK false
comment 事件描述
. if event[71]=0
. npcAppear 6,51,528,224,3
. npcAppear 7,51,32,528,0
. npcAppear 8,51,560,560,3
. lookMode 6,7,8
. showBomb false
. complete 0
. endIf
. if event[72]=1
. showBomb true
. complete 0
. endIf
endEvent
event
type commonEvent
id 70
condition null
keyOK false
comment 巡逻提示
. if event[68]=1
. ctrl false
. showText 0,0,提示,该场景中有一些巡逻的卫兵，采因需要躲过这些卫兵，并且取得钥匙。
. setCamera 512,224
. wait 0,10
. setCamera 48,448
. showText 0,0,提示,巡逻的士兵会有一个扇形的视线区域，玩家不得碰到该区域，如果被发现就会回到开始出现区域。
. setCamera 5
. ctrl true
. complete 1
. endIf
endEvent
