Skip to content

Commit

Permalink
Merge pull request #37862 from snipercup/Generic-name-to-object
Browse files Browse the repository at this point in the history
Generic Name to object
  • Loading branch information
ZhilkinSerg authored Feb 9, 2020
2 parents 9e9ad73 + 3935ceb commit e5d9448
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 29 deletions.
30 changes: 10 additions & 20 deletions data/json/items/book/martial.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"id": "manual_aikido",
"copy-from": "book_martial",
"type": "GENERIC",
"name": "The Spirit of Aikido",
"name_plural": "The Spirit of Aikido",
"name": { "str": "The Spirit of Aikido", "str_pl": "The Spirit of Aikido" },
"description": "A complete guide to Aikido.",
"book_data": { "martial_art": "style_aikido" }
},
Expand Down Expand Up @@ -36,8 +35,7 @@
"id": "manual_crane",
"copy-from": "book_martial",
"type": "GENERIC",
"name": "The Red Crane",
"name_plural": "The Red Crane",
"name": { "str": "The Red Crane", "str_pl": "The Red Crane" },
"description": "A complete guide to Crane Kung Fu.",
"book_data": { "martial_art": "style_crane" }
},
Expand Down Expand Up @@ -77,8 +75,7 @@
"id": "manual_karate",
"copy-from": "book_martial",
"type": "GENERIC",
"name": "The Shotokan Karate Handbook",
"name_plural": "The Shotokan Karate Handbook",
"name": { "str": "The Shotokan Karate Handbook", "str_pl": "The Shotokan Karate Handbook" },
"description": "A complete guide to Shotokan Karate.",
"book_data": { "martial_art": "style_karate" }
},
Expand Down Expand Up @@ -110,8 +107,7 @@
"id": "manual_muay_thai",
"copy-from": "book_martial",
"type": "GENERIC",
"name": "Ultimate Muay Thai",
"name_plural": "Ultimate Muay Thai",
"name": { "str": "Ultimate Muay Thai", "str_pl": "Ultimate Muay Thai" },
"description": "A complete guide to Muay Thai.",
"book_data": { "martial_art": "style_muay_thai" }
},
Expand Down Expand Up @@ -143,8 +139,7 @@
"id": "manual_scorpion",
"copy-from": "book_martial",
"type": "GENERIC",
"name": "The Scorpion Sun Chien",
"name_plural": "The Scorpion Sun Chien",
"name": { "str": "The Scorpion Sun Chien", "str_pl": "The Scorpion Sun Chien" },
"description": "A complete guide to Scorpion Kung Fu.",
"book_data": { "martial_art": "style_scorpion" }
},
Expand Down Expand Up @@ -184,44 +179,39 @@
"id": "manual_tiger",
"copy-from": "book_martial",
"type": "GENERIC",
"name": "The White Tiger",
"name_plural": "The White Tiger",
"name": { "str": "The White Tiger", "str_pl": "The White Tiger" },
"description": "A complete guide to Tiger Kung Fu.",
"book_data": { "martial_art": "style_tiger" }
},
{
"id": "manual_toad",
"copy-from": "book_martial",
"type": "GENERIC",
"name": "The Toad Lo Mang",
"name_plural": "The Toad Lo Mang",
"name": { "str": "The Toad Lo Mang", "str_pl": "The Toad Lo Mang" },
"description": "A complete guide to Toad Kung Fu.",
"book_data": { "martial_art": "style_toad" }
},
{
"id": "manual_venom_snake",
"copy-from": "book_martial",
"type": "GENERIC",
"name": "The Viper Wei Pai",
"name_plural": "The Viper Wei Pai",
"name": { "str": "The Viper Wei Pai", "str_pl": "The Viper Wei Pai" },
"description": "A complete guide to Viper Kung Fu.",
"book_data": { "martial_art": "style_venom_snake" }
},
{
"id": "manual_zui_quan",
"copy-from": "book_martial",
"type": "GENERIC",
"name": "Zui Quan and You",
"name_plural": "Zui Quan and You",
"name": { "str": "Zui Quan and You", "str_pl": "Zui Quan and You" },
"description": "A complete guide to Zui Quan.",
"book_data": { "martial_art": "style_zui_quan" }
},
{
"id": "manual_sojutsu",
"copy-from": "book_martial",
"type": "GENERIC",
"name": "The Way of the Spear",
"name_plural": "The Way of the Spear",
"name": { "str": "The Way of the Spear", "str_pl": "The Way of the Spear" },
"description": "A complete guide to Sōjutsu.",
"book_data": { "martial_art": "style_sojutsu" }
},
Expand Down
8 changes: 3 additions & 5 deletions data/json/items/generic.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,10 @@
"id": "apparatus",
"symbol": "$",
"color": "red",
"name": "a smoking device and a source of flame",
"name_plural": "none",
"name": { "str": "a smoking device and a source of flame", "str_pl": "none" },
"description": "seeing this is a bug",
"price": 0,
"volume": 0,
"volume": "0 ml",
"flags": [ "PSEUDO" ]
},
{
Expand Down Expand Up @@ -1960,8 +1959,7 @@
"id": "mortar_adobe",
"symbol": "%",
"color": "brown",
"name": "adobe mortar",
"name_plural": "adobe mortar",
"name": { "str": "adobe mortar", "str_pl": "adobe mortar" },
"description": "A thick, pasty mud, low in sand content to reduce crumbling once dry. Used to glue larger, heavier pieces of mud and clay together.",
"category": "spare_parts",
"container": "bag_canvas",
Expand Down
6 changes: 2 additions & 4 deletions data/json/items/vehicle/farming.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
"type": "GENERIC",
"id": "v_reaper_item_advanced",
"symbol": "/",
"name": "advanced reaper",
"name_plural": "advanced reapers",
"name": { "str": "advanced reaper" },
"description": "An advanced electronic device used to cut down, collect and store crops.",
"weight": "25000 g",
"material": [ "steel", "plastic" ],
Expand All @@ -51,8 +50,7 @@
"type": "GENERIC",
"id": "v_planter_item_advanced",
"symbol": "8",
"name": "advanced seed drill",
"name_plural": "advanced seed drills",
"name": { "str": "advanced seed drill" },
"color": "dark_gray",
"description": "An assembly of tubes, spikes, and wheels, that when dragged along the ground, allows a vehicle to plant seeds automatically in suitably tilled land. This one is equipped with an electronic control system and will avoid damaging itself when used on untilled land.",
"weight": "32666 g",
Expand Down

0 comments on commit e5d9448

Please sign in to comment.