Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(i18n): metric bullets part 2: rename .308 -> 7.62x51mm #2724

Merged
merged 2 commits into from
Apr 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/help/texts.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
"Q: Why can't I carry anything?\nA: At the start of the game you only have the space in your pockets. A good first goal of many survivors is to find a backpack or pouch to store things in.",
"Q: Help! I started a fire and now my house is burning down!\nA: Fires will spread to nearby flammable tiles if they are able. Lighting a fire in a set-up brazier, stove, wood stove, stone fireplace, pit, or even in a kitchen stove will stop it from spreading. Fire extinguishers can put out fires that get out of control. You can put out a fire in the fireplace by examining it.",
"Q: I'm cold and can't sleep at night!\nA: Gather some clothes and put them in the place you use to sleep in. Being hungry, thirsty, wet, or injured can also make you feel the cold more, so try to avoid these effects before you go to sleep. Pillows and some other appliances will help you sleep, and the quality of your sleeping spot is also very important.",
"Q: There are too many calibers and guns. It confuses me - I don't usually understand what is compatible with what.\nA: Try to remember few usual calibers: \n9x19mm (or simply 9mm) - fits most basic pistols (Glock, for example) and SMGs, quite easy to find and gets job done versus usual zombies;\n 00 buckshot - for most shotguns. Very powerful against unarmored target at closer ranges;\n 5.56mm (.223) - for rifles. Good long range option.\n 7.62mm (.308) - for even more powerful rifles. Also good long range option.\n It should be enough in the beginning. Or even just grab any shotgun, fill it with buckshot and give them hell!",
"Q: There are too many calibers and guns. It confuses me - I don't usually understand what is compatible with what.\nA: Try to remember few usual calibers: \n9x19mm (or simply 9mm) - fits most basic pistols (Glock, for example) and SMGs, quite easy to find and gets job done versus usual zombies;\n 00 buckshot - for most shotguns. Very powerful against unarmored target at closer ranges;\n 5.56x45mm (.223) - for rifles. Good long range option.\n 7.62x51mm (.308) - for even more powerful rifles. Also good long range option.\n It should be enough in the beginning. Or even just grab any shotgun, fill it with buckshot and give them hell!",
"Q: I have a question that's not addressed here. How can I get an answer?\nA: Check the wiki, or ask the helpful people on the forum or at the chat channels. Links are provided in MOTD in the main menu."
]
}
Expand Down
10 changes: 5 additions & 5 deletions data/json/items/ammo/308.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"id": "308",
"type": "AMMO",
"name": { "str": ".308 Winchester" },
"name": { "str": "7.62x51mm '.308 Winchester'" },
"description": ".308 Winchester ammunition with 168gr hollow point bullets. The .308 round is one of the most popular hunting cartridges in the world due to its accuracy and power.",
"weight": "18 g",
"volume": "250 ml",
Expand All @@ -27,7 +27,7 @@
"id": "762_51",
"copy-from": "308",
"type": "AMMO",
"name": { "str": "7.62x51mm M80" },
"name": { "str": "7.62x51mm NATO M80" },
"casing": "762_51_casing",
"description": "A 7.62x51mm NATO round with a 147gr FMJ bullet. It is a powerful rifle cartridge commonly used by hunters and military snipers because of its high accuracy and long range.",
"relative": { "damage": { "damage_type": "bullet", "amount": -7, "armor_penetration": 17 }, "dispersion": -10 },
Expand All @@ -46,7 +46,7 @@
"id": "bp_308",
"copy-from": "308",
"type": "AMMO",
"name": { "str": ".308 Winchester, black powder" },
"name": { "str": "7.62x51mm '.308 Winchester', black powder" },
"proportional": {
"price": 0.3,
"damage": { "damage_type": "bullet", "amount": 0.76, "armor_penetration": 0.5 },
Expand All @@ -60,7 +60,7 @@
"id": "bp_762_51",
"copy-from": "762_51",
"type": "AMMO",
"name": { "str": "7.62x51mm, black powder" },
"name": { "str": "7.62x51mm NATO, black powder" },
"proportional": {
"price": 0.3,
"damage": { "damage_type": "bullet", "amount": 0.76, "armor_penetration": 0.5 },
Expand All @@ -74,7 +74,7 @@
"id": "bp_762_51_incendiary",
"copy-from": "762_51_incendiary",
"type": "AMMO",
"name": { "str": "7.62x51mm tracer, black powder" },
"name": { "str": "7.62x51mm NATO tracer, black powder" },
"proportional": {
"price": 0.3,
"damage": { "damage_type": "bullet", "amount": 0.76, "armor_penetration": 0.5 },
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/ammo_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
{
"type": "ammunition_type",
"id": "308",
"name": ".308",
"name": "7.62x51mm",
"default": "762_51"
},
{
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/generic/ammolink.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"id": "ammolink308",
"copy-from": "ammolink",
"type": "GENERIC",
"name": { "str": ".308 ammo belt linkage" },
"name": { "str": "7.62x51mm ammo belt linkage" },
"use_action": { "type": "ammobelt", "belt": "belt308" }
},
{
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/generic/casing.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
"copy-from": "casing",
"looks_like": "223_casing",
"type": "GENERIC",
"name": { "str": ".308 casing" },
"description": "An empty casing from a .308 round.",
"name": { "str": "7.62x51mm '.308 Winchester' casing" },
"description": "An empty casing from a 7.62x51mm '.308 Winchester' round.",
"weight": "6 g",
"volume": "9ml"
},
Expand Down
8 changes: 4 additions & 4 deletions data/json/items/gun/308.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@
"copy-from": "rifle_manual",
"type": "GUN",
"name": { "str": "handmade heavy carbine" },
"//": "It's amongst the smallest of the .308 firearms, and a scrap weapon as well. This means a short handmade barrel, and considerable loss of energy.",
"description": "A homemade lever-action magazine-fed smoothbore rifle. While still a primitive pipe and 2x4 design, some minor improvements have been made, such as being able to accept G3 compatible magazines, and chambering the more powerful .308 rounds.",
"//": "It's amongst the smallest of the 7.62x51mm(.308) firearms, and a scrap weapon as well. This means a short handmade barrel, and considerable loss of energy.",
"description": "A homemade lever-action magazine-fed smoothbore rifle. While still a primitive pipe and 2x4 design, some minor improvements have been made, such as being able to accept G3 compatible magazines, and chambering the more powerful 7.62x51mm (.308) rounds.",
"weight": "2311 g",
"volume": "2 L",
"price": 10000,
Expand Down Expand Up @@ -243,7 +243,7 @@
"copy-from": "rifle_manual",
"type": "GUN",
"name": { "str_sp": "Savage 111F" },
"description": "A very accurate rifle chambered for the powerful .308 round. Its very low ammo capacity is offset by its accuracy and near-complete lack of recoil.",
"description": "A very accurate rifle chambered for the powerful 7.62x51mm (.308) round. Its very low ammo capacity is offset by its accuracy and near-complete lack of recoil.",
"weight": "2993 g",
"volume": "3 L",
"price": 53000,
Expand All @@ -264,7 +264,7 @@
"copy-from": "scar_l",
"type": "GUN",
"name": { "str_sp": "FN SCAR-H" },
"description": "A highly accurate and modular battle rifle specially designed for the United States Special Operations Command. The 'H' in its name stands for heavy, as it uses the powerful .308 round.",
"description": "A highly accurate and modular battle rifle specially designed for the United States Special Operations Command. The 'H' in its name stands for heavy, as it uses the powerful 7.62x51mm (.308) round.",
"weight": "3640 g",
"ascii_picture": "scar-H",
"ammo": "308",
Expand Down
2 changes: 1 addition & 1 deletion data/json/monsters/turrets.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
"id": "mon_turret_longrange",
"type": "MONSTER",
"name": { "str": "longrange milspec turret" },
"description": "The General Atomics TX-7 Sniper, an automated milspec turret equipped with a 7.62mm gun. Designed as a counter-sniper turret to cover the vulnerability of TX-5 Sentinel to sniper fire. Its advanced target recognition system and 7.62mm gun allows it to engage targets protected by modern body armor at very long range.",
"description": "The General Atomics TX-7 Sniper, an automated milspec turret equipped with a 7.62x51mm gun. Designed as a counter-sniper turret to cover the vulnerability of TX-5 Sentinel to sniper fire. Its advanced target recognition system and 7.62x51mm gun allows it to engage targets protected by modern body armor at very long range.",
"default_faction": "military",
"species": [ "ROBOT" ],
"looks_like": "mon_turret_bmg",
Expand Down
8 changes: 4 additions & 4 deletions data/json/obsoletion/items.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"id": "retool_223",
"type": "GUNMOD",
"name": { "str": "5.56x45mm caliber conversion kit" },
"description": "This kit is used to convert a shotgun, 5.45x39mm, 7.62x39mm, .30-06, or .308 rifle to the popular, accurate, and lighter 5.56x45mm caliber. The conversion results in slight reductions to both accuracy and ammo capacity.",
"description": "This kit is used to convert a shotgun, 5.45x39mm, 7.62x39mm, .30-06, or 7.62x51mm rifle to the popular, accurate, and lighter 5.56x45mm caliber. The conversion results in slight reductions to both accuracy and ammo capacity.",
"weight": "114 g",
"volume": "500 ml",
"integral_volume": 0,
Expand All @@ -215,8 +215,8 @@
{
"id": "retool_308",
"type": "GUNMOD",
"name": { "str": ".308 caliber conversion kit" },
"description": "This kit is used to convert a shotgun or 7.62x39mm, .223 or .30-06 rifle to the popular and powerful .308 caliber. The conversion results in reduced ammo capacity and a slight reduction to accuracy.",
"name": { "str": "7.62x51mm caliber conversion kit" },
"description": "This kit is used to convert a shotgun or 7.62x39mm, .223 or .30-06 rifle to the popular and powerful 7.62x51mm caliber. The conversion results in reduced ammo capacity and a slight reduction to accuracy.",
"weight": "114 g",
"volume": "500 ml",
"integral_volume": 0,
Expand Down Expand Up @@ -4027,7 +4027,7 @@
"id": "reloaded_308",
"copy-from": "308",
"type": "AMMO",
"name": { "str": ".308 Winchester, reloaded" },
"name": { "str": "7.62x51mm '.308 Winchester', reloaded" },
"proportional": { "price": 0.7, "damage": { "damage_type": "bullet", "amount": 0.9 }, "dispersion": 1.1 },
"extend": { "effects": [ "RECYCLED" ] },
"delete": { "effects": [ "NEVER_MISFIRES" ], "flags": [ "IRREPLACEABLE_CONSUMABLE" ] }
Expand Down
4 changes: 2 additions & 2 deletions data/json/requirements/ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
{
"id": "223_casehead",
"type": "requirement",
"//": "References needed for boltfaces and magazines using .223 or derivatives",
"//": "References needed for boltfaces and magazines using 5.56x45mm (.223) or derivatives",
"tools": [
[
[ "300blk_casing", -1 ],
Expand All @@ -121,7 +121,7 @@
{
"id": "308_casehead",
"type": "requirement",
"//": "References needed for boltfaces and magazines using .308 or derivatives",
"//": "References needed for boltfaces and magazines using 7.62x51mm (.308) or derivatives",
"tools": [
[
[ "308_casing", -1 ],
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Aftershock/items/corpses.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"copy-from": "broken_milbot_disarmed",
"color": "light_gray",
"name": "broken military robot",
"description": "A broken military robot, shattered and inert. This one is armed with an integrated 7.62mm firearm. Could be stripped for parts."
"description": "A broken military robot, shattered and inert. This one is armed with an integrated 7.62x51mm firearm. Could be stripped for parts."
},
{
"type": "GENERIC",
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Aftershock/items/inactiverobot.json
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
"type": "TOOL",
"copy-from": "bot_milbot_base",
"name": "inactive military robot",
"description": "An unpowered military robot fitted with an integrated 7.62 firearm and electric prod. Activate this item, with ammo in your inventory, to load and deploy the robot.",
"description": "An unpowered military robot fitted with an integrated 7.62x51mm firearm and electric prod. Activate this item, with ammo in your inventory, to load and deploy the robot.",
"color": "green",
"use_action": {
"type": "place_monster",
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Aftershock/mobs/robots.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@
"type": "MONSTER",
"copy-from": "mon_milbot_base",
"name": "military robot",
"description": "A military robot still operating due to its internal power core. This one is armed with an electric prod and an integrated 7.62mm firearm.",
"description": "A military robot still operating due to its internal power core. This one is armed with an electric prod and an integrated 7.62x51mm firearm.",
"diff": 20,
"melee_damage": [ { "damage_type": "electric", "amount": 6 } ],
"starting_ammo": { "762_51": 1000 },
Expand Down
12 changes: 6 additions & 6 deletions data/mods/EW_Pack/obsolete.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
{
"type": "GUNMOD",
"id": "retool_545",
"name": "5.45 caliber conversion kit",
"name": "5.45x42mm caliber conversion kit",
"location": "bore",
"weight": "114 g",
"color": "green",
"price": 50000,
"description": "This kit is used to convert 6.54 rifle to the 5.45 caliber. The conversion results in slight reductions to recoil.",
"description": "This kit is used to convert 6.54x42mm rifle to the 5.45x39mm caliber. The conversion results in slight reductions to recoil.",
"symbol": ":",
"material": [ "steel" ],
"volume": "500 ml",
Expand All @@ -19,12 +19,12 @@
{
"type": "GUNMOD",
"id": "retool_654",
"name": "6.54 caliber conversion kit",
"name": "6.54x42mm caliber conversion kit",
"location": "bore",
"weight": "114 g",
"color": "green",
"price": 50000,
"description": "This kit is used to convert 5.45 rifle to the 6.54 caliber. The conversion results in increased recoil.",
"description": "This kit is used to convert 5.45x39mm rifle to the 6.54x42mm caliber. The conversion results in increased recoil.",
"symbol": ":",
"material": [ "steel" ],
"volume": "500 ml",
Expand All @@ -36,12 +36,12 @@
{
"type": "GUNMOD",
"id": "retool_762",
"name": "7.62 caliber conversion kit",
"name": "7.62x39mm caliber conversion kit",
"location": "bore",
"weight": "114 g",
"color": "green",
"price": 50000,
"description": "This kit is used to convert 6.54 rifle to the 7.62 caliber. The conversion results in increased recoil.",
"description": "This kit is used to convert 6.54x42mm rifle to the 7.62x39mm caliber. The conversion results in increased recoil.",
"symbol": ":",
"material": [ "steel" ],
"volume": "500 ml",
Expand Down
4 changes: 2 additions & 2 deletions data/mods/Modular_Turrets/corpses.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@
"type": "GENERIC",
"copy-from": "broken_turret_base",
"color": "light_green",
"name": "broken 7.62mm turret",
"description": "A broken military-grade 7.62mm turret. Much less threatening now that it lies limp on solid ground. Could be gutted for parts."
"name": "broken 7.62x51mm turret",
"description": "A broken military-grade 7.62x51mm turret. Much less threatening now that it lies limp on solid ground. Could be gutted for parts."
},
{
"id": "broken_milturret_50bmg",
Expand Down
6 changes: 3 additions & 3 deletions data/mods/Modular_Turrets/items.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"id": "robopart_308",
"type": "GENERIC",
"copy-from": "robopart_base",
"name": "integral 7.62mm firearm"
"name": "integral 7.62x51mm firearm"
},
{
"id": "robopart_shot",
Expand Down Expand Up @@ -356,8 +356,8 @@
"id": "bot_milturret_308",
"copy-from": "bot_turret_base",
"type": "TOOL",
"name": "inactive 7.62mm military turret",
"description": "An inactive 7.62mm military turret. Up to 100 standard 7.62mm NATO rounds will be automatically loaded from your inventory into the turret upon activation. Place the turret and it will ID you as friendly with its advanced IFF software. Consult your safety manual in the event of a malfunction.",
"name": "inactive 7.62x51mm military turret",
"description": "An inactive 7.62x51mm military turret. Up to 100 standard 7.62x51mm NATO rounds will be automatically loaded from your inventory into the turret upon activation. Place the turret and it will ID you as friendly with its advanced IFF software. Consult your safety manual in the event of a malfunction.",
"color": "green",
"price": 10000,
"price_postapoc": 10000,
Expand Down
4 changes: 2 additions & 2 deletions data/mods/Modular_Turrets/monster.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@
"id": "mon_milturret_308",
"type": "MONSTER",
"copy-from": "base_turret",
"name": "7.62mm turret",
"name": "7.62x51mm turret",
"symbol": "t",
"description": "The Leadworks LLC's TX-32H Sentry, a military-grade automated machinegun turret using state of the art ATR systems to dynamically reorient itself to new friends and enemies alike. Its integrated 7.62 rifle can swivel a full 360 degrees.",
"description": "The Leadworks LLC's TX-32H Sentry, a military-grade automated machinegun turret using state of the art ATR systems to dynamically reorient itself to new friends and enemies alike. Its integrated 7.62x51mm rifle can swivel a full 360 degrees.",
"default_faction": "military",
"diff": 20,
"color": "green",
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Modular_Turrets/roboguns.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"id": "robogun_308",
"type": "GUN",
"copy-from": "robogun_base",
"name": "integral 7.62mm firearm",
"name": "integral 7.62x51mm firearm",
"skill": "rifle",
"ammo": "308",
"clip_size": 100,
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Salvaged_Robots/corpses.json
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
"copy-from": "broken_milbot_disarmed",
"color": "light_gray",
"name": "broken military robot",
"description": "A broken military robot, shattered and inert. This one is armed with an integrated 7.62mm firearm. Could be stripped for parts."
"description": "A broken military robot, shattered and inert. This one is armed with an integrated 7.62x51mm firearm. Could be stripped for parts."
},
{
"type": "GENERIC",
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Salvaged_Robots/items.json
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@
"type": "TOOL",
"copy-from": "bot_milbot_base",
"name": "inactive military robot",
"description": "An unpowered military robot fitted with an integrated 7.62 firearm and electric prod. Activate this item, with ammo in your inventory, to load and deploy the robot.",
"description": "An unpowered military robot fitted with an integrated 7.62x51mm firearm and electric prod. Activate this item, with ammo in your inventory, to load and deploy the robot.",
"color": "green",
"use_action": {
"type": "place_monster",
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Salvaged_Robots/monsters.json
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@
"type": "MONSTER",
"copy-from": "mon_milbot_base",
"name": "military robot",
"description": "A military robot still operating due to its internal power core. This one is armed with an electric prod and an integrated 7.62mm firearm.",
"description": "A military robot still operating due to its internal power core. This one is armed with an electric prod and an integrated 7.62x51mm firearm.",
"diff": 20,
"melee_damage": [ { "damage_type": "electric", "amount": 6 } ],
"starting_ammo": { "762_51": 1000 },
Expand Down
4 changes: 2 additions & 2 deletions data/mods/blazemod/vehicleparts/blaze_turrets_vanilla.json
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@
"id": "mounted_rifle_308",
"copy-from": "turret",
"type": "vehicle_part",
"name": { "str": "mounted .308 pipe rifle" },
"name": { "str": "mounted 7.62x51mm pipe rifle" },
"item": "rifle_308",
"breaks_into": [ { "item": "rifle_308", "prob": 50 } ],
"requirements": { "install": { "skills": [ [ "mechanics", 4 ] ] }, "removal": { "skills": [ [ "mechanics", 2 ] ] } }
Expand Down Expand Up @@ -631,7 +631,7 @@
"id": "mounted_surv_carbine_223",
"copy-from": "turret",
"type": "vehicle_part",
"name": { "str": "mounted 223 carbine" },
"name": { "str": "mounted 5.56x45mm carbine" },
"item": "surv_carbine_223",
"breaks_into": [ { "item": "surv_carbine_223", "prob": 50 } ],
"requirements": { "install": { "skills": [ [ "mechanics", 4 ] ] }, "removal": { "skills": [ [ "mechanics", 2 ] ] } }
Expand Down
Loading
Loading