更新物品名、任务
This commit is contained in:
parent
bcca17112a
commit
32f151fa49
@ -1,8 +1,8 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @lastmodified 202112031724
|
// @lastmodified 202112052149
|
||||||
// @name Torn翻译
|
// @name Torn翻译
|
||||||
// @namespace WOOH
|
// @namespace WOOH
|
||||||
// @version 0.1.1203a
|
// @version 0.1.1205a
|
||||||
// @description Torn UI翻译
|
// @description Torn UI翻译
|
||||||
// @author Woohoo-[2687093] sabrina_devil[2696209]
|
// @author Woohoo-[2687093] sabrina_devil[2696209]
|
||||||
// @match https://www.torn.com/*
|
// @match https://www.torn.com/*
|
||||||
@ -1383,6 +1383,9 @@
|
|||||||
'Circ:': '流通:',
|
'Circ:': '流通:',
|
||||||
'Quality:': '品质:',
|
'Quality:': '品质:',
|
||||||
'Stealth:': '隐匿:',
|
'Stealth:': '隐匿:',
|
||||||
|
'Caliber:': '口径:',
|
||||||
|
'Ammo:': '弹药:',
|
||||||
|
'Bonus:': '额外:',
|
||||||
};
|
};
|
||||||
const itemNameDict = {
|
const itemNameDict = {
|
||||||
"Ammunition Pack": '弹药包',
|
"Ammunition Pack": '弹药包',
|
||||||
@ -1403,41 +1406,41 @@
|
|||||||
"Neumune Tablet": '雄烯二醇抗辐射药品',
|
"Neumune Tablet": '雄烯二醇抗辐射药品',
|
||||||
"Antidote": '抗生素',
|
"Antidote": '抗生素',
|
||||||
// 主武器
|
// 主武器
|
||||||
"Sawed-Off Shotgun": '短喷',
|
"Sawed-Off Shotgun": '截短型霰弹枪',
|
||||||
"Thompson": '汤普森冲锋枪',
|
"Thompson": '汤普森冲锋枪',
|
||||||
"TMP": '',
|
"TMP": '施泰尔TMP冲锋枪',
|
||||||
"Benelli M1 Tactical": '战术连喷',
|
"Benelli M1 Tactical": '贝内利M1战术霰弹枪',
|
||||||
"MP5k": 'MP5k',
|
"MP5k": 'MP5k',
|
||||||
"MP5 Navy": 'MP5海军型',
|
"MP5 Navy": 'MP5海军型',
|
||||||
"Skorpion": '',
|
"Skorpion": '蝎式冲锋枪',
|
||||||
"MP 40": 'MP40',
|
"MP 40": 'MP40',
|
||||||
"SKS Carbine": 'SKS卡宾枪',
|
"SKS Carbine": 'SKS卡宾枪',
|
||||||
"Vektor CR-21": '维克托CR-21',
|
"Vektor CR-21": '维克托CR-21',
|
||||||
"P90": 'P90',
|
"P90": 'P90',
|
||||||
"Ithaca 37": '',
|
"Ithaca 37": '伊萨卡37泵动式霰弹枪',
|
||||||
"XM8 Rifle": 'XM8突击步枪',
|
"XM8 Rifle": 'XM8突击步枪',
|
||||||
"AK74U": 'AK74U',
|
"AK74U": 'AK74U短管突击步枪',
|
||||||
"AK-47": 'AK-47',
|
"AK-47": 'AK-47',
|
||||||
"Bushmaster Carbon 15": '',
|
"Bushmaster Carbon 15": '碳15短管步枪',
|
||||||
"M4A1 Colt Carbine": '',
|
"M4A1 Colt Carbine": 'M4A1卡宾枪',
|
||||||
"Benelli M4 Super": '',
|
"Benelli M4 Super": '贝内利M4 Super半自动霰弹枪',
|
||||||
"Heckler & Koch SL8": '',
|
"Heckler & Koch SL8": 'HK SL8半自动步枪',
|
||||||
"M16 A2 Rifle": '',
|
"M16 A2 Rifle": 'M16A2步枪',
|
||||||
"Mag 7": '',
|
"Mag 7": 'Mag 7',
|
||||||
"Steyr AUG": '',
|
"Steyr AUG": '施泰尔AUG突击步枪',
|
||||||
"SIG 550": '',
|
"SIG 550": 'SIG 550突击步枪',
|
||||||
"Enfield SA-80": '',
|
"Enfield SA-80": '恩菲尔德SA80',
|
||||||
"Tavor TAR-21": '',
|
"Tavor TAR-21": '21世纪他泊山突击步枪TAR-21',
|
||||||
"9mm Uzi": '',
|
"9mm Uzi": '9mm Uzi',
|
||||||
"M249 SAW": '',
|
"M249 SAW": 'M249班用自动武器',
|
||||||
"Minigun": '加特林式旋管机枪',
|
"Minigun": '加特林式旋管机枪',
|
||||||
"Jackhammer": '',
|
"Jackhammer": '转轮式自动霰弹枪',
|
||||||
"SIG 552": '',
|
"SIG 552": 'SIG 552卡宾枪',
|
||||||
"ArmaLite M-15A4": '',
|
"ArmaLite M-15A4": '阿玛莱特M15A4',
|
||||||
"Nock Gun": '',
|
"Nock Gun": '诺克枪',
|
||||||
"Snow Cannon": '',
|
"Snow Cannon": '雪球加农炮',
|
||||||
"Rheinmetall MG 3": '',
|
"Rheinmetall MG 3": 'MG3通用机枪',
|
||||||
"Gold Plated AK-47": '',
|
"Gold Plated AK-47": '黄金AK47',
|
||||||
// 副武器
|
// 副武器
|
||||||
"Lorcin 380": '',
|
"Lorcin 380": '',
|
||||||
"Flare Gun": '',
|
"Flare Gun": '',
|
||||||
@ -1480,12 +1483,12 @@
|
|||||||
"Leather Bullwhip": '皮牛鞭',
|
"Leather Bullwhip": '皮牛鞭',
|
||||||
"Kitchen Knife": '厨房刀',
|
"Kitchen Knife": '厨房刀',
|
||||||
"Frying Pan": '平底锅',
|
"Frying Pan": '平底锅',
|
||||||
"Sai": '',
|
"Sai": '铁尺',
|
||||||
"Plastic Sword": '塑料剑',
|
"Plastic Sword": '塑料剑',
|
||||||
"Butterfly Knife": '蝴蝶刀',
|
"Butterfly Knife": '蝴蝶刀',
|
||||||
"Dagger": '匕首',
|
"Dagger": '匕首',
|
||||||
"Swiss Army Knife": '瑞士军刀',
|
"Swiss Army Knife": '瑞士军刀',
|
||||||
"Chain Whip": '',
|
"Chain Whip": '链条鞭',
|
||||||
"Axe": '斧头',
|
"Axe": '斧头',
|
||||||
"Wooden Nunchakus": '木制双截棍',
|
"Wooden Nunchakus": '木制双截棍',
|
||||||
"Taser": '电击枪',
|
"Taser": '电击枪',
|
||||||
@ -1493,27 +1496,27 @@
|
|||||||
"Scimitar": '弯刀',
|
"Scimitar": '弯刀',
|
||||||
"Chainsaw": '电锯',
|
"Chainsaw": '电锯',
|
||||||
"Cricket Bat": '板球棒',
|
"Cricket Bat": '板球棒',
|
||||||
"Ice Pick": '',
|
"Ice Pick": '冰镐',
|
||||||
"Katana": '',
|
"Katana": '',
|
||||||
"Spear": '',
|
"Spear": '矛',
|
||||||
"Kama": '',
|
"Kama": '镰刀',
|
||||||
"Twin Tiger Hooks": '',
|
"Twin Tiger Hooks": '虎头双钩',
|
||||||
"Samurai Sword": '',
|
"Samurai Sword": '',
|
||||||
"Claymore Sword": '',
|
"Claymore Sword": '苏格兰阔刃大斩剑',
|
||||||
"Rusty Sword": '锈剑',
|
"Rusty Sword": '锈剑',
|
||||||
"Macana": '美洲黑曜石匕首',
|
"Macana": '美洲黑曜石匕首',
|
||||||
"Kodachi": '',
|
"Kodachi": '太刀',
|
||||||
"Wushu Double Axes": '',
|
"Wushu Double Axes": '武术双斧',
|
||||||
"Guandao": '',
|
"Guandao": '关刀',
|
||||||
"Metal Nunchakus": '',
|
"Metal Nunchakus": '金属双截棍',
|
||||||
"Pillow": '',
|
"Pillow": '枕头',
|
||||||
"Diamond Icicle": '',
|
"Diamond Icicle": '钻石冰锥',
|
||||||
"Diamond Bladed Knife": '钻石刀',
|
"Diamond Bladed Knife": '钻石刀',
|
||||||
"Pair of Ice Skates": '',
|
"Pair of Ice Skates": '成对滑冰鞋',
|
||||||
"Fine Chisel": '',
|
"Fine Chisel": '细凿',
|
||||||
"Flail": '',
|
"Flail": '连枷',
|
||||||
"Ivory Walking Cane": '',
|
"Ivory Walking Cane": '象牙手杖',
|
||||||
"Pair of High Heels": '',
|
"Pair of High Heels": '一双高跟鞋',
|
||||||
"Madball": '',
|
"Madball": '',
|
||||||
"Yasukuni Sword": '',
|
"Yasukuni Sword": '',
|
||||||
"Naval Cutlass": '',
|
"Naval Cutlass": '',
|
||||||
@ -1560,12 +1563,12 @@
|
|||||||
"Welding Helmet": '电焊头盔',
|
"Welding Helmet": '电焊头盔',
|
||||||
"Hazmat Suit": '危险品防护服',
|
"Hazmat Suit": '危险品防护服',
|
||||||
// 投掷武器
|
// 投掷武器
|
||||||
"Brick": '',
|
"Brick": '砖头',
|
||||||
"Ninja Star": '',
|
"Ninja Star": '忍者之星',
|
||||||
"Fireworks": '',
|
"Fireworks": '烟花',
|
||||||
"Claymore Mine": '',
|
"Claymore Mine": '',
|
||||||
"Stick Grenade": '',
|
"Stick Grenade": '木柄手榴弹',
|
||||||
"Snowball": '',
|
"Snowball": '雪球',
|
||||||
"HEG": '高爆手雷',
|
"HEG": '高爆手雷',
|
||||||
"Grenade": '手雷',
|
"Grenade": '手雷',
|
||||||
"Flash Grenade": '闪光弹',
|
"Flash Grenade": '闪光弹',
|
||||||
@ -1573,16 +1576,16 @@
|
|||||||
"Tear Gas": '催泪弹',
|
"Tear Gas": '催泪弹',
|
||||||
"Trout": '咸鱼',
|
"Trout": '咸鱼',
|
||||||
"Throwing Knife": '飞刀',
|
"Throwing Knife": '飞刀',
|
||||||
"Molotov Cocktail": '',
|
"Molotov Cocktail": '莫洛托夫鸡尾酒',
|
||||||
"Smoke Grenade": '',
|
"Smoke Grenade": '烟雾弹',
|
||||||
"Melatonin": '',
|
"Melatonin": '褪黑素',
|
||||||
"Tyrosine": '',
|
"Tyrosine": '酪氨酸',
|
||||||
"Epinephrine": '',
|
"Epinephrine": '肾上腺素',
|
||||||
"Sand": '',
|
"Sand": '沙',
|
||||||
"Serotonin": '',
|
"Serotonin": '血清素',
|
||||||
"Nail Bomb": '',
|
"Nail Bomb": '钉子炸弹',
|
||||||
"Concussion Grenade": '',
|
"Concussion Grenade": '震撼弹',
|
||||||
"Book": '',
|
"Book": '书',
|
||||||
// 能饮
|
// 能饮
|
||||||
"Can of Goose Juice": '',
|
"Can of Goose Juice": '',
|
||||||
"Can of Damp Valley": '',
|
"Can of Damp Valley": '',
|
||||||
@ -1590,7 +1593,7 @@
|
|||||||
"Can of Santa Shooters": '',
|
"Can of Santa Shooters": '',
|
||||||
"Can of Munster": '',
|
"Can of Munster": '',
|
||||||
"Can of Rockstar Rudolph": '',
|
"Can of Rockstar Rudolph": '',
|
||||||
"Can of Red Cow": '',
|
"Can of Red Cow": '红牛',
|
||||||
"Can of X-MASS": '',
|
"Can of X-MASS": '',
|
||||||
"Can of Taurine Elite": '',
|
"Can of Taurine Elite": '',
|
||||||
// 糖
|
// 糖
|
||||||
@ -1636,41 +1639,41 @@
|
|||||||
"Opium": '罂粟',
|
"Opium": '罂粟',
|
||||||
"Vicodin": '维柯丁',
|
"Vicodin": '维柯丁',
|
||||||
// 增幅器
|
// 增幅器
|
||||||
"Heavy Duty Padlock": '',
|
"Heavy Duty Padlock": '重型挂锁',
|
||||||
"High-Speed Drive": '',
|
"High-Speed Drive": '高速硬盘',
|
||||||
"Tracking Device": '',
|
"Tracking Device": '追踪设备',
|
||||||
"Tumble Dryer": '',
|
"Tumble Dryer": '烘干机',
|
||||||
"Duct Tape": '',
|
"Duct Tape": '胶带',
|
||||||
"Chloroform": '',
|
"Chloroform": '氯仿',
|
||||||
"Glasses": '',
|
"Glasses": '眼镜',
|
||||||
"Fanny Pack": '',
|
"Fanny Pack": '腰包',
|
||||||
"Slim Crowbar": '',
|
"Slim Crowbar": '细撬棍',
|
||||||
"Advanced Driving Manual": '',
|
"Advanced Driving Manual": '高级驾驶手册',
|
||||||
"Cut-Throat Razor": '',
|
"Cut-Throat Razor": '割喉剃刀',
|
||||||
"Wireless Dongle": '',
|
"Wireless Dongle": '无线加密狗',
|
||||||
"Screwdriver": '',
|
"Screwdriver": '螺丝刀',
|
||||||
"Ergonomic Keyboard": '',
|
"Ergonomic Keyboard": '人体工学键盘',
|
||||||
"Mountain Bike": '',
|
"Mountain Bike": '山地车',
|
||||||
"Balaclava": '',
|
"Balaclava": '巴拉克拉瓦头套',
|
||||||
"Small Suitcase": '',
|
"Small Suitcase": '小手提箱',
|
||||||
"Medium Suitcase": '',
|
"Medium Suitcase": '中手提箱',
|
||||||
"Rosary Beads": '',
|
"Rosary Beads": '念珠',
|
||||||
"Large Suitcase": '',
|
"Large Suitcase": '大手提箱',
|
||||||
"Wind Proof Lighter": '',
|
"Wind Proof Lighter": '防风打火机',
|
||||||
// 酒
|
// 酒
|
||||||
"Bottle of Beer": '瓶装啤酒',
|
"Bottle of Beer": '瓶装啤酒',
|
||||||
"Bottle of Champagne": '',
|
"Bottle of Champagne": '瓶装香槟',
|
||||||
"Bottle of Tequila": '',
|
"Bottle of Tequila": '瓶装龙舌兰酒',
|
||||||
"Bottle of Sake": '',
|
"Bottle of Sake": '瓶装清酒',
|
||||||
"Bottle of Kandy Kane": '',
|
"Bottle of Kandy Kane": '',
|
||||||
"Bottle of Pumpkin Brew": '',
|
"Bottle of Pumpkin Brew": '瓶装南瓜啤酒',
|
||||||
"Bottle of Wicked Witch": '',
|
"Bottle of Wicked Witch": '邪恶女巫蛙腿酒',
|
||||||
"Bottle of Minty Mayhem": '',
|
"Bottle of Minty Mayhem": '',
|
||||||
"Bottle of Christmas Cocktail": '',
|
"Bottle of Christmas Cocktail": '圣诞鸡尾酒',
|
||||||
"Bottle of Mistletoe Madness": '',
|
"Bottle of Mistletoe Madness": '',
|
||||||
"Bottle of Stinky Swamp Punch": '',
|
"Bottle of Stinky Swamp Punch": '',
|
||||||
"Bottle of Moonshine": '',
|
"Bottle of Moonshine": '瓶装私酒',
|
||||||
"Bottle of Green Stout": '',
|
"Bottle of Green Stout": '瓶装绿色世涛',
|
||||||
"Bottle of Christmas Spirit": '',
|
"Bottle of Christmas Spirit": '',
|
||||||
// 其他增益道具other booster
|
// 其他增益道具other booster
|
||||||
"Lawyer Business Card": '律师卡(黑卡)',
|
"Lawyer Business Card": '律师卡(黑卡)',
|
||||||
@ -1711,36 +1714,36 @@
|
|||||||
"Statement Necklace": '',
|
"Statement Necklace": '',
|
||||||
"Gold Chain": '',
|
"Gold Chain": '',
|
||||||
// 病毒
|
// 病毒
|
||||||
"Simple Virus": '',
|
"Simple Virus": '简单病毒',
|
||||||
"Tunneling Virus": '',
|
"Tunneling Virus": '隧道病毒',
|
||||||
"Polymorphic Virus": '',
|
"Polymorphic Virus": '多态病毒',
|
||||||
"Firewalk Virus": '',
|
"Firewalk Virus": '火行病毒',
|
||||||
"Armored Virus": '',
|
"Armored Virus": '装甲病毒',
|
||||||
"Stealth Virus": '',
|
"Stealth Virus": '隐形病毒',
|
||||||
// 花
|
// 花
|
||||||
"Bunch of Flowers": '',
|
"Bunch of Flowers": '一束花',
|
||||||
"Single Red Rose": '',
|
"Single Red Rose": '单支红玫瑰',
|
||||||
"Bunch of Black Roses": '',
|
"Bunch of Black Roses": '一束黑玫瑰',
|
||||||
"Dozen Roses": '',
|
"Dozen Roses": '一打玫瑰',
|
||||||
"Dahlia": '',
|
"Dahlia": '大丽花',
|
||||||
"Crocus": '',
|
"Crocus": '番红花',
|
||||||
"Banana Orchid": '',
|
"Banana Orchid": '香蕉兰花',
|
||||||
"Orchid": '',
|
"Orchid": '兰花',
|
||||||
"Edelweiss": '',
|
"Edelweiss": '雪绒花',
|
||||||
"Ceibo Flower": '',
|
"Ceibo Flower": '鸡冠刺桐花',
|
||||||
"Heather": '',
|
"Heather": '石南花',
|
||||||
"African Violet": '',
|
"African Violet": '非洲紫罗兰',
|
||||||
"Cherry Blossom": '',
|
"Cherry Blossom": '樱花',
|
||||||
"Peony": '',
|
"Peony": '牡丹',
|
||||||
"Tribulus Omanense": '',
|
"Tribulus Omanense": '蒺藜',
|
||||||
// 补给箱
|
// 补给箱
|
||||||
"Box of Medical Supplies": '医疗补给包',
|
"Box of Medical Supplies": '医疗补给包',
|
||||||
"Lottery Voucher": '彩票券',
|
"Lottery Voucher": '彩票券',
|
||||||
"Box of Grenades": '手雷箱',
|
"Box of Grenades": '手雷箱',
|
||||||
"Six Pack of Alcohol": '6瓶装酒箱',
|
"Six Pack of Alcohol": '6瓶装酒箱',
|
||||||
"Denim Cache": '',
|
"Denim Cache": '牛仔补给箱',
|
||||||
"Drug Pack": '小DP 药dú品包',
|
"Drug Pack": '小DP 药dú品包',
|
||||||
"Keg of Beer": '',
|
"Keg of Beer": '桶装啤酒',
|
||||||
"Elderly Cache": '',
|
"Elderly Cache": '',
|
||||||
"Cutesy Cache": '',
|
"Cutesy Cache": '',
|
||||||
"Six Pack of Energy Drink": '6瓶装饮料箱',
|
"Six Pack of Energy Drink": '6瓶装饮料箱',
|
||||||
@ -2460,7 +2463,7 @@
|
|||||||
inside_job: {
|
inside_job: {
|
||||||
task: "击败特定玩家并选择secrete选项藏一个道具",
|
task: "击败特定玩家并选择secrete选项藏一个道具",
|
||||||
},
|
},
|
||||||
introduction_duke: {
|
'introduction:_duke': {
|
||||||
task: "完成10个 Duke 任务",
|
task: "完成10个 Duke 任务",
|
||||||
},
|
},
|
||||||
keeping_up_appearances: {
|
keeping_up_appearances: {
|
||||||
@ -3330,17 +3333,17 @@
|
|||||||
<form id="wh-translate-quick" action="crimes.php?step=docrime4" method="post" style="display: inline-block;margin: 0 5px">
|
<form id="wh-translate-quick" action="crimes.php?step=docrime4" method="post" style="display: inline-block;margin: 0 5px">
|
||||||
<input name="nervetake" type="hidden" value="18">
|
<input name="nervetake" type="hidden" value="18">
|
||||||
<input name="crime" type="hidden" value="hackbank">
|
<input name="crime" type="hidden" value="hackbank">
|
||||||
<input style="padding: 4px;background: #e91e63;border-radius: 5px;color: white;" type="submit" value="18-1" style="padding: 0 2px" />
|
<input style="-webkit-appearance:none;padding: 4px;background: #e91e63;border-radius: 5px;color: white;" type="submit" value="18-1" style="padding: 0 2px" />
|
||||||
</form>
|
</form>
|
||||||
<form id="wh-translate-quick" action="crimes.php?step=docrime4" method="post" style="display: inline-block;margin: 0 5px">
|
<form id="wh-translate-quick" action="crimes.php?step=docrime4" method="post" style="display: inline-block;margin: 0 5px">
|
||||||
<input name="nervetake" type="hidden" value="11">
|
<input name="nervetake" type="hidden" value="11">
|
||||||
<input name="crime" type="hidden" value="warehouse">
|
<input name="crime" type="hidden" value="warehouse">
|
||||||
<input style="padding: 4px;background: #2196f3;border-radius: 5px;color: white;" type="submit" value="烧仓库" style="padding: 0 2px" />
|
<input style="-webkit-appearance:none;padding: 4px;background: #2196f3;border-radius: 5px;color: white;" type="submit" value="烧仓库" style="padding: 0 2px" />
|
||||||
</form>
|
</form>
|
||||||
<form id="wh-translate-quick" action="crimes.php?step=docrime4" method="post" style="display: inline-block;margin: 0 5px">
|
<form id="wh-translate-quick" action="crimes.php?step=docrime4" method="post" style="display: inline-block;margin: 0 5px">
|
||||||
<input name="nervetake" type="hidden" value="4">
|
<input name="nervetake" type="hidden" value="4">
|
||||||
<input name="crime" type="hidden" value="jacket">
|
<input name="crime" type="hidden" value="jacket">
|
||||||
<input style="padding: 4px;background: #009688;border-radius: 5px;color: white;" type="submit" value="偷夹克" style="padding: 0 2px" />
|
<input style="-webkit-appearance:none;padding: 4px;background: #009688;border-radius: 5px;color: white;" type="submit" value="偷夹克" style="padding: 0 2px" />
|
||||||
</form></div><hr class="page-head-delimiter m-top10 m-bottom10 r1854"></div>`);
|
</form></div><hr class="page-head-delimiter m-top10 m-bottom10 r1854"></div>`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -5678,7 +5681,7 @@ ${htmlCont}</div></div></div></div><hr class="delimiter-999 m-top10 m-bottom10">
|
|||||||
* 任务助手
|
* 任务助手
|
||||||
*/
|
*/
|
||||||
function getTaskHint(task_name) {
|
function getTaskHint(task_name) {
|
||||||
task_name = task_name.toLowerCase().replaceAll(' ', '_');
|
task_name = task_name.toLowerCase().replaceAll(' ', '_').replaceAll(':', '');
|
||||||
if (!missionDict._taskHint[task_name]) return '暂无,请联系开发者';
|
if (!missionDict._taskHint[task_name]) return '暂无,请联系开发者';
|
||||||
const task = missionDict._taskHint[task_name].task || null;
|
const task = missionDict._taskHint[task_name].task || null;
|
||||||
const hint = missionDict._taskHint[task_name].hint || null;
|
const hint = missionDict._taskHint[task_name].hint || null;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user