You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
189 lines
12 KiB
189 lines
12 KiB
4 weeks ago
|
|
||
|
//找茬类型(老版/新版)
|
||
|
enum ZhaoChaType {
|
||
|
Type1,//0
|
||
|
Type2,//5
|
||
|
Type3,//10
|
||
|
Type4,//2
|
||
|
}
|
||
|
//隐藏物品信息
|
||
|
let HideGoodsInfo = {
|
||
|
1701: {
|
||
|
AddTime:-5,
|
||
|
autoFinish:true,
|
||
|
bgMusic:"sound/bg",
|
||
|
ChaNode: [{
|
||
|
fengtiao: { desc: "封条", isFindOut: false, isCanTouch: true, money: 500, sound: "电梯好好的怎么被封起来了", text: "电梯好好的怎么被封起来了",needHid: true },
|
||
|
baozhi: { desc: "报纸", isFindOut: false, isCanTouch: false, money: 500, sound: "啊,这家医院也太不靠谱了吧", text: "啊,这家医院也太不靠谱了吧",needHid: true },
|
||
|
}, {
|
||
|
xie: { desc: "老婆的鞋", isFindOut: false, isCanTouch: false, money: 500, sound: "太粗心了,忘了把老婆的鞋子拿回病房", text: "太粗心了,忘了把老婆的鞋子拿回病房",needHid: false },
|
||
|
chufentongzhi: { desc: "处分通知", isFindOut: false, isCanTouch: false, money: 500, sound: "这不是我老婆的主刀医生吗", text: "这不是我老婆的主刀医生吗",needHid: true },
|
||
|
bolanggu: { desc: "拨浪鼓", isFindOut: false, isCanTouch: true, money: 500, sound: "这好像是我给小宝买的见面礼",text: "这好像是我给小宝买的见面礼", needHid: false },
|
||
|
jinzhishiyong: { desc: "禁止使用", isFindOut: false, isCanTouch: true, money: 500, sound: "是谁在恶作剧,想起来了,我要去5楼",text: "是谁在恶作剧,想起来了,我要去5楼", needHid: true },
|
||
|
heixinyiyuan: { desc: "黑心医院", isFindOut: false, isCanTouch: true, money: 500, sound: "这字迹怎么这么熟悉啊",text: "这字迹怎么这么熟悉啊", needHid: false },
|
||
|
}, {
|
||
|
chuchanqi: { desc: "除颤仪", isFindOut: false, isCanTouch: true, money: 500, sound: "这除颤仪是给谁准备的",text: "这除颤仪是给谁准备的", needHid: false },
|
||
|
qianbao: { desc: "钱包", isFindOut: false, isCanTouch: false, money: 500, sound: "老婆,我会一直爱你的",text: "老婆,我会一直爱你的", needHid: true },
|
||
|
bingli: { desc: "病历卡", isFindOut: false, isCanTouch: true, money: 500, sound: "今天是哪一天着,怎么记忆越来越差了", text: "今天是哪一天着,怎么记忆越来越差了",needHid: false },
|
||
|
pinganfu: { desc: "平安福", isFindOut: false, isCanTouch: false, money: 500, sound: "老婆,送你的平安福要记得戴身上", text: "老婆,送你的平安福要记得戴身上",needHid: false },
|
||
|
ganhua: { desc: "枯萎的花", isFindOut: false, isCanTouch: true, money: 500, sound: "昨天刚买的花怎么就干了", text: "昨天刚买的花怎么就干了",needHid: false },
|
||
|
huailangan: { desc: "坏的床栏", isFindOut: false, isCanTouch: true, money: 500, sound: "我得赶紧叫人来修一下,摔到老婆就麻烦了", text: "我得赶紧叫人来修一下,摔到老婆就麻烦了",needHid: false },
|
||
|
maoyi: { desc: "毛衣", isFindOut: false, isCanTouch: false, money: 500, sound: "生病了你就好好休息吧", text: "生病了你就好好休息吧",needHid: false },
|
||
|
naiping: { desc: "奶瓶", isFindOut: false, isCanTouch: false, money: 500, sound: "这是给小宝准备的,他肯定会喜欢",text: "这是给小宝准备的,他肯定会喜欢", needHid: false },
|
||
|
bingweitongzhi: { desc: "病危通知", isFindOut: false, isCanTouch: false, money: 500, sound: "昨天还好好的,怎么会下病危呢",text: "昨天还好好的,怎么会下病危呢", needHid: true },
|
||
|
yishu: { desc: "遗书", isFindOut: false, isCanTouch: false, money: 500, sound: "这都是你开玩笑的,对不对",text: "这都是你开玩笑的,对不对", needHid: true },
|
||
|
}],
|
||
|
FeiChaDian: [{
|
||
|
baozhiXiao: { isCanTouch: true, isTouchOff: false },
|
||
|
},
|
||
|
{
|
||
|
chufentongzhiFei: { isCanTouch: true, isTouchOff: false },
|
||
|
},
|
||
|
{
|
||
|
bingweitongzhiFei: { isCanTouch: true, isTouchOff: false },
|
||
|
yishuFei: { isCanTouch: true, isTouchOff: false },
|
||
|
zhengtou: { isCanTouch: true, isTouchOff: false },
|
||
|
guizi: { isCanTouch: true, isTouchOff: false },
|
||
|
qianbaoFei: { isCanTouch: true, isTouchOff: false },
|
||
|
chuangyan: { isCanTouch: true, isTouchOff: false },
|
||
|
chuangdi: { isCanTouch: false, isTouchOff: false },
|
||
|
}],
|
||
|
PrefabInfo: [{
|
||
|
prefabUrl: "ZhaoCha_map1701_1",
|
||
|
title: "找到尘封的记忆",
|
||
|
kaichang: "老婆,我又来看你了",
|
||
|
kaichangSound: "老婆,我又来看你了",
|
||
|
num: 2,
|
||
|
finishDelay: 1,
|
||
|
zhaoChaType: ZhaoChaType.Type4,
|
||
|
soundurl: "sound/",
|
||
|
isShowMark: true,
|
||
|
delay: 1.5
|
||
|
},
|
||
|
{
|
||
|
prefabUrl: "ZhaoCha_map1701_2",
|
||
|
title: "找到尘封的记忆",
|
||
|
kaichang: "我怎么会忘记她住哪一层呢,头好痛,啊",
|
||
|
kaichangSound: "我怎么会忘记她住哪一层呢,头好痛,啊",
|
||
|
finishSound: "",
|
||
|
finishTaici: "",
|
||
|
finishDelay: 5.5,
|
||
|
num: 5,
|
||
|
zhaoChaType: ZhaoChaType.Type2,
|
||
|
soundurl: "sound/",
|
||
|
isShowMark: true,
|
||
|
delay: 1.5
|
||
|
},
|
||
|
{
|
||
|
prefabUrl: "ZhaoCha_map1701_3",
|
||
|
title: "找到尘封的记忆",
|
||
|
kaichang: "",
|
||
|
kaichangSound: "ding",
|
||
|
finishSound: "我想起来了,我会好好活着的",
|
||
|
finishTaici: "我想起来了,我会好好活着的",
|
||
|
num: 10,
|
||
|
finishDelay: 3,
|
||
|
zhaoChaType: ZhaoChaType.Type3,
|
||
|
soundurl: "sound/",
|
||
|
isShowMark: true,
|
||
|
delay: 3
|
||
|
}]
|
||
|
},
|
||
|
1702: {
|
||
|
AddTime:-5,
|
||
|
autoFinish:false,
|
||
|
bgMusic:"",
|
||
|
ChaNode: [ {
|
||
|
cd1: { desc: "试卷", isFindOut: false, isCanTouch: false, money: 500, sound: "我又没考好",text: "我又没考好", needHid: true, index:3 },
|
||
|
cd2: { desc: "游戏机", isFindOut: false, isCanTouch: false, money: 500, sound: "是谁放到这个抽屉的",text: "是谁放到这个抽屉的", needHid: false, index:1},
|
||
|
cd3: { desc: "奖状", isFindOut: false, isCanTouch: true, money: 500, sound: "这是发给我的", text: "这是发给我的",needHid: false, index:2},
|
||
|
cd4: { desc: "衣服", isFindOut: false, isCanTouch: false, money: 500, sound: "妈妈,你给我买这么多衣服,我都穿不过来", text: "妈妈,你给我买这么多衣服,我都穿不过来",needHid: false, index:3 },
|
||
|
cd5: { desc: "玩偶", isFindOut: false, isCanTouch: true, money: 500, sound: "我想要一个新的,可以吗?", text: "我想要一个新的,可以吗?",needHid: false , index:2},
|
||
|
cd6: { desc: "篮球", isFindOut: false, isCanTouch: true, money: 500, sound: "我都没玩过就坏了", text: "我都没玩过就坏了",needHid: false , index:2},
|
||
|
cd7: { desc: "脚印", isFindOut: false, isCanTouch: false, money: 500, sound: "对不起,我又忘了穿鞋", text: "对不起,我又忘了穿鞋。",needHid: false , index:1},
|
||
|
cd8: { desc: "作业本", isFindOut: false, isCanTouch: true, money: 500, sound: "妈妈,我写作业可快了",text: "妈妈,我写作业可快了", needHid: false , index:1},
|
||
|
cd9: { desc: "台灯", isFindOut: false, isCanTouch: false, money: 500, sound: "台灯坏了,可以帮我换一个吗",text: "台灯坏了,可以帮我换一个吗", needHid: false , index:2},
|
||
|
cd10: { desc: "球印", isFindOut: false, isCanTouch: false, money: 500, sound: "我会擦干净的",text: "我会擦干净的", needHid: false , index:1},
|
||
|
}],
|
||
|
FeiChaDian: [
|
||
|
{
|
||
|
chuangtougui: { isCanTouch: true, isTouchOff: false },
|
||
|
guiziguan: { isCanTouch: true, isTouchOff: false },
|
||
|
chuangxiayouren: { isCanTouch: true, isTouchOff: false },
|
||
|
chuangdi: { isCanTouch: true, isTouchOff: false },
|
||
|
kaiguan: { isCanTouch: true, isTouchOff: false },
|
||
|
shijuan: { isCanTouch: false, isTouchOff: false },
|
||
|
submit: { isCanTouch: false, isTouchOff: false },
|
||
|
btn1: { isCanTouch: false, isTouchOff: false },
|
||
|
btn2: { isCanTouch: false, isTouchOff: false },
|
||
|
btn3: { isCanTouch: false, isTouchOff: false },
|
||
|
}],
|
||
|
PrefabInfo: [{
|
||
|
prefabUrl: "ZhaoCha_map1702_1",
|
||
|
title: "谁是妈妈的小孩",
|
||
|
kaichang: "宝贝儿,晚安!",
|
||
|
kaichangSound: "宝贝儿,晚安!",
|
||
|
num: 10,
|
||
|
finishDelay: 1,
|
||
|
zhaoChaType: ZhaoChaType.Type3,
|
||
|
soundurl: "sound/",
|
||
|
isShowMark: true,
|
||
|
delay: 5
|
||
|
}]
|
||
|
},
|
||
|
1703: {
|
||
|
AddTime:-5,
|
||
|
autoFinish:true,
|
||
|
bgMusic:"",
|
||
|
ChaNode: [ {
|
||
|
xunrenqishi: { desc: "寻人启事", isFindOut: false, isCanTouch: false, money: 500, sound: "叔叔,救我!",text: "叔叔,救我!", needHid: true},
|
||
|
nanlian: { desc: "凶恶大汉", isFindOut: false, isCanTouch: false, money: 500, sound: "我这是怕吓到人家,才浅浅装扮了一下",text: "我这是怕吓到人家,才浅浅装扮了一下", needHid: false},
|
||
|
nvlian: { desc: "梅姨?", isFindOut: false, isCanTouch: false, money: 500, sound: "你相信我,我真是好人", text: "你相信我,我真是好人",needHid: false},
|
||
|
shouji: { desc: "手机", isFindOut: false, isCanTouch: false, money: 500, sound: "这是刚刚路边垃圾桶捡的", text: "这是刚刚路边垃圾桶捡的",needHid: true},
|
||
|
bangbangtang: { desc: "棒棒糖", isFindOut: false, isCanTouch: true, money: 500, sound: "这个口味的,小朋友喜欢", text: "这个口味的,小朋友喜欢",needHid: true},
|
||
|
menghanyao: { desc: "一包倒", isFindOut: false, isCanTouch: true, money: 500, sound: "这个是方便面的调味料!", text: "这个是方便面的调味料!",needHid: true},
|
||
|
yifu: { desc: "衣服", isFindOut: false, isCanTouch: false, money: 500, sound: "这不是寻亲么,得多准备两身衣裳", text: "这不是寻亲么,得多准备两身衣裳",needHid: true},
|
||
|
shouwan: { desc: "抓紧的手腕", isFindOut: false, isCanTouch: false, money: 500, sound: "别听小孩瞎说,我这是怕她乱跑",text: "别听小孩瞎说,我这是怕她乱跑", needHid: false},
|
||
|
mianbaoche: { desc: "面包车", isFindOut: false, isCanTouch: true, money: 500, sound: "不知道这是谁停的,这不是我的",text: "不知道这是谁停的,这不是我的", needHid: false},
|
||
|
madai: { desc: "麻袋", isFindOut: false, isCanTouch: true, money: 500, sound: "这蛇皮袋,我拿来装土特产的",text: "这蛇皮袋,我拿来装土特产的", needHid: false},
|
||
|
}],
|
||
|
FeiChaDian: [{
|
||
|
xunrenqishiFei: { isCanTouch: true, isTouchOff: false },
|
||
|
laohu: { isCanTouch: true, isTouchOff: false },
|
||
|
qianbao: { isCanTouch: true, isTouchOff: false },
|
||
|
dage: { isCanTouch: true, isTouchOff: false },
|
||
|
dama: { isCanTouch: true, isTouchOff: false },
|
||
|
dahan: { isCanTouch: true, isTouchOff: false },
|
||
|
xiaonvhai: { isCanTouch: true, isTouchOff: false },
|
||
|
}],
|
||
|
PrefabInfo: [{
|
||
|
prefabUrl: "ZhaoCha_map1703_1",
|
||
|
title: "揭穿骗子的真面目",
|
||
|
kaichang: "我们是过来寻亲的被偷走了钱包和手机,你可以帮帮我们吗",
|
||
|
kaichangSound: "我们是过来寻亲的被偷走了钱包和手机,你可以帮帮我们吗",
|
||
|
num: 10,
|
||
|
finishDelay: 1,
|
||
|
zhaoChaType: ZhaoChaType.Type3,
|
||
|
soundurl: "sound/",
|
||
|
isShowMark: true,
|
||
|
delay: 5
|
||
|
}]
|
||
|
},
|
||
|
}
|
||
|
|
||
|
import Common5 from "../../../Platform/th/Common5"
|
||
|
export default class ZhaoChaConfig {
|
||
|
private static _instance: ZhaoChaConfig = null
|
||
|
public static getInstance() {
|
||
|
if (!ZhaoChaConfig._instance) {
|
||
|
ZhaoChaConfig._instance = new ZhaoChaConfig()
|
||
|
}
|
||
|
return ZhaoChaConfig._instance
|
||
|
}
|
||
|
public getHideGoodsInfo(gameId) {
|
||
|
return Common5.deepClone(HideGoodsInfo[gameId])
|
||
|
}
|
||
|
public getZhaoChaType() {
|
||
|
return ZhaoChaType
|
||
|
}
|
||
|
}
|