scene
id 9
name 陈生家
dat map2
weather 0
battleBg 0
BGM 4
enemyLevel 1
enemys null
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 event[120]=0@event[121]=1
isMotion false
isPass false
attrib 13,400,356,17,36,2,类容
speed 2
frequency 4
endNpc
npc
name 戚宝山
visible false
isMotion false
isPass false
attrib 6,144,52,17,36,0,类容
speed 2
frequency 4
endNpc
npc
name 管家
visible true
isMotion false
isPass false
attrib 24,464,340,19,36,2,类容
speed 2
frequency 4
endNpc
npc
name 金箱1
visible event[189]=0
isMotion false
isPass false
attrib 40,64,321,18,17,0,类容
speed 0
frequency 0
endNpc
npc
name 金箱2
visible event[190]=0
isMotion false
isPass false
attrib 40,128,81,18,17,0,类容
speed 0
frequency 0
endNpc
npc
name 金箱3
visible event[191]=0
isMotion false
isPass false
attrib 40,288,81,18,17,0,类容
speed 0
frequency 0
endNpc
npc
name 金箱4
visible event[192]=0
isMotion false
isPass false
attrib 40,416,81,18,17,0,类容
speed 0
frequency 0
endNpc
npc
name 瑞玉
visible event[121]=1
isMotion false
isPass false
attrib 15,368,355,21,35,2,类容
speed 2
frequency 4
endNpc
event
type commonEvent
id -1
condition area,368,480,48,16
keyOK false
comment 陈生家---钱塘东
. setScene 6,560,224,2,true
. complete 0
endEvent
event
type commonEvent
id 47
condition null
keyOK false
comment 找陈生借钱
. if event[46]=1
. ctrl false
. npcAppear 6,9,400,480,0
. sync
. {
. move 6,400,368
. }
. {
. move 0,368,352
. setDir 0,right
. }
. {
. wait 0,5
. npcAppear 1,9,384,480,0
. move 1,384,368
. }
. endSync
. setFace 6,3
. showText 0,0,戚宝山,陈老板，我们进京考赴考，所以想借点盘缠，如果高中，必定加倍奉还。
. setFace 5,3
. showText 0,0,陈生,原来是戚书呆子，你要去赴考？钱不是问题，不过我也有一事相求。
. setFace 6,3
. showText 0,0,戚宝山,陈老板请说。
. setFace 5,3
. showText 0,0,陈生,前不久，因我整日在外风流，妻子离开我去了外地散心，可到现在还没回来，希望你们能够沿路帮我寻找一下。
. setFace 6,3
. showText 0,0,戚宝山,陈老板放心，只要有你妻子的消息，我们一定尽快和你联系。但不知怎么样来识别你的妻子？
. setFace 5,3
. showText 0,0,陈生,这里有块#B鸳鸯玉佩#A，和我妻子的是一对，你们可以拿去对比。
. showText 0,0,陈生,还有这是一张十万两的银票，供你赴京赶考。
. setFace 6,0
. showText 0,0,戚宝山,多谢陈老板，我们这就启程。
. sync
. {
. move 1,368,368
. move 1,368,352
. npcDisappear 1
. }
. {
. move 6,400,352
. move 6,368,352
. npcDisappear 6
. }
. endSync
. changeTaskItem add,5,1
. changeTaskItem add,6,1
. delLog 30
. addLog 31
. taskFlag 0,176,64
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,7
keyOK false
comment 与管家对话
. showText 0,0,管家,我家老爷从不会为钱的事情而烦恼，身为管家我骄傲啊。
. complete 0
endEvent
event
type commonEvent
id -1
condition area,480,304,32,16
keyOK false
comment 管家阻拦
. if event[131]=0
. ctrl false
. setFace 7,0
. showText 0,0,管家,小样儿，别以为注视前方，你就可以趁机溜进去。
. showText 0,0,管家,私人宅邸，休想进入！
. step 0,true,2,true
. ctrl true
. complete 0
. endIf
endEvent
event
type commonEvent
id 189
condition sprite,8
keyOK false
comment 金箱1
. ctrl false
. npcDisappear 8
. changeMoney add,1500
. wait 0,10
. changeItem add,17,3
. ctrl true
. complete 1
endEvent
event
type commonEvent
id 190
condition sprite,9
keyOK false
comment 金箱2
. ctrl false
. npcDisappear 9
. changeMoney add,1500
. wait 0,10
. changeItem add,18,3
. ctrl true
. complete 1
endEvent
event
type commonEvent
id 191
condition sprite,10
keyOK false
comment 金箱3
. ctrl false
. npcDisappear 10
. changeMoney add,1500
. wait 0,10
. changeItem add,20,3
. ctrl true
. complete 1
endEvent
event
type commonEvent
id 192
condition sprite,11
keyOK false
comment 金箱4
. ctrl false
. npcDisappear 11
. changeItem add,25,1
. ctrl true
. complete 1
endEvent
event
type commonEvent
id -1
condition sprite,5
keyOK false
comment 陈生
. if event[121]=0
. showText 0,0,陈生,……瑞玉，你去哪儿了。
. complete 0
. else
. if event[122]=0
. ctrl false
. setFace 5,0
. showText 0,0,陈生,原来是许兄弟大驾光临。
. showText 1,0,许仕林,看到陈老板一家团聚，实在是羡煞旁人。
. setFace 5,3
. showText 0,0,陈生,陈某人能寻回娘子多亏许兄弟帮忙。这里有些小馈赠希望许兄弟不要推辞。
. changeMoney add,10000
. changeTaskItem add,14,1
. showText 1,0,许仕林,多谢陈老板。
. setDir 0,down
. delLog z03
. set event[122],1
. ctrl true
. complete 0
. else
. showText 0,0,陈生,娘子回来以后，这里也有家的感觉。
. complete 0
. endIf
. endIf
endEvent
event
type commonEvent
id 120
condition null,null
keyOK false
comment 询问陈生管家
. if event[66]=1
. ctrl false
. move 0,384,416
. move 0,384,400
. move 0,400,368
. showText 1,0,许仕林,陈老板我们已经找到了你的娘子。
. setFace 5,5
. showText 0,0,陈生,太好了，她现在在什么地方？
. showText 1,0,许仕林,你别不要着急，她现在被困在了京城的怡香院中。
. showText 0,0,陈生,多谢相告，我立刻前往京城去寻找她。
. setDir 0,down
. delLog z01
. addLog z02
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,12
keyOK false
comment 瑞玉对话
. showText 0,0,瑞玉,终于回到了我朝思暮想的家中。
. complete 0
endEvent
