scene
id 8
name 民居
dat map8
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 25,160,276,23,36,2,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 宝箱5
defaultPos 1
visible true
isMotion -1
isPass false
attrib 43,96,94,16,14,2,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 布袋3
defaultPos 0
visible true
isMotion -1
isPass false
attrib 40,80,80,16,16,0,类容
scriptVar null
speed 0
frequency 0
endNpc
event
type commonEvent
id -1
condition area,128,400,48,16
keyOK false
comment 民居1——街道
. setScene 7,128,96,2,true
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,1
keyOK false
comment 对话财主
. random event[101]:人物对话随机数判断,1,10
. if event[101]>5
. showText 0,0,财主,穷鬼，赶快滚出去，不然我报官啦！
. complete 0
. else
. showText 0,0,财主,别总惦记我的#B金子#A，我藏得很安全！
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,3
keyOK false
comment 布袋3
. if event[107]=0
. getFood 4,2
. getFood 1,3
. set event[107]:布袋3,1
. setStatus 3,6
. complete 0
. else
. showText 1,0,丁枫,袋子已经空了！
. complete 0
. endIf
endEvent
event
type commonEvent
id 193
condition sprite,2
keyOK false
comment 宝箱5
. if event[193]=0
. changeMoney add,150
. setStatus 2,6
. complete 1
. endIf
endEvent
event
type initEvent
id -1
condition null
keyOK false
comment 事件描述
. if event[107]=1
. setStatus 3,6
. complete 0
. endIf
. if event[193]=1
. setStatus 2,6
. complete 0
. endIf
endEvent
