Skip to content

Commit

Permalink
Merge pull request #38601 from snipercup/Generic-modern-json
Browse files Browse the repository at this point in the history
Generic name to object, volume to string, flags to array
  • Loading branch information
Rivet-the-Zombie authored Mar 7, 2020
2 parents fc36f71 + d509616 commit dccc2bf
Show file tree
Hide file tree
Showing 16 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions data/json/items/book/maps.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"id": "roadmap",
"copy-from": "abstractmap",
"type": "GENERIC",
"name": "road map",
"name": { "str": "road map" },
"description": "This is a road map for the local area. Listing information on civic sites like hospitals and police stations, it can be used to add points of interest to your map.",
"color": "yellow",
"use_action": {
Expand Down Expand Up @@ -109,7 +109,7 @@
"id": "restaurantmap",
"copy-from": "abstractmap",
"type": "GENERIC",
"name": "restaurant guide",
"name": { "str": "restaurant guide" },
"description": "This is glossy printed pamphlet that details dining establishments in the local area. Printed by the Chamber of Commerce, it lists the addresses of all the best diners and bars. Using it will add points of interest to your map.",
"color": "pink",
"use_action": {
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/chemicals_and_resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,7 @@
"id": "sandbag",
"type": "GENERIC",
"category": "other",
"name": "sandbag",
"name": { "str": "sandbag" },
"description": "This is a canvas sack filled with sand. It can be used to construct simple barricades.",
"weight": "24415 g",
"volume": "16L",
Expand Down
12 changes: 6 additions & 6 deletions data/json/items/generic.json
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@
"id": "blade_scythe",
"symbol": "(",
"color": "light_gray",
"name": "scythe blade",
"name": { "str": "scythe blade" },
"description": "A large, curved blade. Could be used to assemble a scythe, or make an improvised polearm.",
"category": "spare_parts",
"price": 28000,
Expand Down Expand Up @@ -605,7 +605,7 @@
"id": "rebar",
"symbol": "/",
"color": "dark_gray",
"name": "rebar",
"name": { "str": "rebar" },
"description": "A length of rebar, makes a nice melee weapon, and could be handy in constructing tougher walls and such.",
"category": "spare_parts",
"price": 7500,
Expand Down Expand Up @@ -1491,7 +1491,7 @@
"id": "radio_repeater_mod",
"symbol": ",",
"color": "light_gray",
"name": "radio repeater mod",
"name": { "str": "radio repeater mod" },
"category": "spare_parts",
"description": "A system designed to convert a radio station into an autonomous repeater.",
"price": 25000,
Expand Down Expand Up @@ -2076,7 +2076,7 @@
"id": "sapphire",
"copy-from": "garnet",
"color": "blue",
"name": "sapphire",
"name": { "str": "sapphire" },
"description": "A sparkling sapphire."
},
{
Expand Down Expand Up @@ -2535,13 +2535,13 @@
"id": "id_science",
"symbol": ",",
"color": "blue",
"name": "science ID card",
"name": { "str": "science ID card" },
"description": "This ID card once belonged to a scientist. The reverse side describes protocol for using it; this could grant access at one control panel, if you can find one.",
"price": 60000,
"price_postapoc": 5000,
"material": "plastic",
"weight": "6 g",
"volume": 0,
"volume": "15 ml",
"to_hit": -3
},
{
Expand Down
8 changes: 4 additions & 4 deletions data/json/items/melee/swords_and_blades.json
Original file line number Diff line number Diff line change
Expand Up @@ -429,13 +429,13 @@
"type": "GENERIC",
"symbol": "/",
"color": "light_gray",
"name": "scimitar",
"name": { "str": "scimitar" },
"description": "This is a dull, cheaply made replica of a curved sword, associated with various Middle Eastern and Central Asian countries.",
"price": 9300,
"price_postapoc": 0,
"material": "aluminum",
"techniques": [ "WBLOCK_2" ],
"flags": "SHEATH_SWORD",
"flags": [ "SHEATH_SWORD" ],
"weight": "586 g",
"volume": "2 L",
"bashing": 6,
Expand Down Expand Up @@ -1332,13 +1332,13 @@
"type": "GENERIC",
"symbol": "/",
"color": "light_gray",
"name": "rapier",
"name": { "str": "rapier" },
"description": "This is a blunted, cheap replica of a thin sword with an ornate hand guard. It looks like the preferred weapon of gentlemen and swashbucklers. Light and quick, it makes any battle a stylish battle.",
"price": 9800,
"price_postapoc": 0,
"material": "aluminum",
"techniques": [ "RAPID", "WBLOCK_2", "PRECISE" ],
"flags": "SHEATH_SWORD",
"flags": [ "SHEATH_SWORD" ],
"weight": "660 g",
"volume": "1500 ml",
"bashing": 4,
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/melee/unarmed_weapons.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"id": "knuckle_katar",
"symbol": "!",
"color": "dark_gray",
"name": "razorbar katar",
"name": { "str": "razorbar katar" },
"description": "Five pieces of rebar sharpened to cruel points and strapped to a brace fastened at wrist and forearm on both arms. The next bub better watch out.",
"material": "steel",
"volume": "500 ml",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/robot_parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
{
"type": "GENERIC",
"id": "sensor_module",
"name": "sensor array",
"name": { "str": "sensor array" },
"description": "A wide range of sensors meant to give the ability to perceive the surrounding world.",
"copy-from": "robot_module_abstract"
},
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/tool/cooking.json
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
"id": "flask_yeast",
"type": "GENERIC",
"category": "food",
"name": "sealed yeast culture",
"name": { "str": "sealed yeast culture", "str_pl": "sealed yeast culture" },
"description": "A sealed flask holding sanitized yeast wort. You may harvest the yeast inside when it's done culturing.",
"weight": "52 g",
"volume": "250 ml",
Expand Down Expand Up @@ -576,7 +576,7 @@
"id": "milk_cream_rising",
"type": "GENERIC",
"category": "food",
"name": "rising cream jar",
"name": { "str": "rising cream jar" },
"description": "This jar contains raw milk separating into cream. You can seal up the jar once the process is completed.",
"weight": "3461 g",
"volume": "3000 ml",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/tool/science.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@
"id": "stand_ring",
"type": "GENERIC",
"category": "spare_parts",
"name": "ring stand",
"name": { "str": "ring stand" },
"description": "This is a heavy metal plate and a sturdy rod, for clamping lab stuff to.",
"weight": "900 g",
"volume": "550ml",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/tool/toileteries.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"id": "razor_blade",
"symbol": ",",
"color": "light_cyan",
"name": "razor blade",
"name": { "str": "razor blade" },
"description": "A double-edged razor blade.",
"price": 600,
"price_postapoc": 100,
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/vehicle/armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "rebar_plate",
"type": "GENERIC",
"category": "veh_parts",
"name": "rebar grate",
"name": { "str": "rebar grate" },
"description": "Interlocked sections of rebar that allows for light and effective reinforcement of vehicle sections.",
"weight": "2200 g",
"volume": "3 L",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/vehicle/controls.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{
"type": "GENERIC",
"id": "omnicamera",
"name": "security camera",
"name": { "str": "security camera" },
"description": "A security camera you could connect to a display. Image quality is quite low, but the field of vision is great.",
"weight": "1100 g",
"to_hit": -3,
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/vehicle/engineering.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"type": "GENERIC",
"id": "v_rockwheel_item",
"symbol": "&",
"name": "rockwheel",
"name": { "str": "rockwheel" },
"color": "dark_gray",
"description": "A large and heavy jagged metal disc to dig trenches.",
"weight": "62000 g",
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/vehicle/lights.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{
"type": "GENERIC",
"id": "headlight_reinforced",
"name": "reinforced headlight",
"name": { "str": "reinforced headlight" },
"description": "A vehicle headlight with a cage built around it to protect it from damage without reducing its effectiveness.",
"weight": "1200 g",
"to_hit": -2,
Expand All @@ -50,7 +50,7 @@
{
"type": "GENERIC",
"id": "wide_headlight_reinforced",
"name": "reinforced wide-angle headlight",
"name": { "str": "reinforced wide-angle headlight" },
"description": "A wide-angle vehicle headlight with a cage built around it to protect it from damage without reducing its effectiveness.",
"weight": "4800 g",
"volume": "1250 ml",
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/vehicle/seating.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"type": "GENERIC",
"id": "seat",
"name": "seat",
"name": { "str": "seat" },
"description": "A soft car seat made from synthetic fabric.",
"weight": "9071 g",
"to_hit": -4,
Expand All @@ -28,7 +28,7 @@
{
"type": "GENERIC",
"id": "saddle",
"name": "saddle",
"name": { "str": "saddle" },
"description": "A leather-covered seat designed to be straddled.",
"weight": "300 g",
"material": [ "plastic", "aluminum" ],
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/vehicle/solar.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{
"type": "GENERIC",
"id": "reinforced_solar_panel",
"name": "reinforced solar panel",
"name": { "str": "reinforced solar panel" },
"description": "A solar panel that has been covered with a pane of reinforced glass to protect the delicate solar cells from zombies or errant baseballs. The glass causes this panel to produce slightly less power than a normal panel. Useful for a vehicle.",
"weight": "24153 g",
"color": "light_blue",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/vehicle/utilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
{
"type": "GENERIC",
"id": "recharge_station",
"name": "recharging station",
"name": { "str": "recharging station" },
"description": "A universal recharging station designed to operate on vehicle power. While on it will steadily charge all rechargeable batteries (battery cells, lead-acid batteries, etc) placed directly within its storage space. The system can only be installed onto existing storage compartments, and is controlled from a dashboard or electronics control unit.",
"weight": "10000 g",
"to_hit": 1,
Expand Down

0 comments on commit dccc2bf

Please sign in to comment.