Skip to content

Commit

Permalink
Magazine name to object
Browse files Browse the repository at this point in the history
  • Loading branch information
snipercup committed Feb 25, 2020
1 parent 9e89da7 commit bc4f3de
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion data/json/items/battery.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
"id": "huge_atomic_battery_cell",
"type": "MAGAZINE",
"category": "spare_parts",
"name": "military plutonium fuel cell",
"name": { "str": "military plutonium fuel cell" },
"description": "This battery uses a huge plutonium-244 rod to stablize an exotic nanocompound. It was used in military mech-suits, was highly experimental, and had no civilian applications. Although it stores a stupendous amount of power, it cannot be recharged.",
"weight": "64000 g",
"volume": "30 L",
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/classes/magazine.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
{
"abstract": "magazine_belt",
"type": "MAGAZINE",
"name": "ammo belt",
"name": { "str": "ammo belt" },
"description": "An ammo belt consisting of metal linkages which disintegrate upon firing.",
"volume": 0,
"volume": "0 ml",
"price": 0,
"material": "steel",
"symbol": "#",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/magazine/22.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"id": "wp22mag",
"looks_like": "glock17_17",
"type": "MAGAZINE",
"name": "Walther P22 magazine",
"name": { "str": "Walther P22 magazine" },
"description": "A 10-round box magazine for the Walther P22.",
"weight": "25 g",
"volume": "126 ml",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/magazine/32.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "ppkmag",
"looks_like": "glock17_17",
"type": "MAGAZINE",
"name": "Walther PPK magazine",
"name": { "str": "Walther PPK magazine" },
"description": "A standard 8-round steel box magazine for the Walther PPK.",
"weight": "80 g",
"volume": "250 ml",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/magazine/40.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"id": "smg_40_mag",
"looks_like": "mp5mag",
"type": "MAGAZINE",
"name": "makeshift .40 20-round magazine",
"name": { "str": "makeshift .40 20-round magazine" },
"description": "An improvised magazine that is mostly compatible with a homemade 'Luty' submachinegun, with a simplified feed system. It looks like it might feed 20 rounds of .40S&W.",
"weight": "300 g",
"volume": "750 ml",
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/magazine/40mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"id": "belt40mm",
"//": "Tileset whitelist for explosive launchers.",
"type": "MAGAZINE",
"name": "grenade belt",
"name": { "str": "grenade belt" },
"description": "An ammo belt consisting of metal linkages which disintegrate upon firing. This one holds 40mm grenades and is too bulky to be worn like other ammo belts.",
"volume": 0,
"volume": "0 ml",
"price": 0,
"rigid": false,
"material": "steel",
Expand Down
6 changes: 3 additions & 3 deletions data/json/items/magazine/45.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"id": "ump45mag",
"looks_like": "mp5mag",
"type": "MAGAZINE",
"name": "UMP45 magazine",
"name": { "str": "UMP45 magazine" },
"description": "A standard 25-round box magazine for use with the H&K UMP45 SMG.",
"weight": "200 g",
"volume": "500 ml",
Expand All @@ -166,14 +166,14 @@
"id": "ump45_makeshiftmag",
"copy-from": "smg_45_mag",
"type": "MAGAZINE",
"name": "UMP45 makeshift magazine",
"name": { "str": "UMP45 makeshift magazine" },
"description": "An improvised 20-round straight single-stack box magazine consisting of little more than a bent sheet of steel held together by duct tape and hope, for use with the UMP45 SMG."
},
{
"id": "usp45mag",
"looks_like": "glock17_17",
"type": "MAGAZINE",
"name": "USP .45 magazine",
"name": { "str": "USP .45 magazine" },
"description": "A standard capacity magazine for use with the H&K USP handgun.",
"weight": "60 g",
"volume": "250 ml",
Expand Down
6 changes: 3 additions & 3 deletions data/json/items/magazine/9mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
"id": "survivor9mm_mag",
"looks_like": "mp5mag",
"type": "MAGAZINE",
"name": "makeshift STEN magazine",
"name": { "str": "makeshift STEN magazine" },
"description": "An improvised magazine that is mostly compatible with the STEN submachine gun, with a simplified feed system.",
"weight": "300 g",
"volume": "500 ml",
Expand Down Expand Up @@ -281,7 +281,7 @@
"id": "usp9mag",
"looks_like": "glock17_17",
"type": "MAGAZINE",
"name": "USP 9mm magazine",
"name": { "str": "USP 9mm magazine" },
"description": "A factory specification 15-round box magazine for use with the dependable H&K USP 9x19mm pistol.",
"weight": "75 g",
"volume": "250 ml",
Expand All @@ -298,7 +298,7 @@
"id": "uzimag",
"looks_like": "mp5mag",
"type": "MAGAZINE",
"name": "UZI magazine",
"name": { "str": "UZI magazine" },
"description": "A standard 32-round steel box magazine for use with the UZI SMG.",
"weight": "220 g",
"volume": "500 ml",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/magazine/chemical_spray.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "pressurized_tank_chem",
"looks_like": "pressurized_tank",
"type": "MAGAZINE",
"name": "pressurized chemical tank",
"name": { "str": "pressurized chemical tank" },
"description": "A makeshift pressurized 2L canister designed to feed a makeshift chemical thrower.",
"weight": "800 g",
"volume": "2 L",
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/magazine/liquid.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "pressurized_tank",
"//": "Tileset whitelist for flame or chemical throwers.",
"type": "MAGAZINE",
"name": "pressurized fuel tank",
"name": { "str": "pressurized fuel tank" },
"description": "A pressurized 3L canister designed to feed a flamethrower.",
"weight": "600 g",
"volume": "3 L",
Expand All @@ -20,7 +20,7 @@
"id": "aux_pressurized_tank",
"looks_like": "pressurized_tank",
"type": "MAGAZINE",
"name": "small pressurized fuel tank",
"name": { "str": "small pressurized fuel tank" },
"description": "A pressurized 0.5L canister built for use with a small auxiliary flamethrower.",
"weight": "100 g",
"volume": "500 ml",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/magazine/nail.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "nailmag",
"looks_like": "stanag30",
"type": "MAGAZINE",
"name": "nail rifle magazine",
"name": { "str": "nail rifle magazine" },
"description": "An improvised magazine for use with a nail rifle. Little more than a tin can, spring and some duct tape it is awkward to reload and not especially reliable.",
"weight": "60 g",
"volume": "250 ml",
Expand Down
10 changes: 5 additions & 5 deletions data/json/items/magazine/shot.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"id": "USAS10mag",
"looks_like": "shotbelt_20",
"type": "MAGAZINE",
"name": "USAS-12 box magazine",
"name": { "str": "USAS-12 box magazine" },
"description": "A removable plastic magazine for the USAS-12 shotgun. Holds 10 rounds.",
"weight": "750 g",
"volume": "360 ml",
Expand All @@ -55,7 +55,7 @@
"id": "USAS20mag",
"looks_like": "shotbelt_20",
"type": "MAGAZINE",
"name": "USAS-12 drum magazine",
"name": { "str": "USAS-12 drum magazine" },
"description": "A removable plastic magazine for the USAS-12 shotgun. Holds 20 rounds.",
"weight": "794 g",
"volume": "1742 ml",
Expand All @@ -73,7 +73,7 @@
"id": "shotbelt_20",
"//": "Tileset whitelist for shotgun magazines and speedloaders",
"type": "MAGAZINE",
"name": "shotshell belt",
"name": { "str": "shotshell belt" },
"description": "A non-disintegrating cloth ammo belt which can hold up to 20 shotgun shells. Notably less reliable than metal ammo belts.",
"weight": "200 g",
"volume": "500 ml",
Expand All @@ -91,7 +91,7 @@
"id": "shot_speedloader6",
"looks_like": "shotbelt_20",
"type": "MAGAZINE",
"name": "shotgun 6-round speedloader",
"name": { "str": "shotgun 6-round speedloader" },
"description": "A plastic tube with a sliding handle that can be used to quickly load 6 rounds into a shotgun's tube in a much shorter period of time than by hand. It needs to interface with a chute to be used with any speed.",
"weight": "480 g",
"volume": "1750 ml",
Expand All @@ -107,7 +107,7 @@
"id": "shot_speedloader8",
"looks_like": "shotbelt_20",
"type": "MAGAZINE",
"name": "shotgun 8-round speedloader",
"name": { "str": "shotgun 8-round speedloader" },
"description": "A plastic tube with a sliding handle that can be used to quickly load 8 rounds into a shotgun's tube in a much shorter period of time than by hand. It needs to interface with a chute to be used with any speed.",
"weight": "510 g",
"volume": "2 L",
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/magazine/weldgas.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "tinyweldtank",
"looks_like": "pressurized_tank",
"type": "MAGAZINE",
"name": "small welding tank",
"name": { "str": "small welding tank" },
"description": "A compact steel cylinder designed for holding pressurized welding gases. It is marked with several faded and now unreadable symbols.",
"weight": "1500 g",
"volume": "1 L",
Expand All @@ -21,7 +21,7 @@
"id": "weldtank",
"looks_like": "pressurized_tank",
"type": "MAGAZINE",
"name": "welding tank",
"name": { "str": "welding tank" },
"description": "A large steel cylinder designed for holding pressurized welding gases. It is marked with several faded and now unreadable symbols.",
"weight": "6000 g",
"volume": "3 L",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/vehicle/fuel_storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"id": "fuel_bunker",
"type": "MAGAZINE",
"name": "fuel bunker",
"name": { "str": "fuel bunker" },
"description": "A bin for holding solid fuel.",
"symbol": "]",
"color": "white",
Expand Down

0 comments on commit bc4f3de

Please sign in to comment.