|
@@ -170,7 +170,26 @@ const actionsMap: Record<string, string> = {
|
|
|
peone_forward: "匍匐前行",
|
|
peone_forward: "匍匐前行",
|
|
|
wall_crash: "松手摔倒",
|
|
wall_crash: "松手摔倒",
|
|
|
head_hit: "头被击中",
|
|
head_hit: "头被击中",
|
|
|
|
|
+ Fireman_Bash: "砸门",
|
|
|
|
|
+ Fireman_Climb: "翻越",
|
|
|
|
|
+ Fireman_Crouching: "蹲下",
|
|
|
|
|
+ Women_Bash: "砸门",
|
|
|
|
|
+ Women_Climb: "翻越",
|
|
|
|
|
+ Women_Crouching: "蹲下",
|
|
|
|
|
+ Women_Kicking: "踢门",
|
|
|
|
|
+ "Women_Opening-Door-Inwards": "开门",
|
|
|
|
|
+ "Fireman_Death-Form-Back-Headshot": "向前倒地",
|
|
|
|
|
+ "Fireman_Illeagal-Knee-Left": "左膝盖",
|
|
|
|
|
+ "Fireman_Illeagal-Knee-Right": "右膝盖",
|
|
|
|
|
+ "Fireman_Opening-Door-Inwards": "开门",
|
|
|
|
|
+ Fireman_Kicking: "踢门",
|
|
|
|
|
+ "Fireman_Left-Turn-Wbirefcase": "左转弯",
|
|
|
};
|
|
};
|
|
|
|
|
+Object.keys(actionsMap).forEach((action) => {
|
|
|
|
|
+ const val = actionsMap[action];
|
|
|
|
|
+ let key = action.toLowerCase().replaceAll(/( |-)/gi, "_");
|
|
|
|
|
+ actionsMap[key] = val;
|
|
|
|
|
+});
|
|
|
const keys = Object.keys(actionsMap);
|
|
const keys = Object.keys(actionsMap);
|
|
|
const amActions = computed(() => {
|
|
const amActions = computed(() => {
|
|
|
const actions = amMap[getAMKey(props.am)]?.am?.getSupportActions() || [];
|
|
const actions = amMap[getAMKey(props.am)]?.am?.getSupportActions() || [];
|