|
@@ -103,16 +103,16 @@ export class Props3Action extends Component {
|
|
clear_pins_coins(){
|
|
clear_pins_coins(){
|
|
AudioMgr.ins.playSound(Clips.btn_1);
|
|
AudioMgr.ins.playSound(Clips.btn_1);
|
|
if (Global.cur_coins < Global.get_need_coins()) {
|
|
if (Global.cur_coins < Global.get_need_coins()) {
|
|
- Global.tips_action.show("钻石数量不够");
|
|
|
|
|
|
+ Global.tips_action.show("Diamond Quantity Insufficient");//钻石数量不够
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
let pin_arr = Global.layer_empty_action.get_pin_arr();
|
|
let pin_arr = Global.layer_empty_action.get_pin_arr();
|
|
if (pin_arr.length == 0) {
|
|
if (pin_arr.length == 0) {
|
|
- Global.tips_action.show("没有可清理的钉子");
|
|
|
|
|
|
+ Global.tips_action.show("No Screws to Clear");//没有可清理的钉子
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if (!DjManger.use_dj(DJ.Btn_3,DJ_TYPE.Type_coin)) {
|
|
if (!DjManger.use_dj(DJ.Btn_3,DJ_TYPE.Type_coin)) {
|
|
- Global.tips_action.show("当前关卡次数已经用完");
|
|
|
|
|
|
+ Global.tips_action.show("Current Level: Props Exhausted");//当前关卡次数已经用完
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
//消耗
|
|
//消耗
|
|
@@ -128,11 +128,11 @@ export class Props3Action extends Component {
|
|
AudioMgr.ins.playSound(Clips.btn_1);
|
|
AudioMgr.ins.playSound(Clips.btn_1);
|
|
let pin_arr = Global.layer_empty_action.get_pin_arr();
|
|
let pin_arr = Global.layer_empty_action.get_pin_arr();
|
|
if (pin_arr.length == 0) {
|
|
if (pin_arr.length == 0) {
|
|
- Global.tips_action.show("没有可清理的钉子");
|
|
|
|
|
|
+ Global.tips_action.show("No Screws to Clear");//没有可清理的钉子
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if (!DjManger.use_dj(DJ.Btn_3,DJ_TYPE.Type_video)) {
|
|
if (!DjManger.use_dj(DJ.Btn_3,DJ_TYPE.Type_video)) {
|
|
- Global.tips_action.show("当前关卡次数已经用完");
|
|
|
|
|
|
+ Global.tips_action.show("Current Level: Props Exhausted");//当前关卡次数已经用完
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
console.log('zh:clear_pins_videos333 111')
|
|
console.log('zh:clear_pins_videos333 111')
|
|
@@ -154,7 +154,7 @@ export class Props3Action extends Component {
|
|
//解锁
|
|
//解锁
|
|
Global.bucket_action.put_pins(pin_arr);
|
|
Global.bucket_action.put_pins(pin_arr);
|
|
} else {
|
|
} else {
|
|
- Global.tips_action.show("获取奖励失败");
|
|
|
|
|
|
+ Global.tips_action.show("Gain reward failure");//获取奖励失败
|
|
//退款
|
|
//退款
|
|
DjManger.return_used_dj(DJ.Btn_3,DJ_TYPE.Type_video);
|
|
DjManger.return_used_dj(DJ.Btn_3,DJ_TYPE.Type_video);
|
|
}
|
|
}
|