scene
id 4
name 青山镇下
dat map4
weather 0
battleBg 0
BGM 1
enemyLevel 1
enemys null
endScene
npc
name 丁枫
defaultPos 0
visible false
isMotion false
isPass false
attrib 0,16,374,24,38,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 居民1
defaultPos 0
visible true
isMotion 0
isPass false
attrib 20,240,163,21,35,0,类容
scriptVar null
speed 1
frequency 4
endNpc
npc
name 乞丐
defaultPos 0
visible true
isMotion false
isPass false
attrib 26,352,101,25,37,2,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 鸡
defaultPos 0
visible true
isMotion 0
isPass true
attrib 44,432,318,16,14,0,类容
scriptVar null
speed 1
frequency 4
endNpc
npc
name 居民
defaultPos 0
visible true
isMotion -1
isPass false
attrib 34,48,118,24,38,2,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 水壶
defaultPos 0
visible true
isMotion -1
isPass false
attrib 42,144,272,16,16,0,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 宝箱3
defaultPos 1
visible true
isMotion -1
isPass false
attrib 43,16,174,16,14,0,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 麻袋
defaultPos 0
visible true
isMotion -1
isPass false
attrib 40,176,133,18,21,0,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 麻袋
defaultPos 0
visible true
isMotion -1
isPass false
attrib 40,176,149,18,21,0,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 麻袋
defaultPos 0
visible true
isMotion -1
isPass false
attrib 40,80,165,18,21,0,类容
scriptVar null
speed 0
frequency 0
endNpc
event
type commonEvent
id -1
condition area,304,16,32,16
keyOK false
comment 青山镇下——青山镇上
. setScene 7,320,320,0,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,112,144,16,16
keyOK false
comment 青山镇下——药店
. setScene 5,112,320,0,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,224,288,16,16
keyOK false
comment 青山镇下——民居
. setScene 6,224,160,3,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,432,224,16,16
keyOK false
comment 青山镇下——百客居
. if event[3]=1&event[4]=0
. setScene 81,240,352,0,true
. complete 0
. else
. setScene 2,240,352,0,true
. complete 0
. endIf
endEvent
event
type initEvent
id -1
condition null
keyOK false
comment 事件描述
. setStatus 7,6
. setStatus 8,6
. if event[42]=1
. changeModle 0,1
. complete 0
. endIf
. if event[105]=1
. setStatus 5,6
. complete 0
. endIf
. if event[191]=1
. setStatus 6,6
. complete 0
. endIf
. if event[217]=1
. setStatus 9,6
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,1
keyOK false
comment 对话居民1
. random event[101]:人物对话随机数判断,1,10
. if event[101]>5
. showText 0,0,李贵,我那不长进的兄弟，总是仗着点三脚猫的功夫到处逞能！真拿他没办法.
. complete 0
. else
. showText 0,0,李贵,听说易安城外住着位武林高人啊！可惜我没这个天分，要不然找他老人家学个一招半式也成！
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,2
keyOK false
comment 食谱换钱
. showText 0,0,乞丐,丐帮弟子都好吃，你要是有什么#B美食#A尽管拿到我这里来，我可是高价收购的.
. showChoice true,null,卖出,买进,离开
. if choice=0
. changeSailID 2,1
. sellItem 2,1
. complete 0
. endIf
. if choice=1
. mcp 8,6,2,3
. complete 0
. endIf
. if choice=2
. showText 0,0,乞丐,怎么的，嫌我叫花子欠你钱不成！
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,3
keyOK false
comment 对话鸡
. showText 0,0,小鸡,咯‥‥咯‥‥咯‥‥
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,4
keyOK false
comment 对话居民
. random event[101]:人物对话随机数判断,1,10
. if event[101]>5
. showText 0,0,居民,#B雪儿#A那孩子真是太顽皮了！
. complete 0
. else
. showText 0,0,居民,我家相公可是这镇上的#B差人#A，有什么#B不懂的#A就向他打听吧！
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,5
keyOK false
comment 水壶1
. if event[105]=0
. getFood 23,1
. set event[105]:水壶1,1
. setStatus 5,6
. complete 0
. else
. showText 1,0,丁枫,水壶已经空了！
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition area,384,352,96,16
keyOK false
comment 青山镇下——大地图
. if event[22]=1
. set event[212]:从下出去,1
. setScene 74,80,160,2,true
. complete 0
. else
. ctrl false
. move 0,432,336
. setDir 0,up
. showText 1,0,丁枫,还没到从这里出去的时候！
. ctrl true
. complete 0
. endIf
endEvent
event
type commonEvent
id 164
condition area,432,240,16,16
keyOK false
comment 任务提示3
. if event[4]=0
. taskFlag null

. complete 1
. endIf
endEvent
event
type commonEvent
id 170
condition area,112,160,16,16
keyOK false
comment 任务提示9
. if event[16]=0
. taskFlag null
. complete 1
. endIf
endEvent
event
type commonEvent
id 191
condition sprite,6
keyOK false
comment 宝箱3
. if event[191]=0
. changeEquip add,28,1
. setStatus 6,6
. complete 1
. endIf
endEvent
event
type commonEvent
id 219
condition area,240,240,128,16
keyOK false
comment 杂货店提示
. if event[219]=0
. ctrl false
. setDir 0,left
. setCamera 112,160
. showText 1,0,丁枫,瞧见那房子边上的麻袋了吧，那是#B杂货铺#A的货物，旁边就是杂货铺，掌柜会#B出售#A一些#B低级食材#A，其他城镇中也有类似的杂货铺.
. setCamera 0
. aside 食材是合成唯一补给品菜肴的材料，且一些稀有食材只能通过野外的发光袋子获得.
. aside 如果你忘了将要做什么的时候，不妨打开任务提示看看.
. taskFlag 4,320,32
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,9
keyOK false
comment 麻袋
. if event[217]=0
. getFood 1,2
. set event[217],1
. setStatus 9,6
. complete 0
. else
. showText 1,0,丁枫,袋子已经空了！
. complete 0
. endIf
endEvent
