Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Twisuki authored Aug 23, 2024
1 parent 734b066 commit 71dc576
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,10 @@ function getTypeIndex(obj) {
case "block":return 3;
case "tunnel":return 4;
case "water":return 5;
case "quarry":return 6;
case "bedrock":return 7;
case "others":return 8;
case "sand": return 6;
case "quarry":return 7;
case "bedrock":return 8;
case "others":return 9;
}
}

Expand Down Expand Up @@ -188,15 +189,16 @@ function setIndexByType() {
}
function getTypeName(givenType) {
switch (givenType) {
case "3-way":return "三向轰炸机";
case "eater":return "世吞/地吞";
case "gap":return "挖沟机";
case "block":return "铺方块机";
case "tunnel":return "盾构机";
case "water":return "排水机";
case "quarry":return "采矿机";
case "bedrock":return "基岩机";
case "others":return "其他";
case "3-way": return "三向轰炸机";
case "eater": return "世吞/地吞";
case "gap": return "挖沟机";
case "block": return "铺方块机";
case "tunnel": return "盾构机";
case "water": return "排水机";
case "quarry": return "采矿机";
case "sand": return "刷沙机";
case "bedrock": return "基岩机";
case "others": return "其他";
}
}

Expand Down

0 comments on commit 71dc576

Please sign in to comment.