Skip to content

Commit

Permalink
feat(content): books base off base book (#4615)
Browse files Browse the repository at this point in the history
* feat(content): books base off base book

* style(autofix.ci): automated formatting

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
VissValdyr and autofix-ci[bot] committed May 8, 2024
1 parent 29ff81c commit c553724
Show file tree
Hide file tree
Showing 32 changed files with 227 additions and 333 deletions.
9 changes: 3 additions & 6 deletions data/json/items/book/archery.json
Expand Up @@ -2,14 +2,13 @@
{
"id": "book_archery",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "Lessons for the Novice Bowhunter", "str_pl": "copies of Lessons for the Novice Bowhunter" },
"description": "This hefty paperback book contains all the information needed for novice archers to get started hunting with a variety of bows and crossbows.",
"weight": "932 g",
"volume": "1250 ml",
"price": "20 USD",
"price_postapoc": "5 USD",
"material": [ "paper" ],
"symbol": "?",
"color": "green",
"skill": "archery",
"max_level": 2,
Expand All @@ -19,14 +18,13 @@
{
"id": "mag_archery",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "Archery for Kids", "str_pl": "issues of Archery for Kids" },
"description": "Will you be able to place the arrow right into the bullseye? It is not that easy, but once you know how it's done, you will have a lot of fun with archery.",
"weight": "60 g",
"volume": "250 ml",
"price": "480 cent",
"price_postapoc": "250 cent",
"material": [ "paper" ],
"symbol": "?",
"color": "pink",
"skill": "archery",
"max_level": 1,
Expand All @@ -37,14 +35,13 @@
{
"id": "manual_archery",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "Zen and the Art of Archery", "str_pl": "copies of Zen and the Art of Archery" },
"description": "This massive book contains a wealth of vital information for the novice archer.",
"weight": "1454 g",
"volume": "1250 ml",
"price": "19 USD",
"price_postapoc": "5 USD",
"material": [ "paper" ],
"symbol": "?",
"color": "green",
"skill": "archery",
"max_level": 3,
Expand Down
9 changes: 3 additions & 6 deletions data/json/items/book/barter.json
Expand Up @@ -2,14 +2,13 @@
{
"id": "mag_barter",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "car buyer's guide" },
"description": "Normally this glossy, ad-filled magazine about cars would be pointless, but it has a series of articles on haggling techniques.",
"weight": "90 g",
"volume": "250 ml",
"price": "450 cent",
"price_postapoc": "50 cent",
"material": [ "paper" ],
"symbol": "?",
"color": "pink",
"skill": "barter",
"max_level": 1,
Expand All @@ -19,14 +18,13 @@
{
"id": "manual_business",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "How to Succeed in Business", "str_pl": "copies of How to Succeed in Business" },
"description": "Useful if you want to get a good deal when purchasing goods.",
"weight": "454 g",
"volume": "750 ml",
"price": "19 USD",
"price_postapoc": "250 cent",
"material": [ "paper" ],
"symbol": "?",
"color": "green",
"skill": "barter",
"max_level": 3,
Expand All @@ -37,6 +35,7 @@
{
"id": "textbook_business",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "Advanced Economics", "str_pl": "copies of Advanced Economics" },
"//": "Biz majors can afford it. Surely you're gonna make US$60K/yr out of school, and twice that in five years?",
"description": "A college textbook on economics.",
Expand All @@ -45,8 +44,6 @@
"price": "98 USD",
"price_postapoc": "250 cent",
"bashing": 5,
"material": [ "paper" ],
"symbol": "?",
"color": "blue",
"skill": "barter",
"required_level": 3,
Expand Down
14 changes: 14 additions & 0 deletions data/json/items/book/base.json
@@ -0,0 +1,14 @@
[
{
"abstract": "base_book",
"type": "BOOK",
"name": { "str": "base book abstract" },
"description": "The original book. All other books in the world are based on it. Copycats.",
"bashing": 2,
"material": [ "paper" ],
"symbol": "?",
"looks_like": "story_book",
"color": "light_cyan",
"flags": [ "TINDER", "FLAMMABLE" ]
}
]
6 changes: 2 additions & 4 deletions data/json/items/book/bashing.json
Expand Up @@ -2,14 +2,13 @@
{
"id": "mag_bashing",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "Batter Up!", "str_pl": "issues of Batter Up!" },
"description": "A baseball magazine that focuses on batting tips. There are lots of colorful, full-page photos of skilled athletes demonstrating proper form and technique.",
"weight": "80 g",
"volume": "250 ml",
"price": "450 cent",
"price_postapoc": "5 USD",
"material": [ "paper" ],
"symbol": "?",
"color": "pink",
"skill": "bashing",
"max_level": 1,
Expand All @@ -20,14 +19,13 @@
{
"id": "manual_bashing",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "tactical baton defense manual" },
"description": "An informative guide to self-defense using clubs and batons. Aimed at the law enforcement and military market, it is packed with time tested, no-nonsense information and written to be understandable for beginners.",
"weight": "454 g",
"volume": "250 ml",
"price": "20 USD",
"price_postapoc": "750 cent",
"material": [ "paper" ],
"symbol": "?",
"color": "green",
"skill": "bashing",
"max_level": 3,
Expand Down
38 changes: 25 additions & 13 deletions data/json/items/book/computer.json
Expand Up @@ -2,15 +2,14 @@
{
"id": "SICP",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "SICP", "str_pl": "copies of SICP" },
"description": "A classic text, \"The Structure and Interpretation of Computer Programs.\" Written with examples in LISP, but applicable to any language.",
"weight": "1587 g",
"volume": "1500 ml",
"price": "78 USD",
"price_postapoc": "5 USD",
"bashing": 6,
"material": [ "paper" ],
"symbol": "?",
"color": "blue",
"skill": "computer",
"required_level": 5,
Expand All @@ -22,15 +21,14 @@
{
"id": "computer_science",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "Computer Science 301", "str_pl": "copies of Computer Science 301" },
"description": "A college textbook on computer science.",
"weight": "1587 g",
"volume": "1750 ml",
"price": "79 USD",
"price_postapoc": "250 cent",
"bashing": 5,
"material": [ "paper" ],
"symbol": "?",
"color": "blue",
"skill": "computer",
"required_level": 3,
Expand All @@ -42,14 +40,13 @@
{
"id": "howto_computer",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "How to Browse the Web", "str_pl": "copies of How to Browse the Web" },
"description": "Very beginner-level information about computers.",
"weight": "454 g",
"volume": "750 ml",
"price": "17 USD",
"price_postapoc": "50 cent",
"material": [ "paper" ],
"symbol": "?",
"color": "green",
"skill": "computer",
"max_level": 2,
Expand All @@ -59,14 +56,13 @@
{
"id": "mag_computer",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "Computer World", "str_pl": "issues of Computer World" },
"description": "An informative magazine all about computers, both hardware and software.",
"weight": "80 g",
"volume": "250 ml",
"price": "450 cent",
"price_postapoc": "50 cent",
"material": [ "paper" ],
"symbol": "?",
"color": "pink",
"skill": "computer",
"max_level": 1,
Expand All @@ -76,15 +72,14 @@
{
"id": "manual_computers",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "Computer Science 101", "str_pl": "copies of Computer Science 101" },
"//": "College-level textbooks are Cheap at $60.",
"description": "An entry-level textbook about computers.",
"weight": "462 g",
"volume": "750 ml",
"price": "55 USD",
"price_postapoc": "50 cent",
"material": [ "paper" ],
"symbol": "?",
"color": "green",
"skill": "computer",
"max_level": 3,
Expand All @@ -94,21 +89,38 @@
{
"id": "textbook_computer",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str": "Principles of Advanced Programming", "str_pl": "copies of Principles of Advanced Programming" },
"description": "A heavy textbook dedicated to advanced-level software design, written for several different programming languages.",
"weight": "2206 g",
"volume": "1750 ml",
"price": "85 USD",
"price_postapoc": "5 USD",
"bashing": 5,
"material": [ "paper" ],
"symbol": "?",
"color": "blue",
"skill": "computer",
"required_level": 3,
"max_level": 6,
"intelligence": 11,
"time": "35 m",
"fun": -2
},
{
"id": "sa_cryptology_key",
"type": "BOOK",
"copy-from": "base_book",
"name": { "str_sp": "High Level Commercial and Military Cryptology" },
"description": "An incredibly dense volume describing different advanced cryptographical methods, their strenghts, and weaknesses. This text would probably be easier to digest with an added decade in Computer Science Academia.",
"weight": "3 kg",
"volume": "2 L",
"price": "450 USD",
"bashing": 5,
"material": [ "paper" ],
"color": "blue",
"skill": "computer",
"required_level": 7,
"max_level": 10,
"intelligence": 12,
"time": 40,
"fun": -5
}
]

0 comments on commit c553724

Please sign in to comment.