scene
id 9
name 民居
dat map9
weather 0
battleBg 0
BGM 1
enemyLevel 1
enemys null
endScene
npc
name 丁枫
defaultPos 0
visible false
isMotion false
isPass false
attrib 0,16,422,24,38,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 居民
defaultPos 0
visible true
isMotion -1
isPass false
attrib 32,176,274,21,34,2,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 麻袋3
defaultPos 0
visible true
isMotion -1
isPass false
attrib 40,288,165,18,21,0,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 布袋11
defaultPos 0
visible true
isMotion -1
isPass false
attrib 40,288,272,16,16,0,类容
scriptVar null
speed 0
frequency 0
endNpc
event
type commonEvent
id -1
condition area,128,400,64,16
keyOK false
comment 事件描述
. setScene 7,560,160,2,true
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,1
keyOK false
comment 对话居民
. showText 0,0,居民,我的兴趣是收集刀剑，如果你有什么名刀，可以转让给我。
. showChoice true,那么你想做些什么呢？,买进,卖出,离开
. if Choice=0
. buyEquip 1,2,3
. complete 0
. endIf
. if choice=1
. changeSailID 1,1
. sellItem 1,1
. complete 0
. endIf
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,2
keyOK false
comment 麻袋3
. if event[108]=0
. getFood 7,1
. set event[108]:麻袋3,1
. setStatus 2,6
. complete 0
. else
. showText 1,0,丁枫,袋子已经空了！
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,3
keyOK false
comment 布袋11
. if event[123]=0
. set event[123]:布袋11,1
. getFood 1,2
. getFood 16,1
. setStatus 3,6
. complete 0
. else
. showText 1,0,丁枫,袋子已经空了！
. complete 0
. endIf
endEvent
event
type initEvent
id -1
condition null
keyOK false
comment 事件描述
. if event[108]=1
. setStatus 2,6
. complete 0
. endIf
. if event[123]=1
. setStatus 3,6
. complete 0
. endIf
endEvent
