Skip to content

Commit

Permalink
ma manuals spawn
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwuewsky committed Sep 7, 2024
1 parent bc8c2df commit cc63f2c
Show file tree
Hide file tree
Showing 6 changed files with 181 additions and 160 deletions.
25 changes: 25 additions & 0 deletions data/json/itemgroups/SUS/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,31 @@
{ "item": "manual_traps_mil_basic", "count": [ 1, 3 ], "prob": 80 }
]
},
{
"id": "SUS_martial_bookcase",
"type": "item_group",
"//": "SUS item groups are collections that contain a reasonable realistic distribution of items that might spawn in a given storage furniture.",
"//2": "This group is for a set of martial arts manuals.",
"subtype": "collection",
"entries": [
{ "group": "book_martial_rare", "prob": 65 },
{ "group": "book_martial_common", "count": [ 1, 2 ], "prob": 100 },
{ "group": "book_mag_combat", "count": [ 1, 4 ], "prob": 100 },
{ "group": "book_manual_combat", "count": [ 1, 2 ], "prob": 50 }
]
},
{
"id": "SUS_martial_bookcase_vandalized",
"type": "item_group",
"//": "SUS item groups are collections that contain a reasonable realistic distribution of items that might spawn in a given storage furniture.",
"//2": "This group is for a set of martial arts manuals.",
"subtype": "collection",
"entries": [
{ "group": "SUS_martial_bookcase", "prob": 100 },
{ "item": "book_ruined", "count": [ 0, 12 ], "prob": 100 },
{ "item": "book_pieces", "count": [ 0, 26 ], "prob": 100 }
]
},
{
"id": "SUS_fiction_bookcase",
"type": "item_group",
Expand Down
248 changes: 121 additions & 127 deletions data/json/itemgroups/books.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,53 @@
"id": "book_martial",
"//": "Books about martial arts",
"subtype": "distribution",
"entries": [ { "group": "book_martial_common", "prob": 5 }, { "group": "book_martial_rare", "prob": 1 } ]
},
{
"type": "item_group",
"id": "book_martial_common",
"subtype": "distribution",
"entries": [
{ "item": "manual_eskrima", "prob": 100 },
{ "item": "manual_krav_maga", "prob": 100 },
{ "item": "manual_ninjutsu", "prob": 100 },
{ "item": "manual_pankration", "prob": 5 },
{ "item": "manual_silat", "prob": 100 },
{ "item": "manual_taekwondo", "prob": 100 },
{ "item": "manual_wingchun", "prob": 100 },
{ "item": "manual_bojutsu", "prob": 13 },
{ "item": "manual_medievalpole", "prob": 10 },
{ "item": "manual_swordsmanship", "prob": 10 }
{ "item": "manual_boxing", "prob": 100 },
{ "item": "manual_karate", "prob": 90 },
{ "item": "manual_aikido", "prob": 90 },
{ "item": "manual_taekwondo", "prob": 90 },
{ "item": "manual_judo", "prob": 75 },
{ "item": "manual_muay_thai", "prob": 75 },
{ "item": "manual_kickboxing", "prob": 75 },
{ "item": "manual_krav_maga", "prob": 75 },
{ "item": "manual_capoeira", "prob": 50 },
{ "item": "manual_pankration", "prob": 50 },
{ "item": "manual_tai_chi", "prob": 50 },
{ "item": "manual_wingchun", "prob": 50 },
{ "item": "manual_tiger", "prob": 10 },
{ "item": "manual_toad", "prob": 10 },
{ "item": "manual_venom_snake", "prob": 10 },
{ "item": "manual_centipede", "prob": 10 },
{ "item": "manual_crane", "prob": 10 },
{ "item": "manual_dragon", "prob": 10 },
{ "item": "manual_leopard", "prob": 10 },
{ "item": "manual_lizard", "prob": 10 },
{ "item": "manual_scorpion", "prob": 10 },
{ "item": "manual_snake", "prob": 10 }
]
},
{
"type": "item_group",
"id": "book_martial_rare",
"subtype": "distribution",
"entries": [
{ "item": "manual_fencing", "prob": 100 },
{ "item": "manual_eskrima", "prob": 75 },
{ "item": "manual_silat", "prob": 75 },
{ "item": "manual_bojutsu", "prob": 50 },
{ "item": "manual_ninjutsu", "prob": 50 },
{ "item": "manual_niten", "prob": 50 },
{ "item": "manual_zui_quan", "prob": 50 },
{ "item": "manual_sojutsu", "prob": 50 },
{ "item": "manual_barbaran", "prob": 30 },
{ "item": "manual_medievalpole", "prob": 30 },
{ "item": "manual_swordsmanship", "prob": 30 }
]
},
{
Expand Down Expand Up @@ -354,83 +390,83 @@
"type": "item_group",
"subtype": "distribution",
"entries": [
{ "group": "magazines", "prob": 580 },
{ "group": "novels", "prob": 424 },
{ "group": "kids_books", "prob": 50 },
{ "group": "SUS_book_fict_soft_ya", "prob": 50 },
{ "group": "book_martial", "prob": 40 },
{ "group": "religious_books", "prob": 40 },
{ "group": "literature", "prob": 30 },
{ "group": "SUS_book_nonf_hard_homemk", "prob": 26 },
{ "group": "SUS_book_nonf_soft", "prob": 20 },
{ "item": "cookbook_human", "prob": 1 },
{ "item": "jewelry_book", "prob": 4 },
{ "item": "phonebook", "prob": 8 },
{ "group": "religious_books", "prob": 40 },
{ "item": "ZSG", "prob": 5 },
{ "item": "manual_electronics", "prob": 20 },
{ "item": "manual_tailor", "prob": 15 },
{ "item": "dieselpunk_tailor", "prob": 5 },
{ "item": "recipe_bows", "prob": 10 },
{ "item": "recipe_arrows", "prob": 10 },
{ "item": "manual_mechanics", "prob": 25 },
{ "group": "SUS_book_nonf_hard_dodge", "prob": 20 },
{ "group": "catalyic_cracking_items", "prob": 2 },
{ "item": "baking_book", "prob": 80 },
{ "item": "winemaking_beginner", "prob": 60 },
{ "item": "manual_speech", "prob": 50 },
{ "item": "manual_business", "prob": 40 },
{ "item": "manual_first_aid", "prob": 40 },
{ "item": "manual_sealing", "prob": 40 },
{ "item": "manual_canning", "prob": 30 },
{ "item": "manual_mechanics", "prob": 25 },
{ "item": "manual_computer", "prob": 20 },
{ "item": "webbasics_computer", "prob": 20 },
{ "item": "hackerman_computer", "prob": 20 },
{ "group": "SUS_book_nonf_hard_dodge", "prob": 20 },
{ "item": "textbook_computer", "prob": 4 },
{ "group": "catalyic_cracking_items", "prob": 2 },
{ "item": "textbook_chemistry", "prob": 4 },
{ "item": "textbook_extraction", "prob": 2 },
{ "item": "textbook_mechanics", "prob": 4 },
{ "item": "textbook_biodiesel", "prob": 4 },
{ "item": "textbook_fabrication", "prob": 4 },
{ "item": "textbook_tailor", "prob": 4 },
{ "item": "bronze_mag", "prob": 6 },
{ "item": "recipe_fauxfur", "prob": 6 },
{ "item": "carpentry_book", "prob": 4 },
{ "item": "brewing_cookbook", "prob": 4 },
{ "item": "computer_science", "prob": 8 },
{ "item": "book_icef", "prob": 8 },
{ "item": "preserving_juice", "prob": 10 },
{ "group": "magazines", "prob": 580 },
{ "item": "atomic_survival", "prob": 1 },
{ "item": "recipe_augs", "prob": 4 },
{ "item": "textbook_anarch", "prob": 1 },
{ "item": "book_pneumatics", "prob": 1 },
{ "item": "decoy_anarch", "prob": 10 },
{ "item": "manual_archery", "prob": 7 },
{ "item": "book_archery", "prob": 12 },
{ "item": "manual_electronics", "prob": 20 },
{ "item": "dairy_book", "prob": 20 },
{ "item": "vacuum_sealing", "prob": 20 },
{ "item": "manual_tailor", "prob": 15 },
{ "item": "cookbook_sushi", "prob": 15 },
{ "item": "cookbook_daintydishes", "prob": 15 },
{ "item": "cookbook_liverforkids", "prob": 15 },
{ "item": "cookbook_eatyrway", "prob": 15 },
{ "item": "book_archery", "prob": 12 },
{ "item": "preserving_juice", "prob": 10 },
{ "item": "cookbook_foodfashions", "prob": 10 },
{ "item": "cookbook_indian", "prob": 10 },
{ "item": "cookbook_native", "prob": 5 },
{ "item": "cookbook_mexican", "prob": 10 },
{ "item": "cookbook_turkish", "prob": 5 },
{ "item": "sweets_book", "prob": 10 },
{ "item": "survnote", "prob": 1 },
{ "item": "arduino_experiments", "prob": 5 },
{ "item": "theater_props", "prob": 1 },
{ "item": "cookbook_mexican", "prob": 10 },
{ "item": "recipe_bows", "prob": 10 },
{ "item": "recipe_arrows", "prob": 10 },
{ "item": "decoy_anarch", "prob": 10 },
{ "item": "scots_cookbook", "prob": 8 },
{ "item": "offalcooking", "prob": 2 },
{ "item": "dnd_handbook", "prob": 2 },
{ "item": "scots_tailor", "prob": 8 },
{ "item": "vinegar_maker", "prob": 4 },
{ "item": "dairy_book", "prob": 20 },
{ "item": "winemaking_beginner", "prob": 60 },
{ "item": "manual_canning", "prob": 30 },
{ "item": "manual_sealing", "prob": 40 },
{ "item": "vacuum_sealing", "prob": 20 },
{ "item": "baking_book", "prob": 80 },
{ "item": "phonebook", "prob": 8 },
{ "item": "fermenting_book", "prob": 8 },
{ "item": "computer_science", "prob": 8 },
{ "item": "book_icef", "prob": 8 },
{ "item": "manual_archery", "prob": 7 },
{ "item": "bronze_mag", "prob": 6 },
{ "item": "recipe_fauxfur", "prob": 6 },
{ "item": "dieselpunk_tailor", "prob": 5 },
{ "item": "book_judaica_hardcover", "prob": 5 },
{ "item": "book_judaica_softcover", "prob": 5 },
{ "item": "cookbook_native", "prob": 5 },
{ "item": "cookbook_turkish", "prob": 5 },
{ "item": "arduino_experiments", "prob": 5 },
{ "item": "ZSG", "prob": 5 },
{ "item": "jewelry_book", "prob": 4 },
{ "item": "textbook_computer", "prob": 4 },
{ "item": "textbook_chemistry", "prob": 4 },
{ "item": "textbook_mechanics", "prob": 4 },
{ "item": "textbook_biodiesel", "prob": 4 },
{ "item": "textbook_fabrication", "prob": 4 },
{ "item": "textbook_tailor", "prob": 4 },
{ "item": "carpentry_book", "prob": 4 },
{ "item": "brewing_cookbook", "prob": 4 },
{ "item": "recipe_augs", "prob": 4 },
{ "item": "vinegar_maker", "prob": 4 },
{ "item": "distilling_cookbook", "prob": 3 },
{ "item": "textbook_extraction", "prob": 2 },
{ "item": "offalcooking", "prob": 2 },
{ "item": "dnd_handbook", "prob": 2 },
{ "item": "cookbook_bloodforgood", "prob": 2 },
{ "item": "book_judaica_hardcover", "prob": 5 },
{ "group": "home_martial_arts_books", "prob": 1 },
{ "item": "book_judaica_softcover", "prob": 5 }
{ "item": "atomic_survival", "prob": 1 },
{ "item": "textbook_anarch", "prob": 1 },
{ "item": "book_pneumatics", "prob": 1 },
{ "item": "cookbook_human", "prob": 1 },
{ "item": "theater_props", "prob": 1 },
{ "item": "survnote", "prob": 1 }
]
},
{
Expand Down Expand Up @@ -698,6 +734,8 @@
"//": "These are books that are hard to find or esoteric, mostly.",
"subtype": "distribution",
"entries": [
{ "group": "book_martial_rare", "prob": 44 },
{ "group": "book_martial_common", "prob": 7 },
{ "item": "textbook_weapwest", "prob": 15 },
{ "item": "textbook_weparabic", "prob": 15 },
{ "item": "textbook_weapeast", "prob": 15 },
Expand Down Expand Up @@ -730,27 +768,7 @@
{ "item": "jewelry_book", "prob": 15 },
{ "item": "textbook_arthropod", "prob": 5 },
{ "item": "textbook_botany", "prob": 5 },
{ "item": "manual_tai_chi", "prob": 5 },
{ "item": "manual_fencing", "prob": 4 },
{ "item": "manual_aikido", "prob": 3 },
{ "item": "manual_eskrima", "prob": 3 },
{ "item": "manual_krav_maga", "prob": 3 },
{ "item": "manual_ninjutsu", "prob": 2 },
{ "item": "manual_silat", "prob": 3 },
{ "item": "manual_taekwondo", "prob": 3 },
{ "item": "manual_judo", "prob": 3 },
{ "item": "manual_karate", "prob": 3 },
{ "item": "manual_bojutsu", "prob": 2 },
{ "item": "manual_muay_thai", "prob": 3 },
{ "item": "manual_niten", "prob": 1 },
{ "item": "manual_sojutsu", "prob": 1 },
{ "item": "manual_capoeira", "prob": 1 },
{ "item": "manual_wingchun", "prob": 3 },
{ "item": "manual_medievalpole", "prob": 3 },
{ "item": "manual_swordsmanship", "prob": 3 },
{ "item": "manual_barbaran", "prob": 1 },
{ "item": "book_lockpick", "prob": 1 },
{ "group": "rare_martial_arts_books", "prob": 6 },
{ "item": "scots_tailor", "prob": 30 },
{ "item": "necronomicon", "prob": 1 },
{ "item": "ballista_book", "prob": 6 }
Expand All @@ -761,57 +779,16 @@
"type": "item_group",
"subtype": "distribution",
"entries": [
{ "item": "manual_karate", "prob": 12 },
{ "item": "manual_kickboxing", "prob": 12 },
{ "item": "manual_judo", "prob": 12 },
{ "item": "manual_aikido", "prob": 12 },
{ "item": "manual_taekwondo", "prob": 12 },
{ "item": "manual_tai_chi", "prob": 12 },
{ "item": "manual_bojutsu", "prob": 7 },
{ "item": "manual_pankration", "prob": 5 },
{ "item": "manual_fencing", "prob": 4 },
{ "item": "manual_eskrima", "prob": 3 },
{ "item": "manual_krav_maga", "prob": 3 },
{ "item": "manual_ninjutsu", "prob": 2 },
{ "item": "manual_silat", "prob": 3 },
{ "item": "manual_taekwondo", "prob": 3 },
{ "item": "manual_judo", "prob": 3 },
{ "item": "manual_karate", "prob": 3 },
{ "item": "manual_muay_thai", "prob": 3 },
{ "item": "manual_niten", "prob": 1 },
{ "item": "manual_sojutsu", "prob": 1 },
{ "item": "manual_capoeira", "prob": 1 },
{ "group": "rare_martial_arts_books", "prob": 8 },
{ "group": "book_martial_common", "prob": 87 },
{ "group": "book_martial_rare", "prob": 28 },
{ "item": "mag_melee", "prob": 20 },
{ "item": "manual_melee", "prob": 10 },
{ "item": "mag_unarmed", "prob": 20 },
{ "item": "manual_brawl", "prob": 10 },
{ "item": "mag_cutting", "prob": 5 },
{ "item": "textbook_weapeast", "prob": 1 },
{ "item": "manual_wingchun", "prob": 3 },
{ "item": "manual_medievalpole", "prob": 1 }
]
},
{
"id": "rare_martial_arts_books",
"type": "item_group",
"//": "These are exceptionally rare martial arts books that should only spawn very rarely.",
"subtype": "distribution",
"entries": [
{ "item": "manual_crane", "prob": 1 },
{ "item": "manual_dragon", "prob": 1 },
{ "item": "manual_leopard", "prob": 1 },
{ "item": "manual_snake", "prob": 1 },
{ "item": "manual_tiger", "prob": 1 },
{ "item": "manual_zui_quan", "prob": 1 }
{ "item": "textbook_weapeast", "prob": 1 }
]
},
{
"id": "home_martial_arts_books",
"type": "item_group",
"subtype": "collection",
"entries": [ { "group": "rare_martial_arts_books", "prob": 1 }, { "group": "dojo_manuals", "prob": 1 } ]
},
{
"id": "doctors_books",
"type": "item_group",
Expand Down Expand Up @@ -966,6 +943,23 @@
{ "item": "mag_throwing", "prob": 20 }
]
},
{
"id": "book_manual_combat",
"type": "item_group",
"subtype": "distribution",
"entries": [
{ "item": "manual_brawl", "prob": 10 },
{ "item": "manual_melee", "prob": 10 },
{ "item": "manual_bashing", "prob": 10 },
{ "item": "manual_stabbing", "prob": 5 },
{ "item": "manual_knives", "prob": 5 },
{ "item": "manual_cutting", "prob": 5 },
{ "item": "manual_swords", "prob": 5 },
{ "item": "manual_dodge", "prob": 4 },
{ "item": "manual_dodge_kid", "prob": 4 },
{ "item": "book_nonf_hard_dodge_tlwd", "prob": 4 }
]
},
{
"id": "book_mag_surv",
"type": "item_group",
Expand Down
Loading

0 comments on commit cc63f2c

Please sign in to comment.