更新物品翻译

This commit is contained in:
woohoo 2021-11-30 22:01:32 +08:00
parent 85ade8a6c1
commit ec4ec94f7b

View File

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Torn翻译 // @name Torn翻译
// @namespace WOOH // @namespace WOOH
// @version 0.1.1130a // @version 0.1.1130b
// @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/*
@ -225,7 +225,7 @@
'Strength': '力量 STR', 'Strength': '力量 STR',
'Defense': '防御 DEF', 'Defense': '防御 DEF',
'Speed': '速度 SPD', 'Speed': '速度 SPD',
'Dexterity': '敏捷 DEX', 'Dexterity': '闪避 DEX',
'Hunting skill': '狩猎技能', 'Hunting skill': '狩猎技能',
'Racing skill': '赛车技能', 'Racing skill': '赛车技能',
'Manual labor': '体力 MAN', 'Manual labor': '体力 MAN',
@ -452,11 +452,11 @@
'Strength': '力量 STR', 'Strength': '力量 STR',
'Defense': '防御 DEF', 'Defense': '防御 DEF',
'Speed': '速度 SPD', 'Speed': '速度 SPD',
'Dexterity': '敏捷 DEX', 'Dexterity': '闪避 DEX',
'STR': '力量', 'STR': '力量',
'DEF': '防御', 'DEF': '防御',
'SPD': '速度', 'SPD': '速度',
'DEX': '敏捷', 'DEX': '闪避',
'TRAIN': '锻炼', 'TRAIN': '锻炼',
'Welcome to': '欢迎来到 ', 'Welcome to': '欢迎来到 ',
'!': '', '!': '',
@ -487,7 +487,7 @@
'Strength Gains': '力量增益', 'Strength Gains': '力量增益',
"Speed Gains": "速度增益", "Speed Gains": "速度增益",
"Defense Gains": "防御增益", "Defense Gains": "防御增益",
"Dexterity Gains": "敏捷增益", "Dexterity Gains": "闪避增益",
'Boxing': '拳击', 'Boxing': '拳击',
'Are you sure you would like to buy this membership?': '确定购买这个健身房会员吗?', 'Are you sure you would like to buy this membership?': '确定购买这个健身房会员吗?',
'Not Available': '不可用', 'Not Available': '不可用',
@ -541,7 +541,7 @@
'Swimming': '游泳', 'Swimming': '游泳',
'Bench Press': '卧推', 'Bench Press': '卧推',
'Agility Training Course': '', 'Agility Training Course': '',
'Table Tennis': '敏捷性训练', 'Table Tennis': '乒乓球',
'Suicide Running': '', 'Suicide Running': '',
'Aerobics': '有氧健身操', 'Aerobics': '有氧健身操',
'Tricep Pulldowns': '三头肌下拉', 'Tricep Pulldowns': '三头肌下拉',
@ -962,7 +962,7 @@
'Gives a passive bonus to strength of 3%': '获得力量 3% 被动增益', 'Gives a passive bonus to strength of 3%': '获得力量 3% 被动增益',
'Gives a passive bonus to defense of 3%': '获得防御 3% 被动增益', 'Gives a passive bonus to defense of 3%': '获得防御 3% 被动增益',
'Gives a passive bonus to speed of 3%': '获得速度 3% 被动增益', 'Gives a passive bonus to speed of 3%': '获得速度 3% 被动增益',
'Gives a passive bonus to dexterity of 3%': '获得敏捷 3% 被动增益', 'Gives a passive bonus to dexterity of 3%': '获得闪避 3% 被动增益',
'Increases proficiency with heavy artillery': '提高重炮精通', 'Increases proficiency with heavy artillery': '提高重炮精通',
'Increases proficiency with machine guns': '提高机枪精通', 'Increases proficiency with machine guns': '提高机枪精通',
'Increases proficiency with rifles': '提高步枪精通', 'Increases proficiency with rifles': '提高步枪精通',
@ -1021,7 +1021,7 @@
"This upgrade will give you a passive bonus to your speed stat. This upgrade will not increase your actual viewable stat number, but you will notice the effects during attacks.": "This upgrade will give you a passive bonus to your speed stat. This upgrade will not increase your actual viewable stat number, but you will notice the effects during attacks.":
'这个升级将给你带来速度被动加成。这个升级不会增加实际可查看的战力,但你会在攻击时注意到其效果。', '这个升级将给你带来速度被动加成。这个升级不会增加实际可查看的战力,但你会在攻击时注意到其效果。',
"This upgrade will give you a passive bonus to your dexterity stat. This upgrade will not increase your actual viewable stat number, but you will notice the effects during attacks.": "This upgrade will give you a passive bonus to your dexterity stat. This upgrade will not increase your actual viewable stat number, but you will notice the effects during attacks.":
'这个升级将给你带来敏捷被动加成。这个升级不会增加实际可查看的战力,但你会在攻击时注意到其效果。', '这个升级将给你带来闪避被动加成。这个升级不会增加实际可查看的战力,但你会在攻击时注意到其效果。',
"This upgrade will improve the damage and accuracy of these weapons when you use them in attacks. Heavy Artillery weapons include: Flamethrower, RPG Launcher, and Type 98 Anti Tank.": "This upgrade will improve the damage and accuracy of these weapons when you use them in attacks. Heavy Artillery weapons include: Flamethrower, RPG Launcher, and Type 98 Anti Tank.":
'这种升级将提高使用这些武器进行攻击时的伤害和命中。重炮包括:火焰喷射器 (Flamethrower)、RPG发射器 (RPG Launcher)、98式反坦克 (Type 98 Anti Tank)。', '这种升级将提高使用这些武器进行攻击时的伤害和命中。重炮包括:火焰喷射器 (Flamethrower)、RPG发射器 (RPG Launcher)、98式反坦克 (Type 98 Anti Tank)。',
"This upgrade will improve the damage and accuracy of these weapons when you use them in attacks. Machine Gun weapons include: M249 SAW, Rheinmetall MG 3, and Snow Cannon.": "This upgrade will improve the damage and accuracy of these weapons when you use them in attacks. Machine Gun weapons include: M249 SAW, Rheinmetall MG 3, and Snow Cannon.":
@ -1320,34 +1320,38 @@
'high:': '最高:', 'high:': '最高:',
'low:': '最低:', 'low:': '最低:',
}; };
const itemPageDict = {
'Primary': '',
'Secondary': '',
'Melee': '',
'Temporary': '',
'Defensive': '',
'Clothing': '',
'Jewelry': '',
'Your items -': '',
'All': '',
'Medical': '',
'Drugs': '',
'Energy Drink': '',
'Alcohol': '',
'Candy': '',
'Boosters': '',
'Enhancer': '增幅器',
'Supply Packs': '',
'Electronics': '',
'Flowers': '',
'Plushies': '',
'Cars': '',
'Viruses': '',
'Miscellaneous': '',
'Artifacts': '',
'Books': '',
'Special': '',
'Collectibles': '',
};
const itemNameDict = { const itemNameDict = {
"Six Pack of Alcohol": '6瓶装酒箱',
"Ammunition Pack": '弹药包', "Ammunition Pack": '弹药包',
"Box of Grenades": '手雷箱',
"Feathery Hotel Coupon": 'FHC 金卡',
"Lawyer Business Card": '律师卡 (黑卡)',
"Lottery Voucher": '彩票券',
"Six Pack of Energy Drink": '6瓶装饮料箱',
"Erotic DVD": '瑟琴 DVD',
"Drug Pack": '药(dú)品包 (小DP)',
"Clothing Cache": '服饰箱', "Clothing Cache": '服饰箱',
"Box of Medical Supplies": '医疗补给包',
"Old Lady Mask": '老妇人面具',
"Combat Gloves": '战斗手套',
"Combat Helmet": '战斗头盔',
"Combat Pants": '战斗裤',
"Flamethrower": '喷火器',
"Scarred Man Mask": '刀疤男面具',
"Cannabis": '大麻',
"Opium": '罂粟',
"Vicodin": '维柯丁',
"HEG": '高爆手雷',
"Grenade": '手雷',
"Flash Grenade": '闪光弹',
"Pepper Spray": '辣椒喷雾',
"Tear Gas": '催泪弹',
"Trout": '咸鱼',
"Throwing Knife": '飞刀',
"First Aid Kit": '急救包', "First Aid Kit": '急救包',
"Small First Aid Kit": '小型急救包', "Small First Aid Kit": '小型急救包',
"Empty Blood Bag": '空血包', "Empty Blood Bag": '空血包',
@ -1363,31 +1367,97 @@
"Morphine": '吗啡', "Morphine": '吗啡',
"Neumune Tablet": '雄烯二醇抗辐射药品', "Neumune Tablet": '雄烯二醇抗辐射药品',
"Antidote": '抗生素', "Antidote": '抗生素',
// 主武器
"Sawed-Off Shotgun": '短喷',
"Thompson": '汤普森冲锋枪',
"TMP": '',
"Benelli M1 Tactical": '战术连喷',
"MP5k": 'MP5k',
"MP5 Navy": 'MP5海军型',
"Skorpion": '',
"MP 40": 'MP 40',
"SKS Carbine": 'SKS卡宾枪',
"Vektor CR-21": '维克托CR-21',
"P90": 'P90',
"Ithaca 37": '',
"XM8 Rifle": 'XM8突击步枪',
"AK74U": 'AK74U',
"AK-47": 'AK-47',
"Bushmaster Carbon 15": '',
"M4A1 Colt Carbine": '',
"Benelli M4 Super": '',
"Heckler & Koch SL8": '',
"M16 A2 Rifle": '',
"Mag 7": '',
"Steyr AUG": '',
"SIG 550": '',
"Enfield SA-80": '',
"Tavor TAR-21": '',
"9mm Uzi": '',
"M249 SAW": '',
"Minigun": '加特林式旋管机枪', "Minigun": '加特林式旋管机枪',
"Jackhammer": '',
"SIG 552": '',
"ArmaLite M-15A4": '',
"Nock Gun": '',
"Snow Cannon": '',
"Rheinmetall MG 3": '',
"Gold Plated AK-47": '',
// 副武器
"Lorcin 380": '',
"Flare Gun": '',
"Glock 17": '',
"Taurus": '',
"Springfield 1911": '',
"Raven MP25": '',
"Ruger 22/45": '',
"Crossbow": '',
"Slingshot": '',
"S&W Revolver": '',
"Beretta M9": '',
"USP": '',
"Beretta 92FS": '',
"Luger": '',
"Fiveseven": '',
"Blowgun": '',
"Blunderbuss": '',
"Magnum": '',
"S&W M29": '',
"Desert Eagle": '',
"BT MP9": '',
"Cobra Derringer": '',
"Qsz-92": '',
"Harpoon": '',
"Flamethrower": '喷火器',
"Dual 92G Berettas": '',
"Type 98 Anti Tank": '',
"Beretta Pico": '',
"Homemade Pocket Shotgun": '',
"RPG Launcher": '',
// 近战武器 // 近战武器
"Hammer": '锤子', "Hammer": '锤子',
"Lead Pipe": '铅管', "Lead Pipe": '铅管',
"Baseball Bat": '棒球棒', "Baseball Bat": '棒球棒',
"Crowbar": '撬棍', "Crowbar": '撬棍',
"Bo Staff": '玻之武杖', "Bo Staff": '玻之武杖',
"Knuckle Dusters": '', "Knuckle Dusters": '指虎',
"Pen Knife": '', "Pen Knife": '笔刀',
"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": '电击枪',
"Ninja Claws": '', "Ninja Claws": '忍者之爪',
"Scimitar": '', "Scimitar": '弯刀',
"Chainsaw": '电锯', "Chainsaw": '电锯',
"Cricket Bat": '', "Cricket Bat": '板球棒',
"Ice Pick": '', "Ice Pick": '',
"Katana": '', "Katana": '',
"Spear": '', "Spear": '',
@ -1426,6 +1496,687 @@
"Sledgehammer": '', "Sledgehammer": '',
"Bread Knife": '', "Bread Knife": '',
"Poison Umbrella": '', "Poison Umbrella": '',
// 防具
"Leather Boots": '皮靴',
"Leather Gloves": '皮手套',
"Leather Helmet": '皮制头盔',
"Leather Pants": '皮裤',
"Leather Vest": '皮背心',
"Chain Mail": '锁子甲',
"Flak Jacket": '',
"Police Vest": '警察背心',
"Hiking Boots": '登山靴',
"Construction Helmet": '建筑头盔',
"Bulletproof Vest": '防弹背心',
"Full Body Armor": '全身甲',
"Safety Boots": '安全靴',
"WWII Helmet": '二战头盔',
"Kevlar Gloves": '凯夫拉手套',
"Outer Tactical Vest": '外用战术背心',
"Combat Gloves": '战斗手套',
"Combat Boots": '战斗靴',
"Combat Pants": '战斗裤',
"Combat Helmet": '战斗头盔',
"Combat Vest": '战斗背心',
"Liquid Body Armor": '液体防弹衣',
"Flexible Body Armor": '活动防弹衣',
"Medieval Helmet": '中世纪头盔',
"Motorcycle Helmet": '摩托车头盔',
"Welding Helmet": '电焊头盔',
"Hazmat Suit": '危险品防护服',
// 投掷武器
"Brick": '',
"Ninja Star": '',
"Fireworks": '',
"Claymore Mine": '',
"Stick Grenade": '',
"Snowball": '',
"HEG": '高爆手雷',
"Grenade": '手雷',
"Flash Grenade": '闪光弹',
"Pepper Spray": '辣椒喷雾',
"Tear Gas": '催泪弹',
"Trout": '咸鱼',
"Throwing Knife": '飞刀',
"Molotov Cocktail": '',
"Smoke Grenade": '',
"Melatonin": '',
"Tyrosine": '',
"Epinephrine": '',
"Sand": '',
"Serotonin": '',
"Nail Bomb": '',
"Concussion Grenade": '',
"Book": '',
// 能饮
"Can of Goose Juice": '',
"Can of Damp Valley": '',
"Can of Crocozade": '',
"Can of Santa Shooters": '',
"Can of Munster": '',
"Can of Rockstar Rudolph": '',
"Can of Red Cow": '',
"Can of X-MASS": '',
"Can of Taurine Elite": '',
// 糖
"Bag of Bon Bons": '',
"Box of Extra Strong Mints": '',
"Bag of Chocolate Kisses": '',
"Box of Sweet Hearts": '',
"Box of Chocolate Bars": '',
"Lollipop": '',
"Box of Bon Bons": '',
"Big Box of Chocolate Bars": '',
"Bag of Candy Kisses": '',
"Bag of Tootsie Rolls": '',
"Bag of Bloody Eyeballs": '',
"Bag of Chocolate Truffles": '',
"Bag of Reindeer Droppings": '',
"Red Easter Egg": '',
"Yellow Easter Egg": '',
"Blue Easter Egg": '',
"Pink Easter Egg": '',
"Orange Easter Egg": '',
"Black Easter Egg": '',
"Green Easter Egg": '',
"Brown Easter Egg": '',
"Pixie Sticks": '',
"Bag of Sherbet": '',
"Jawbreaker": '',
"Bag of Humbugs": '',
"Purple Easter Egg": '',
"White Easter Egg": '',
"Birthday Cupcake": '',
"Gold Easter Egg": '',
// drugs
"Shrooms": '魔幻蘑菇',
"LSD": '兴奋剂',
"Ketamine": '凯粉',
"Ecstasy": '摇头丸',
"PCP": '天使尘埃',
"Speed": '病毒',
"Xanax": 'XAN',
"Love Juice": '爱情果汁',
"Cannabis": '大麻',
"Opium": '罂粟',
"Vicodin": '维柯丁',
// 增幅器
"Heavy Duty Padlock": '',
"High-Speed Drive": '',
"Tracking Device": '',
"Tumble Dryer": '',
"Duct Tape": '',
"Chloroform": '',
"Glasses": '',
"Fanny Pack": '',
"Slim Crowbar": '',
"Advanced Driving Manual": '',
"Cut-Throat Razor": '',
"Wireless Dongle": '',
"Screwdriver": '',
"Ergonomic Keyboard": '',
"Mountain Bike": '',
"Balaclava": '',
"Small Suitcase": '',
"Medium Suitcase": '',
"Rosary Beads": '',
"Large Suitcase": '',
"Wind Proof Lighter": '',
// 酒
"Bottle of Beer": '瓶装啤酒',
"Bottle of Champagne": '',
"Bottle of Tequila": '',
"Bottle of Sake": '',
"Bottle of Kandy Kane": '',
"Bottle of Pumpkin Brew": '',
"Bottle of Wicked Witch": '',
"Bottle of Minty Mayhem": '',
"Bottle of Christmas Cocktail": '',
"Bottle of Mistletoe Madness": '',
"Bottle of Stinky Swamp Punch": '',
"Bottle of Moonshine": '',
"Bottle of Green Stout": '',
"Bottle of Christmas Spirit": '',
// 其他增益道具other booster
"Lawyer Business Card": '律师卡(黑卡)',
"Erotic DVD": '瑟琴DVD',
"Gift Card": '礼品卡',
"Book of Carols": '颂歌之书',
"Feathery Hotel Coupon": 'FHC金卡',
"Skateboard": '速度SE 滑板',
"Boxing Gloves": '防御SE 拳击手套',
"Dumbbells": '力量SE 哑铃',
"Parachute": '闪避SE 降落伞',
// 电器
"Pack of Music CDs": '',
"Pack of Blank CDs : 100": '',
"RS232 Cable": '',
"Hard Drive": '',
"MP3 Player": '',
"Personal Computer": '',
"CD Player": '',
"DVD Player": '',
"Television": '',
"Game Console": '',
"Microwave": '',
"Laptop": '',
// 珠宝
"Gold Ring": '',
"Plain Silver Ring": '',
"Sapphire Ring": '',
"Plastic Watch": '',
"Gold Necklace": '',
"Silver Necklace": '',
"Gold Watch": '',
"Diamond Ring": '',
"Stainless Steel Watch": '',
"Pearl Necklace": '',
"Cocktail Ring": '',
"Crystal Bracelet": '',
"Statement Necklace": '',
"Gold Chain": '',
// 病毒
"Simple Virus": '',
"Tunneling Virus": '',
"Polymorphic Virus": '',
"Firewalk Virus": '',
"Armored Virus": '',
"Stealth Virus": '',
// 花
"Bunch of Flowers": '',
"Single Red Rose": '',
"Bunch of Black Roses": '',
"Dozen Roses": '',
"Dahlia": '',
"Crocus": '',
"Banana Orchid": '',
"Orchid": '',
"Edelweiss": '',
"Ceibo Flower": '',
"Heather": '',
"African Violet": '',
"Cherry Blossom": '',
"Peony": '',
"Tribulus Omanense": '',
// 补给箱
"Box of Medical Supplies": '医疗补给包',
"Lottery Voucher": '彩票券',
"Box of Grenades": '手雷箱',
"Six Pack of Alcohol": '6瓶装酒箱',
"Denim Cache": '',
"Drug Pack": '小DP 药dú品包',
"Keg of Beer": '',
"Elderly Cache": '',
"Cutesy Cache": '',
"Six Pack of Energy Drink": '6瓶装饮料箱',
"Gentleman Cache": '',
"Wannabe Cache": '',
"Elegant Cache": '',
"Naughty Cache": '',
"Goodie Bag": '',
"Anniversary Present": '',
"Parcel": '',
// 可收集物
"Broken Bauble": '',
"Bronze Ribbon": '',
"Silver Ribbon": '',
"Coin : Dump": '',
"Coin : Church": '',
"Santa's Elf '09": '',
"Metal Dog Tag": '',
"Coin : Hospital": '',
"Birthday Cake '05": '',
"Bunch of Balloons '05": '',
"Jack-O-Lantern '05": '',
"Coin : Race Track": '',
"Coin : Casino": '',
"Coin : Estate Agents": '',
"Coin : Travel Agency": '',
"Coin : Education": '',
"Coin : Museum": '',
"Coin : Drugs": '',
"Coin : Auction House": '',
"Coin : Stock Exchange": '',
"Coin : Companies": '',
"Poker Chip": '',
"Coin : Factions": '',
"Voodoo Doll": '',
"Rabbit Foot": '',
"Gold Ribbon": '',
"Coin : Jail": '',
"Santa's List '17": '',
"Snowflake '05": '',
"Cheesus '18": '',
"Bronze Microphone": '',
"Paper Bag": '',
"Toast Jesus '18": '',
"Silver Dog Tag": '',
"Christmas Tree '05": '',
"Bronze Dog Tag": '',
"Bronze Paint Brush": '',
"10 Ton Pacifier": '',
"Single White Rose": '',
"Chocolate Egg '05": '',
"Annoying Man": '',
"Scammer in the Slammer '18": '',
"Gold Microphone": '',
"Amazon Doll": '',
"Soapbox": '',
"Gold Paint Brush": '',
"Dollar Bill Collectible": '',
"Octopus Toy": '',
"Gold Dog Tag": '',
"Crazy Cow": '',
"Citrus Squeezer": '',
"Strife Clown": '',
"Evil Doll": '',
"Blow-Up Doll": '',
"Backstage Pass": '',
"Karate Man": '',
"YouYou Yo Yo": '',
"Flea Collar": '',
"Ms Torn Crown": '',
"Kevlar Helmet": '',
"Cursed Moon Pendant": '',
"Mr Torn Crown": '',
"Mr Brownstone Doll": '',
"Burmese Flag": '',
"Chocobo Flute": '',
"Skeleton Key": '',
"Yoda Figurine": '',
"Barbie Doll": '',
"China Tea Set": '',
"Dreamcatcher": '',
"Non-Anon Doll": '',
"Christmas Card '09": '',
"Christmas Stocking '09": '',
"Jester's Cap": '',
"Official Ninja Kit": '',
"Silver Paint Brush": '',
// 衣服
"Tank Top": '',
"Jacket": '',
"Trainers": '',
"Bandana": '',
"Mediocre T-Shirt": '',
"Sports Shades": '',
"Diving Gloves": '',
"Proda Sunglasses": '',
"Speedo": '',
"Flippers": '',
"Kabuki Mask": '',
"Sweater": '',
"Snorkel": '',
"Bikini": '',
"Wetsuit": '',
"Mountie Hat": '',
"Exotic Gentleman Mask": '',
"Young Lady Mask": '',
"Moustache Man Mask": '',
"Old Lady Mask": '老妇人面具',
"Nun Mask": '',
"Scarred Man Mask": '刀疤男面具',
"Ginger Kid Mask": '',
"Psycho Clown Mask": '',
"Trench Coat": '',
"Festive Socks": '',
"Coconut Bra": '',
"Badge : 15th Anniversary": '',
"Paper Crown : Red": '',
"Paper Crown : Blue": '',
"Paper Crown : Green": '',
"Paper Crown : Yellow": '',
"Party Hat '19": '',
"String Vest": '',
"Santa Gloves": '',
"Classic Fedora": '',
"Sweatpants": '',
"Santa Trousers": '',
"Pinstripe Suit Trousers": '',
"Santa Boots": '',
"Denim Cap": '',
"Tube Dress": '',
"Hair Bow": '',
"Pleated Skirt": '',
"Reading Glasses": '',
"Pullover": '',
"Denim Vest": '',
"Basketball Shirt": '',
"Denim Jacket": '',
"Santa Jacket": '',
"Bandit Mask": '',
"Durag": '',
"Chinos": '',
"Tights": '',
"Collared Shawl": '',
"Denim Shirt": '',
"Shrug": '',
"Dungarees": '',
"Sandals": '',
"Check Skirt": '',
"Ballet Shoes": '',
"Sun Hat": '',
"Cork Hat": '',
"Pantyhose": '',
"Denim Shoes": '',
"Knee Socks": '',
"Shorts": '',
"Golf Socks": '',
"Bucket Hat": '',
"Maid Hat": '',
"Panama Hat": '',
"Oversized Shirt": '',
"Pencil Skirt": '',
"Floral Dress": '',
"Booty Shorts": '',
"Blouse": '',
"Halterneck": '',
"Snapback Hat": '',
"Crop Top": '',
"Bermudas": '',
"Peplum Top": '',
"Baseball Cap": '',
"Santa Hat": '',
"Baseball Jacket": '',
"Capri Pants": '',
"Thong": '',
"Fishnet Stockings": '',
"Chin Diaper": '',
"Chest Harness": '',
"Platform Shoes": '',
"Fur Hat": '',
"Polo Shirt": '',
"Bunny Ears": '',
"Denim Jeans": '',
"Skirt": '',
"Puppy Ears": '',
"Tutu": '',
"Camisole": '',
"Assless Chaps": '',
"Head Scarf": '',
"Puffer Vest": '',
"Choker": '',
"Boob Tube": '',
"Tighty Whities": '',
"Puffer Jacket": '',
"Travel Socks": '',
"Fur Scarf": '',
"Waistcoat": '',
"Derby Shoes": '',
"Braces": '',
"Blindfold": '',
"Medical Mask": '',
"Nightgown": '',
"Flip Flops": '',
"Saggy Pants": '',
"Square Sunglasses": '',
"Cardigan": '',
"Gym Shorts": '',
"Knee-high Boots": '',
"Sports Jacket": '',
"Bowler Hat": '',
"Cover-ups": '',
"Bingo Visor": '',
"Yoga Pants": '',
"Raincoat": '',
"Silver Hoodie": '',
"Fisherman Hat": '',
"Lingerie": '',
"Bush Hat": '',
"Turtleneck": '',
"Lolita Dress": '',
"Fitted Shirt": '',
"Blazer": '',
"Opera Gloves": '',
"Mini Skirt": '',
"Shoulder Sweater": '',
"Suit Trousers": '',
"Mackintosh": '',
"Black Oxfords": '',
"Shutter Shades": '',
"Cat Ears": '',
"Fascinator Hat": '',
"Poncho": '',
"Fur Coat": '',
"Silver Flats": '',
"Kitty Shoes": '',
"Neck Tie": '',
"Maid Uniform": '',
"Bow Tie": '',
"Polka Dot Dress": '',
"Slippers": '',
"Gold Sneakers": '',
"Smoking Jacket": '',
"Parachute Pants": '',
"Latex Gloves": '',
"Collar": '',
"Nipple Tassels": '',
"Scrooge's Boots": '',
"Mankini": '',
"Scrooge's Gloves": '',
"Ripped Jeans": '',
"Santa Beard": '',
"Ball Gown": '',
"Scrooge's Trousers": '',
"Unicorn Horn": '',
"Onesie": '',
"Wedding Veil": '',
"Christmas Sweater '15": '',
"Bunny Nose": '',
"Straitjacket": '',
"Monocle": '',
"Scrooge's Topcoat": '',
"Wedding Dress": '',
"Witch's Hat": '',
"Bathrobe": '',
"Tiger King Mask '20": '',
"Greta Mask '19": '',
"Scrooge's Top Hat": '',
"Sandworm Mask '21": '',
"Duster": '',
"Ski Mask": '',
"Pennywise Mask '20": '',
"Anatoly Mask '19": '',
"Ball Gag": '',
"Elon Musk Mask '17": '',
"Heart Sunglasses": '',
"Jigsaw Mask '19": '',
"Pipe": '',
"Michael Myers Mask '18": '',
"Respo Hoodie": '',
"Bunny Suit": '',
"Donald Trump Mask '16": '',
"Gronch Mask '18": '',
// 车
"Chevrolet Cavalier": '',
"Peugeot 106": '',
"Volkswagen Beetle": '',
"Citroen Saxo": '',
"Vauxhall Corsa": '',
"Vauxhall Astra GSI": '',
"Honda Civic": '',
"Classic Mini": '',
"Volkswagen Golf GTI": '',
"Renault Clio": '',
"Alfa Romeo 156": '',
"Audi S4": '',
"Reliant Robin": '',
"Nissan Micra": '',
"Honda Integra R": '',
"Ford Mustang": '',
"Lotus Exige": '',
"Hummer H3": '',
"Honda S2000": '',
"Honda Accord": '',
"Holden SS": '',
"Mini Cooper S": '',
"Seat Leon Cupra": '',
"Toyota MR2": '',
"Volvo 850": '',
"Honda NSX": '',
"BMW X5": '',
"TVR Sagaris": '',
"BMW M5": '',
"Ford Focus RS": '',
"Subaru Impreza STI": '',
"Chevrolet Corvette Z06": '',
"Audi TT Quattro": '',
"Fiat Punto": '',
"Pontiac Firebird": '',
"Dodge Charger": '',
"BMW Z8": '',
"Porsche 911 GT3": '',
"Nissan GT-R": '',
"Ford GT40": '',
"Audi R8": '',
"Mitsubishi Evo X": '',
"Lexus LFA": '',
"Ferrari 458": '',
"Lamborghini Gallardo": '',
"Mercedes SLR": '',
"Aston Martin One-77": '',
"Sierra Cosworth": '',
// 文物
"Senet Board": '',
"Florin Coin": '',
"Leopard Coin": '',
"Gold Noble Coin": '',
"Vairocana Buddha Sculpture": '',
"Black Senet Pawn": '',
"White Senet Pawn": '',
"Ganesha Sculpture": '',
"Quran Script : Ubay Ibn Kab": '',
"Quran Script : Ali": '',
"Quran Script : Ibn Masud": '',
"Shabti Sculpture": '',
"Egyptian Amulet": '',
// 玩偶
"Sheep Plushie": '',
"Kitten Plushie": '',
"Teddy Bear Plushie": '',
"Stingray Plushie": '',
"Wolverine Plushie": '',
"Jaguar Plushie": '',
"Nessie Plushie": '',
"Red Fox Plushie": '',
"Chamois Plushie": '',
"Monkey Plushie": '',
"Panda Plushie": '',
"Lion Plushie": '',
"Camel Plushie": '',
"Dong : Effy": '',
"Dong : Jeremy": '',
"Dong : Greg": '',
"Dong : Holly": '',
"Dong : Thomas": '',
// 特殊物品
"Toilet Paper": '',
"Stink Bombs": '',
"Dog Poop": '',
"Horse's Head": '',
"Christmas Cracker": '',
"Small Explosive Device": '',
"Business Class Ticket": '',
"Strippogram Voucher": '',
"Poison Mistletoe": '',
"Donator Pack": 'DP捐赠者补给箱',
"Casino Pass": '',
"Cesium-137": '',
"Dirty Bomb": '',
// 杂物
"Box of Tissues": '',
"Pack of Cuban Cigars": '',
"Birthday Wrapping Paper": '',
"Empty Box": '',
"Bolt Cutters": '',
"Christmas Wrapping Paper": '',
"Soap on a Rope": '',
"Generic Wrapping Paper": '',
"Crazy Straw": '',
"Fruitcake": '',
"Pele Charm": '',
"Mayan Statue": '',
"Steel Drum": '',
"Sumo Doll": '',
"Hockey Stick": '',
"Chopsticks": '',
"Soccer Ball": '',
"Snowboard": '',
"Paper Weight": '',
"Yakitori Lantern": '',
"Sensu": '',
"Dart Board": '',
"Elephant Statue": '',
"Certificate of Lame": '',
"Yucca Plant": '',
"Jade Buddha": '',
"Compass": '',
"Nodding Turtle": '',
"Fire Hydrant": '',
"Model Space Ship": '',
"Tailors Dummy": '',
"Sextant": '',
"Afro Comb": '',
"Maneki Neko": '',
"Blank Tokens": '',
"Printing Paper": '',
"Stick of Dynamite": '',
"Blank Credit Cards": '',
"Advent Calendar": '',
"Certificate of Awesome": '',
"Glow Stick": '',
"Ship in a Bottle": '',
"Santa's Snot": '',
"Christmas Angel": '',
"Sprig of Holly": '',
"Polar Bear Toy": '',
"Turkey Baster": '',
"Electronic Pumpkin": '',
"Salt Shaker": '',
"Cinnamon Ornament": '',
"Spooky Paper Weight": '',
"Lump of Coal": '',
"Vanity Hand Mirror": '',
"Gingerbread Man": '',
"Christmas Lights": '',
"C4 Explosive": '',
"Jack O Lantern Lamp": '',
"Gingerbread House": '',
"Mini Sleigh": '',
"Golden Wreath": '',
"Coat Hanger": '',
"Memory Locket": '',
"Cauldron": '',
"Mistletoe": '',
"Witch's Cauldron": '',
"Gas Can": '',
"Golden Candy Cane": '',
"Christmas Express": '',
"Eggnog": '',
"Raw Ivory": '',
"Oriental Log": '',
"Snowman": '',
"Christmas Gnome": '',
"Pile of Vomit": '',
"Loaf of Bread": '',
"Deputy Star": '',
"Oriental Log Translation": '',
"Tangerine": '',
"Dancing Santa Claus '09": '',
"Photographs": '',
"Japanese/English Dictionary": '',
"Gold Nugget": '',
"Peg Leg": '',
"Birthday Cake '14": '',
"Zombie Brain": '',
"Rotten Eggs": '',
"Pack of Trojans": '',
"Snow Globe '09": '',
"Medal of Honor": '',
"Rusty Dog Tag": '',
"Human Head": '',
"Article on Crime": '',
"Piece of Cake": '',
}; };
const itemDescDict = { const itemDescDict = {
'A lottery voucher which can be traded in for 100 lottery tickets for the weekly draw, courtesy of the Lucky Shot Casino.': 'A lottery voucher which can be traded in for 100 lottery tickets for the weekly draw, courtesy of the Lucky Shot Casino.':
@ -1453,7 +2204,7 @@
'is an Alcohol Item.': '是一种酒。', 'is an Alcohol Item.': '是一种酒。',
'is a Candy Item.': '是一种糖。', 'is a Candy Item.': '是一种糖。',
'is a Booster Item.': '是一种增益道具。', 'is a Booster Item.': '是一种增益道具。',
'is an Enhancer Item.': '是一种增强道具。', 'is an Enhancer Item.': '是一种增幅器。',
'is a Supply Pack Item.': '是一种补给包。', 'is a Supply Pack Item.': '是一种补给包。',
'is an Electronic Item.': '是一种电子物品。', 'is an Electronic Item.': '是一种电子物品。',
'is a Jewelry Item.': '是一种珠宝物品。', 'is a Jewelry Item.': '是一种珠宝物品。',
@ -2444,20 +3195,20 @@
if ($('.wh-translate').length === 0) { if ($('.wh-translate').length === 0) {
$('div.content-title').before( $('div.content-title').before(
`<div class="wh-translate title-black" style="border-radius: 5px"><span>快捷操作:</span> `<div class="wh-translate title-black" style="border-radius: 5px"><span>快捷操作:</span>
<form id="wh-translate-quick" action="crimes.php?step=docrime4" method="post" style="display: inline-block"> <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 type="submit" value="18-1" /> <input 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"> <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 type="submit" value="烧仓库" /> <input 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"> <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 type="submit" value="偷夹克" /> <input type="submit" value="偷夹克" style="padding: 0 2px" />
</form> </form>
</div>`); </div>`);
} }
@ -2492,6 +3243,15 @@
OB.observe($$.get(0), options); OB.observe($$.get(0), options);
}); });
const trans = () => { const trans = () => {
// 套装预览中间的文字
$('div[class^="itemReview___"] div[class^="type___"]').each((i, e) => {
if (itemPageDict[e.innerText.trim()]) e.innerText = itemPageDict[e.innerText.trim()];
});
// 黑框 分类标题
const $your_items = $('div.title-black span.m-hide');
if (itemPageDict[$your_items.text().trim()]) $your_items.text(itemPageDict[$your_items.text().trim()]);
const $cat = $('div.title-black span.items-name');
if (itemPageDict[$cat.text().trim()]) $cat.text(itemPageDict[$cat.text().trim()]);
// 物品名翻译 // 物品名翻译
const $item_name = $('ul.current-cont').length === 0 const $item_name = $('ul.current-cont').length === 0
? $('ul#items-search-tab').children().length === 0 ? $('ul#items-search-tab').children().length === 0
@ -3953,7 +4713,7 @@
/** /**
* 还贷 * 还贷
*/ */
if ($(e).text().indexOf('Loan Shark') >= 0) { if ($(e).text().contains(/You have been charged \$[0-9,]+ for your loan/)) {
const node1Value = e.firstChild.nodeValue; // You have been charged $29,000 for your loan. You can pay this by visiting the const node1Value = e.firstChild.nodeValue; // You have been charged $29,000 for your loan. You can pay this by visiting the
//e.childNodes[1].firstChild.nodeValue; // <a href="loan.php">Loan Shark</a> //e.childNodes[1].firstChild.nodeValue; // <a href="loan.php">Loan Shark</a>
// const node3Value=e.childNodes[2].nodeValue; 内容是 ". " // const node3Value=e.childNodes[2].nodeValue; 内容是 ". "