From 2ac1aa457c1cf3f83811fba0f4ab9e1bd001aab9 Mon Sep 17 00:00:00 2001 From: snipercup <50166150+snipercup@users.noreply.github.com> Date: Fri, 27 Mar 2020 14:33:34 +0100 Subject: [PATCH] Art antiques crafts, locations_commercial and main itemgroups modern json (#39037) --- .../locations_commercial.json | 397 +++++++++--------- data/json/itemgroups/art_antiques_crafts.json | 271 ++++++------ data/json/itemgroups/main.json | 369 ++++++++-------- 3 files changed, 533 insertions(+), 504 deletions(-) diff --git a/data/json/itemgroups/Locations_MapExtras/locations_commercial.json b/data/json/itemgroups/Locations_MapExtras/locations_commercial.json index ffce0312ffd1a..2cd31b2356c89 100644 --- a/data/json/itemgroups/Locations_MapExtras/locations_commercial.json +++ b/data/json/itemgroups/Locations_MapExtras/locations_commercial.json @@ -4,46 +4,47 @@ "id": "behindcounter", "ammo": 50, "magazine": 100, - "items": [ - [ "aspirin", 85 ], - [ "caffeine", 25 ], + "subtype": "distribution", + "entries": [ + { "item": "aspirin", "prob": 85 }, + { "item": "caffeine", "prob": 25 }, { "group": "tobacco_products", "prob": 161 }, - [ "sponge", 10 ], + { "item": "sponge", "prob": 10 }, { "group": "ammo_pocket_batteries_full", "prob": 50 }, - [ "rm99_pistol", 1 ], - [ "rm103a_pistol", 1 ], - [ "rm228", 2 ], - [ "vibrator", 3 ], + { "item": "rm99_pistol", "prob": 1 }, + { "item": "rm103a_pistol", "prob": 1 }, + { "item": "rm228", "prob": 2 }, + { "item": "vibrator", "prob": 3 }, { "item": "condom", "prob": 5, "count": [ 1, 3 ] }, - [ "mag_porn", 20 ], - [ "lighter", 60 ], - [ "ref_lighter", 5 ], - [ "matches", 60 ], - [ "flashlight", 40 ], - [ "extinguisher", 20 ], - [ "tazer", 3 ], - [ "mp3", 18 ], - [ "portable_game", 8 ], - [ "game_watch", 2 ], - [ "deck_of_cards", 2 ], - [ "roadmap", 40 ], - [ "trailmap", 20 ], - [ "file", 10 ], - [ "touristmap", 20 ], - [ "restaurantmap", 20 ], - [ "money_bundle", 55 ], - [ "gold_watch", 5 ], - [ "silver_watch", 10 ], - [ "gum", 30 ], - [ "caff_gum", 10 ], - [ "sm_extinguisher", 10 ], - [ "nic_gum", 2 ], - [ "razor_blade", 3 ], - [ "knitting_needles", 1 ], + { "item": "mag_porn", "prob": 20 }, + { "item": "lighter", "prob": 60 }, + { "item": "ref_lighter", "prob": 5 }, + { "item": "matches", "prob": 60 }, + { "item": "flashlight", "prob": 40 }, + { "item": "extinguisher", "prob": 20 }, + { "item": "tazer", "prob": 3 }, + { "item": "mp3", "prob": 18 }, + { "item": "portable_game", "prob": 8 }, + { "item": "game_watch", "prob": 2 }, + { "item": "deck_of_cards", "prob": 2 }, + { "item": "roadmap", "prob": 40 }, + { "item": "trailmap", "prob": 20 }, + { "item": "file", "prob": 10 }, + { "item": "touristmap", "prob": 20 }, + { "item": "restaurantmap", "prob": 20 }, + { "item": "money_bundle", "prob": 55 }, + { "item": "gold_watch", "prob": 5 }, + { "item": "silver_watch", "prob": 10 }, + { "item": "gum", "prob": 30 }, + { "item": "caff_gum", "prob": 10 }, + { "item": "sm_extinguisher", "prob": 10 }, + { "item": "nic_gum", "prob": 2 }, + { "item": "razor_blade", "prob": 3 }, + { "item": "knitting_needles", "prob": 1 }, { "group": "newspaper_recent", "prob": 15 }, - [ "survnote", 2 ], - [ "eclipse_glasses", 1 ], - [ "thermos", 10 ] + { "item": "survnote", "prob": 2 }, + { "item": "eclipse_glasses", "prob": 1 }, + { "item": "thermos", "prob": 10 } ] }, { @@ -770,22 +771,23 @@ { "type": "item_group", "id": "bookstore_misc", - "items": [ - [ "paper", 150 ], - [ "wrapper", 25 ], - [ "bubblewrap", 25 ], - [ "permanent_marker", 50 ], - [ "scissors", 25 ], - [ "roadmap", 10 ], - [ "trailmap", 20 ], - [ "touristmap", 5 ], - [ "restaurantmap", 5 ], - [ "magnifying_glass", 25 ], - [ "glasses_reading", 50 ], - [ "string_6", 25 ], - [ "candle", 20 ], - [ "reading_light", 25 ], - [ "survnote", 1 ] + "subtype": "distribution", + "entries": [ + { "item": "paper", "prob": 150 }, + { "item": "wrapper", "prob": 25 }, + { "item": "bubblewrap", "prob": 25 }, + { "item": "permanent_marker", "prob": 50 }, + { "item": "scissors", "prob": 25 }, + { "item": "roadmap", "prob": 10 }, + { "item": "trailmap", "prob": 20 }, + { "item": "touristmap", "prob": 5 }, + { "item": "restaurantmap", "prob": 5 }, + { "item": "magnifying_glass", "prob": 25 }, + { "item": "glasses_reading", "prob": 50 }, + { "item": "string_6", "prob": 25 }, + { "item": "candle", "prob": 20 }, + { "item": "reading_light", "prob": 25 }, + { "item": "survnote", "prob": 1 } ] }, { @@ -793,45 +795,46 @@ "id": "arcade_prizes", "ammo": 75, "magazine": 100, - "items": [ + "subtype": "distribution", + "entries": [ { "group": "candy_chocolate", "prob": 320 }, { "group": "softdrinks_canned", "prob": 244 }, - [ "bbgun", 30 ], - [ "bb", 30 ], - [ "portable_game", 60 ], - [ "game_watch", 15 ], - [ "deck_of_cards", 25 ], - [ "atomic_light", 1 ], - [ "inflatable_boat", 10 ], - [ "hand_pump", 15 ], - [ "toastem", 45 ], - [ "toastem2", 45 ], - [ "toastem3", 45 ], - [ "cookies", 45 ], - [ "bat", 15 ], - [ "backpack", 20 ], - [ "hairpin", 10 ], - [ "fc_hairpin", 4 ], - [ "wristwatch", 15 ], - [ "umbrella", 10 ], - [ "teleumbrella", 4 ], + { "item": "bbgun", "prob": 30 }, + { "item": "bb", "prob": 30 }, + { "item": "portable_game", "prob": 60 }, + { "item": "game_watch", "prob": 15 }, + { "item": "deck_of_cards", "prob": 25 }, + { "item": "atomic_light", "prob": 1 }, + { "item": "inflatable_boat", "prob": 10 }, + { "item": "hand_pump", "prob": 15 }, + { "item": "toastem", "prob": 45 }, + { "item": "toastem2", "prob": 45 }, + { "item": "toastem3", "prob": 45 }, + { "item": "cookies", "prob": 45 }, + { "item": "bat", "prob": 15 }, + { "item": "backpack", "prob": 20 }, + { "item": "hairpin", "prob": 10 }, + { "item": "fc_hairpin", "prob": 4 }, + { "item": "wristwatch", "prob": 15 }, + { "item": "umbrella", "prob": 10 }, + { "item": "teleumbrella", "prob": 4 }, { "group": "kids_books", "prob": 215 }, - [ "novel_pulp", 30 ], - [ "folding_bicycle", 3 ], - [ "sunglasses", 25 ], - [ "cowboy_hat", 25 ], - [ "mp3", 35 ], - [ "wolfsuit", 5 ], - [ "dinosuit", 5 ], - [ "gum", 10 ], - [ "talking_doll", 11 ], - [ "marble", 15 ], - [ "creepy_doll", 1 ], - [ "jedi_cloak", 5 ], - [ "glowstick", 15 ], - [ "clown_suit", 5 ], - [ "clownshoes", 5 ], - [ "l-stick", 1 ] + { "item": "novel_pulp", "prob": 30 }, + { "item": "folding_bicycle", "prob": 3 }, + { "item": "sunglasses", "prob": 25 }, + { "item": "cowboy_hat", "prob": 25 }, + { "item": "mp3", "prob": 35 }, + { "item": "wolfsuit", "prob": 5 }, + { "item": "dinosuit", "prob": 5 }, + { "item": "gum", "prob": 10 }, + { "item": "talking_doll", "prob": 11 }, + { "item": "marble", "prob": 15 }, + { "item": "creepy_doll", "prob": 1 }, + { "item": "jedi_cloak", "prob": 5 }, + { "item": "glowstick", "prob": 15 }, + { "item": "clown_suit", "prob": 5 }, + { "item": "clownshoes", "prob": 5 }, + { "item": "l-stick", "prob": 1 } ] }, { @@ -900,143 +903,158 @@ { "id": "bowling_alcohol", "type": "item_group", - "items": [ + "subtype": "distribution", + "entries": [ { "group": "beer", "prob": 373 }, { "group": "liquor_and_spirits", "prob": 80 }, - [ "drink_rumcola", 40 ], - [ "drink_screwdriver", 35 ], - [ "drink_wild_apple", 10 ], - [ "long_island", 17 ], - [ "wine_chardonnay", 20 ], - [ "wine_cabernet", 20 ] + { "item": "drink_rumcola", "prob": 40 }, + { "item": "drink_screwdriver", "prob": 35 }, + { "item": "drink_wild_apple", "prob": 10 }, + { "item": "long_island", "prob": 17 }, + { "item": "wine_chardonnay", "prob": 20 }, + { "item": "wine_cabernet", "prob": 20 } ] }, { "id": "bowling_food", "type": "item_group", - "items": [ - [ "water_clean", 50 ], - [ "water_mineral", 20 ], - [ "oj", 40 ], - [ "juice", 35 ], - [ "cranberry_juice", 35 ], + "subtype": "distribution", + "entries": [ + { "item": "water_clean", "prob": 50 }, + { "item": "water_mineral", "prob": 20 }, + { "item": "oj", "prob": 40 }, + { "item": "juice", "prob": 35 }, + { "item": "cranberry_juice", "prob": 35 }, { "group": "softdrinks_canned", "prob": 95 }, - [ "V8", 15 ], - [ "gum", 15 ] + { "item": "V8", "prob": 15 }, + { "item": "gum", "prob": 15 } ] }, { "id": "bowling_fridge", "type": "item_group", - "items": [ - [ "water_clean", 50 ], - [ "water_mineral", 20 ], - [ "oj", 40 ], - [ "juice", 35 ], - [ "cranberry_juice", 35 ], + "subtype": "distribution", + "entries": [ + { "item": "water_clean", "prob": 50 }, + { "item": "water_mineral", "prob": 20 }, + { "item": "oj", "prob": 40 }, + { "item": "juice", "prob": 35 }, + { "item": "cranberry_juice", "prob": 35 }, { "group": "softdrinks_canned", "prob": 95 }, - [ "V8", 15 ], - [ "fries", 7 ], - [ "cheese_fries", 5 ], - [ "onion_rings", 7 ], - [ "mayonnaise", 3 ], - [ "mustard", 3 ], - [ "ketchup", 3 ], + { "item": "V8", "prob": 15 }, + { "item": "fries", "prob": 7 }, + { "item": "cheese_fries", "prob": 5 }, + { "item": "onion_rings", "prob": 7 }, + { "item": "mayonnaise", "prob": 3 }, + { "item": "mustard", "prob": 3 }, + { "item": "ketchup", "prob": 3 }, { "item": "pickle", "prob": 5, "charges": 6, "container-item": "jar_glass_sealed" }, - [ "cheeseburger", 10 ], - [ "hamburger", 8 ], - [ "sloppyjoe", 6 ], - [ "hotdogs_frozen", 6 ] + { "item": "cheeseburger", "prob": 10 }, + { "item": "hamburger", "prob": 8 }, + { "item": "sloppyjoe", "prob": 6 }, + { "item": "hotdogs_frozen", "prob": 6 } ] }, { "id": "bowling_table", "type": "item_group", - "items": [ - [ "cig", 50 ], - [ "matches", 45 ], - [ "rolling_paper", 10 ], - [ "bottle_glass", 50 ], - [ "bottle_plastic", 70 ], - [ "can_drink_unsealed", 65 ], - [ "wrapper", 50 ], - [ "ceramic_plate", 40 ], - [ "news_regional", 20 ], - [ "mag_news", 20 ] + "subtype": "distribution", + "entries": [ + { "item": "cig", "prob": 50 }, + { "item": "matches", "prob": 45 }, + { "item": "rolling_paper", "prob": 10 }, + { "item": "bottle_glass", "prob": 50 }, + { "item": "bottle_plastic", "prob": 70 }, + { "item": "can_drink_unsealed", "prob": 65 }, + { "item": "wrapper", "prob": 50 }, + { "item": "ceramic_plate", "prob": 40 }, + { "item": "news_regional", "prob": 20 }, + { "item": "mag_news", "prob": 20 } ] }, { "id": "bowling_bathroom", "type": "item_group", - "items": [ - [ "weed", 30 ], - [ "coke", 30 ], - [ "aspirin", 40 ], - [ "cig", 20 ], - [ "syringe", 20 ], - [ "meth", 10 ], - [ "heroin", 5 ], - [ "mag_porn", 35 ], - [ "hairpin", 5 ], - [ "purse", 15 ] + "subtype": "distribution", + "entries": [ + { "item": "weed", "prob": 30 }, + { "item": "coke", "prob": 30 }, + { "item": "aspirin", "prob": 40 }, + { "item": "cig", "prob": 20 }, + { "item": "syringe", "prob": 20 }, + { "item": "meth", "prob": 10 }, + { "item": "heroin", "prob": 5 }, + { "item": "mag_porn", "prob": 35 }, + { "item": "hairpin", "prob": 5 }, + { "item": "purse", "prob": 15 } ] }, { "id": "bowling_trash", "type": "item_group", - "items": [ - [ "wrapper", 50 ], - [ "bottle_glass", 50 ], - [ "bottle_plastic", 70 ], - [ "can_drink_unsealed", 60 ], - [ "flyer", 30 ], - [ "box_small", 30 ], - [ "rag", 20 ], - [ "bag_plastic", 20 ], - [ "news_regional", 15 ], - [ "mag_news", 15 ] + "subtype": "distribution", + "entries": [ + { "item": "wrapper", "prob": 50 }, + { "item": "bottle_glass", "prob": 50 }, + { "item": "bottle_plastic", "prob": 70 }, + { "item": "can_drink_unsealed", "prob": 60 }, + { "item": "flyer", "prob": 30 }, + { "item": "box_small", "prob": 30 }, + { "item": "rag", "prob": 20 }, + { "item": "bag_plastic", "prob": 20 }, + { "item": "news_regional", "prob": 15 }, + { "item": "mag_news", "prob": 15 } ] }, { "id": "bowling_item", "type": "item_group", - "items": [ [ "socks_bowling", 100 ], [ "shoes_bowling", 100 ], [ "bowling_pin", 100 ], [ "bowling_ball", 100 ] ] + "subtype": "distribution", + "entries": [ + { "item": "socks_bowling", "prob": 100 }, + { "item": "shoes_bowling", "prob": 100 }, + { "item": "bowling_pin", "prob": 100 }, + { "item": "bowling_ball", "prob": 100 } + ] }, { "id": "bowling_balls", "type": "item_group", - "items": [ [ "bowling_ball", 100 ] ] + "subtype": "distribution", + "entries": [ { "item": "bowling_ball", "prob": 100 } ] }, { "type": "item_group", "id": "bikeshop_tools", - "items": [ - [ "wheel_bicycle", 100 ], - [ "wheel_bicycle", 80 ], - [ "horn_bicycle", 80 ], - [ "foot_crank", 80 ], - [ "saddle", 80 ], - [ "chain", 30 ], - [ "wrench", 30 ], - [ "screwdriver", 40 ], - [ "screwdriver_set", 20 ], - [ "superglue", 30 ], - [ "hacksaw", 17 ], - [ "pliers", 40 ], - [ "gloves_leather", 45 ], - [ "gloves_work", 45 ], - [ "mask_dust", 15 ], - [ "manual_mechanics", 35 ], - [ "manual_fabrication", 20 ], - [ "duct_tape", 70 ], - [ "misc_repairkit", 15 ], - [ "toolbox", 2 ] + "subtype": "distribution", + "entries": [ + { "item": "wheel_bicycle", "prob": 100 }, + { "item": "wheel_bicycle", "prob": 80 }, + { "item": "horn_bicycle", "prob": 80 }, + { "item": "foot_crank", "prob": 80 }, + { "item": "saddle", "prob": 80 }, + { "item": "chain", "prob": 30 }, + { "item": "wrench", "prob": 30 }, + { "item": "screwdriver", "prob": 40 }, + { "item": "screwdriver_set", "prob": 20 }, + { "item": "superglue", "prob": 30 }, + { "item": "hacksaw", "prob": 17 }, + { "item": "pliers", "prob": 40 }, + { "item": "gloves_leather", "prob": 45 }, + { "item": "gloves_work", "prob": 45 }, + { "item": "mask_dust", "prob": 15 }, + { "item": "manual_mechanics", "prob": 35 }, + { "item": "manual_fabrication", "prob": 20 }, + { "item": "duct_tape", "prob": 70 }, + { "item": "misc_repairkit", "prob": 15 }, + { "item": "toolbox", "prob": 2 } ] }, { "type": "item_group", "id": "bikeshop_for_sale", - "items": [ + "subtype": "distribution", + "entries": [ { "distribution": [ { "item": "wheel_bicycle", "prob": 100 }, @@ -1454,18 +1472,19 @@ "type": "item_group", "id": "backroom", "//": "for cs_sex_shop", - "items": [ - [ "weed", 10 ], - [ "coke", 10 ], - [ "meth", 10 ], - [ "aspirin", 10 ], - [ "mag_porn", 10 ], - [ "purse", 10 ], - [ "hairpin", 5 ], - [ "syringe", 10 ], - [ "blanket", 20 ], - [ "candle", 20 ], - [ "pillow", 20 ] + "subtype": "distribution", + "entries": [ + { "item": "weed", "prob": 10 }, + { "item": "coke", "prob": 10 }, + { "item": "meth", "prob": 10 }, + { "item": "aspirin", "prob": 10 }, + { "item": "mag_porn", "prob": 10 }, + { "item": "purse", "prob": 10 }, + { "item": "hairpin", "prob": 5 }, + { "item": "syringe", "prob": 10 }, + { "item": "blanket", "prob": 20 }, + { "item": "candle", "prob": 20 }, + { "item": "pillow", "prob": 20 } ] }, { diff --git a/data/json/itemgroups/art_antiques_crafts.json b/data/json/itemgroups/art_antiques_crafts.json index 83eb02de1d6ed..506489d29d9d4 100644 --- a/data/json/itemgroups/art_antiques_crafts.json +++ b/data/json/itemgroups/art_antiques_crafts.json @@ -2,136 +2,138 @@ { "type": "item_group", "id": "art", - "items": [ - [ "petrified_eye", 1 ], - [ "spiral_stone", 20 ], - [ "cane", 10 ], - [ "candlestick", 20 ], + "subtype": "distribution", + "entries": [ + { "item": "petrified_eye", "prob": 1 }, + { "item": "spiral_stone", "prob": 20 }, + { "item": "cane", "prob": 10 }, + { "item": "candlestick", "prob": 20 }, { "group": "tinware", "prob": 5 }, - [ "heels", 50 ], - [ "coat_fur_sf", 1 ], - [ "tricorne", 3 ], - [ "gold_bracelet", 8 ], - [ "gold_necklace", 8 ], - [ "gold_locket", 3 ], - [ "gold_ring", 8 ], - [ "gold_ear", 8 ], - [ "pearl_collar", 1 ], - [ "diamond_ring", 1 ], - [ "copper_bracelet", 1 ], - [ "copper_necklace", 1 ], - [ "copper_locket", 1 ], - [ "copper_ring", 1 ], - [ "copper_ear", 1 ], - [ "silver_bracelet", 10 ], - [ "silver_necklace", 10 ], - [ "silver_locket", 4 ], - [ "silver_ring", 10 ], - [ "silver_ear", 10 ], - [ "bead_ear", 10 ], - [ "jade_brooch", 2 ], - [ "diamond", 1 ], - [ "manual_dodge", 1 ], - [ "fancy_sunglasses", 2 ], - [ "pocketwatch", 5 ], - [ "well_pump", 1 ], - [ "nodachi", 1 ], - [ "katana", 2 ], - [ "rapier", 3 ], - [ "cavalry_sabre", 2 ], - [ "sf_watch", 5 ], - [ "platinum_watch", 1 ], - [ "ring_signet", 1 ], - [ "magic_8_ball", 1 ], - [ "coin_quarter", 1 ] + { "item": "heels", "prob": 50 }, + { "item": "coat_fur_sf", "prob": 1 }, + { "item": "tricorne", "prob": 3 }, + { "item": "gold_bracelet", "prob": 8 }, + { "item": "gold_necklace", "prob": 8 }, + { "item": "gold_locket", "prob": 3 }, + { "item": "gold_ring", "prob": 8 }, + { "item": "gold_ear", "prob": 8 }, + { "item": "pearl_collar", "prob": 1 }, + { "item": "diamond_ring", "prob": 1 }, + { "item": "copper_bracelet", "prob": 1 }, + { "item": "copper_necklace", "prob": 1 }, + { "item": "copper_locket", "prob": 1 }, + { "item": "copper_ring", "prob": 1 }, + { "item": "copper_ear", "prob": 1 }, + { "item": "silver_bracelet", "prob": 10 }, + { "item": "silver_necklace", "prob": 10 }, + { "item": "silver_locket", "prob": 4 }, + { "item": "silver_ring", "prob": 10 }, + { "item": "silver_ear", "prob": 10 }, + { "item": "bead_ear", "prob": 10 }, + { "item": "jade_brooch", "prob": 2 }, + { "item": "diamond", "prob": 1 }, + { "item": "manual_dodge", "prob": 1 }, + { "item": "fancy_sunglasses", "prob": 2 }, + { "item": "pocketwatch", "prob": 5 }, + { "item": "well_pump", "prob": 1 }, + { "item": "nodachi", "prob": 1 }, + { "item": "katana", "prob": 2 }, + { "item": "rapier", "prob": 3 }, + { "item": "cavalry_sabre", "prob": 2 }, + { "item": "sf_watch", "prob": 5 }, + { "item": "platinum_watch", "prob": 1 }, + { "item": "ring_signet", "prob": 1 }, + { "item": "magic_8_ball", "prob": 1 }, + { "item": "coin_quarter", "prob": 1 } ] }, { "type": "item_group", "id": "medieval", - "items": [ - [ "katana", 2 ], - [ "katana_inferior", 2 ], - [ "cestus", 2 ], - [ "mace", 20 ], - [ "mace_inferior", 25 ], - [ "morningstar", 10 ], - [ "morningstar_inferior", 15 ], - [ "glaive", 10 ], - [ "rapier", 3 ], - [ "cavalry_sabre", 3 ], - [ "estoc", 3 ], - [ "estoc_inferior", 3 ], - [ "cutlass", 3 ], - [ "cutlass_inferior", 3 ], - [ "scimitar", 20 ], - [ "scimitar_inferior", 25 ], - [ "arming_sword", 25 ], - [ "arming_sword_inferior", 25 ], - [ "broadsword", 30 ], - [ "broadsword_inferior", 30 ], - [ "longsword", 25 ], - [ "longsword_inferior", 25 ], - [ "zweihander", 20 ], - [ "zweihander_inferior", 20 ], - [ "battleaxe", 20 ], - [ "battleaxe_inferior", 20 ], - [ "warhammer", 10 ], - [ "halberd", 5 ], - [ "lucern_hammer", 3 ], - [ "lucern_hammerfake", 5 ], - [ "pike", 5 ], - [ "pike_inferior", 10 ], - [ "spear_steel", 5 ], - [ "shillelagh", 3 ], - [ "shillelagh_weighted", 2 ], - [ "helmet_plate", 1 ], - [ "armor_plate", 2 ], - [ "huge_crossbow", 2 ], - [ "quiver", 2 ], - [ "quiver_large", 1 ], - [ "baldric", 4 ], - [ "nodachi", 1 ], - [ "nodachi_inferior", 2 ], - [ "gambeson", 3 ], - [ "tunic", 1 ], - [ "armor_lamellar", 2 ], - [ "armor_lightplate", 1 ], - [ "cuirass_lightplate", 2 ], - [ "armguard_lightplate", 1 ], - [ "legguard_lightplate", 1 ], - [ "armor_samurai", 1 ], - [ "helmet_kabuto", 1 ], - [ "gloves_plate", 1 ], - [ "boots_plate", 1 ], - [ "helmet_barbute", 1 ], - [ "helmet_conical", 1 ], - [ "helmet_galea", 1 ], - [ "helmet_nasal", 1 ], - [ "chainmail_suit", 1 ], - [ "chainmail_hood", 3 ], - [ "chainmail_vest", 3 ], - [ "chainmail_arms", 3 ], - [ "chainmail_legs", 3 ], - [ "chainmail_feet", 3 ], - [ "chainmail_hands", 3 ], - [ "legguard_metal", 1 ], - [ "textbook_weapwest", 5 ], - [ "textbook_weapeast", 5 ], - [ "textbook_armwest", 5 ], - [ "textbook_armeast", 5 ], - [ "textbook_armschina", 5 ], - [ "q_staff", 10 ], - [ "i_staff", 5 ], - [ "sword_bayonet", 10 ], - [ "bagh_nakha", 5 ], - [ "kris", 5 ], - [ "cheese_hard", 1 ], - [ "tinderbox", 4 ], - [ "flint_steel", 7 ], - [ "canteen_wood", 5 ], - [ "apron_leather", 1 ], - [ "pot_copper", 3 ], + "subtype": "distribution", + "entries": [ + { "item": "katana", "prob": 2 }, + { "item": "katana_inferior", "prob": 2 }, + { "item": "cestus", "prob": 2 }, + { "item": "mace", "prob": 20 }, + { "item": "mace_inferior", "prob": 25 }, + { "item": "morningstar", "prob": 10 }, + { "item": "morningstar_inferior", "prob": 15 }, + { "item": "glaive", "prob": 10 }, + { "item": "rapier", "prob": 3 }, + { "item": "cavalry_sabre", "prob": 3 }, + { "item": "estoc", "prob": 3 }, + { "item": "estoc_inferior", "prob": 3 }, + { "item": "cutlass", "prob": 3 }, + { "item": "cutlass_inferior", "prob": 3 }, + { "item": "scimitar", "prob": 20 }, + { "item": "scimitar_inferior", "prob": 25 }, + { "item": "arming_sword", "prob": 25 }, + { "item": "arming_sword_inferior", "prob": 25 }, + { "item": "broadsword", "prob": 30 }, + { "item": "broadsword_inferior", "prob": 30 }, + { "item": "longsword", "prob": 25 }, + { "item": "longsword_inferior", "prob": 25 }, + { "item": "zweihander", "prob": 20 }, + { "item": "zweihander_inferior", "prob": 20 }, + { "item": "battleaxe", "prob": 20 }, + { "item": "battleaxe_inferior", "prob": 20 }, + { "item": "warhammer", "prob": 10 }, + { "item": "halberd", "prob": 5 }, + { "item": "lucern_hammer", "prob": 3 }, + { "item": "lucern_hammerfake", "prob": 5 }, + { "item": "pike", "prob": 5 }, + { "item": "pike_inferior", "prob": 10 }, + { "item": "spear_steel", "prob": 5 }, + { "item": "shillelagh", "prob": 3 }, + { "item": "shillelagh_weighted", "prob": 2 }, + { "item": "helmet_plate", "prob": 1 }, + { "item": "armor_plate", "prob": 2 }, + { "item": "huge_crossbow", "prob": 2 }, + { "item": "quiver", "prob": 2 }, + { "item": "quiver_large", "prob": 1 }, + { "item": "baldric", "prob": 4 }, + { "item": "nodachi", "prob": 1 }, + { "item": "nodachi_inferior", "prob": 2 }, + { "item": "gambeson", "prob": 3 }, + { "item": "tunic", "prob": 1 }, + { "item": "armor_lamellar", "prob": 2 }, + { "item": "armor_lightplate", "prob": 1 }, + { "item": "cuirass_lightplate", "prob": 2 }, + { "item": "armguard_lightplate", "prob": 1 }, + { "item": "legguard_lightplate", "prob": 1 }, + { "item": "armor_samurai", "prob": 1 }, + { "item": "helmet_kabuto", "prob": 1 }, + { "item": "gloves_plate", "prob": 1 }, + { "item": "boots_plate", "prob": 1 }, + { "item": "helmet_barbute", "prob": 1 }, + { "item": "helmet_conical", "prob": 1 }, + { "item": "helmet_galea", "prob": 1 }, + { "item": "helmet_nasal", "prob": 1 }, + { "item": "chainmail_suit", "prob": 1 }, + { "item": "chainmail_hood", "prob": 3 }, + { "item": "chainmail_vest", "prob": 3 }, + { "item": "chainmail_arms", "prob": 3 }, + { "item": "chainmail_legs", "prob": 3 }, + { "item": "chainmail_feet", "prob": 3 }, + { "item": "chainmail_hands", "prob": 3 }, + { "item": "legguard_metal", "prob": 1 }, + { "item": "textbook_weapwest", "prob": 5 }, + { "item": "textbook_weapeast", "prob": 5 }, + { "item": "textbook_armwest", "prob": 5 }, + { "item": "textbook_armeast", "prob": 5 }, + { "item": "textbook_armschina", "prob": 5 }, + { "item": "q_staff", "prob": 10 }, + { "item": "i_staff", "prob": 5 }, + { "item": "sword_bayonet", "prob": 10 }, + { "item": "bagh_nakha", "prob": 5 }, + { "item": "kris", "prob": 5 }, + { "item": "cheese_hard", "prob": 1 }, + { "item": "tinderbox", "prob": 4 }, + { "item": "flint_steel", "prob": 7 }, + { "item": "canteen_wood", "prob": 5 }, + { "item": "apron_leather", "prob": 1 }, + { "item": "pot_copper", "prob": 3 }, { "group": "tinware", "prob": 10 } ] }, @@ -257,16 +259,17 @@ { "id": "pottery", "type": "item_group", - "items": [ - [ "bowl_clay", 10 ], - [ "clay_canister", 15 ], - [ "clay_hydria", 10 ], - [ "clay_watercont", 10 ], - [ "jug_clay", 15 ], - [ "ceramic_plate", 15 ], - [ "ceramic_bowl", 15 ], - [ "ceramic_cup", 15 ], - [ "jug_clay", 15 ] + "subtype": "distribution", + "entries": [ + { "item": "bowl_clay", "prob": 10 }, + { "item": "clay_canister", "prob": 15 }, + { "item": "clay_hydria", "prob": 10 }, + { "item": "clay_watercont", "prob": 10 }, + { "item": "jug_clay", "prob": 15 }, + { "item": "ceramic_plate", "prob": 15 }, + { "item": "ceramic_bowl", "prob": 15 }, + { "item": "ceramic_cup", "prob": 15 }, + { "item": "jug_clay", "prob": 15 } ] } ] diff --git a/data/json/itemgroups/main.json b/data/json/itemgroups/main.json index 445919be0b1f0..b1700da0e4159 100644 --- a/data/json/itemgroups/main.json +++ b/data/json/itemgroups/main.json @@ -4,80 +4,81 @@ "id": "rare", "//": "Items that should have very low frequencies and or few locations.", "magazine": 100, - "items": [ - [ "12mm", 20 ], - [ "adrenaline_injector", 20 ], - [ "ampoule", 100 ], - [ "antifungal", 10 ], - [ "antiparasitic", 20 ], - [ "armor_chitin", 10 ], - [ "bio_blade", 10 ], - [ "bio_speed", 10 ], - [ "bot_c4_hack", 30 ], - [ "bot_laserturret", 20 ], - [ "bot_mininuke_hack", 10 ], - [ "c4", 50 ], - [ "canister_goo", 80 ], - [ "cleansuit", 100 ], - [ "dump_pouch", 100 ], - [ "electrohack", 30 ], - [ "fetus", 10 ], - [ "hazmat_suit", 50 ], - [ "plasma_gun", 10 ], - [ "hk_g80", 20 ], - [ "hk_g80mag", 35 ], - [ "emp_gun", 20 ], - [ "id_military", 30 ], - [ "id_industrial", 30 ], - [ "id_science", 20 ], - [ "knife_rm42", 20 ], - [ "l-stick", 10 ], - [ "large_repairkit", 20 ], - [ "standard_template_construct", 15 ], - [ "laser_rifle", 10 ], - [ "m240", 10 ], - [ "m249", 10 ], - [ "m60", 10 ], - [ "mask_bal", 100 ], - [ "militarymap", 20 ], - [ "mininuke", 10 ], - [ "mutagen", 80 ], - [ "optical_cloak", 20 ], - [ "holo_cloak", 20 ], - [ "pickaxe", 10 ], - [ "plasma", 80 ], - [ "plasma_rifle", 10 ], - [ "plut_cell", 100 ], - [ "portal", 20 ], - [ "power_armor_basic", 50 ], - [ "power_armor_frame", 40 ], - [ "power_armor_heavy", 30 ], - [ "power_armor_helmet_basic", 60 ], - [ "power_armor_helmet_heavy", 30 ], - [ "power_armor_helmet_light", 30 ], - [ "power_armor_light", 30 ], - [ "processor", 150 ], - [ "purifier", 120 ], - [ "pur_tablets", 200 ], - [ "recipe_medicalmut", 100 ], - [ "remotevehcontrol", 80 ], - [ "rm11b_sniper_rifle", 10 ], - [ "rm13_armor", 20 ], - [ "rm51_assault_rifle", 10 ], - [ "royal_jelly", 80 ], - [ "RPG", 10 ], - [ "RPG-7_ammo", 10 ], - [ "RPG-7_og7v", 25 ], - [ "RPG-7_tbg7v", 8 ], - [ "RPG-7_pg7vr", 8 ], - [ "atgm_heat", 1 ], - [ "rx11_stimpack", 50 ], - [ "rx12_injector", 50 ], - [ "stimpack_ammo", 100 ], - [ "survivormap", 50 ], - [ "survnote", 10 ], - [ "tool_rdx_charge", 10 ], - [ "v29", 10 ] + "subtype": "distribution", + "entries": [ + { "item": "12mm", "prob": 20 }, + { "item": "adrenaline_injector", "prob": 20 }, + { "item": "ampoule", "prob": 100 }, + { "item": "antifungal", "prob": 10 }, + { "item": "antiparasitic", "prob": 20 }, + { "item": "armor_chitin", "prob": 10 }, + { "item": "bio_blade", "prob": 10 }, + { "item": "bio_speed", "prob": 10 }, + { "item": "bot_c4_hack", "prob": 30 }, + { "item": "bot_laserturret", "prob": 20 }, + { "item": "bot_mininuke_hack", "prob": 10 }, + { "item": "c4", "prob": 50 }, + { "item": "canister_goo", "prob": 80 }, + { "item": "cleansuit", "prob": 100 }, + { "item": "dump_pouch", "prob": 100 }, + { "item": "electrohack", "prob": 30 }, + { "item": "fetus", "prob": 10 }, + { "item": "hazmat_suit", "prob": 50 }, + { "item": "plasma_gun", "prob": 10 }, + { "item": "hk_g80", "prob": 20 }, + { "item": "hk_g80mag", "prob": 35 }, + { "item": "emp_gun", "prob": 20 }, + { "item": "id_military", "prob": 30 }, + { "item": "id_industrial", "prob": 30 }, + { "item": "id_science", "prob": 20 }, + { "item": "knife_rm42", "prob": 20 }, + { "item": "l-stick", "prob": 10 }, + { "item": "large_repairkit", "prob": 20 }, + { "item": "standard_template_construct", "prob": 15 }, + { "item": "laser_rifle", "prob": 10 }, + { "item": "m240", "prob": 10 }, + { "item": "m249", "prob": 10 }, + { "item": "m60", "prob": 10 }, + { "item": "mask_bal", "prob": 100 }, + { "item": "militarymap", "prob": 20 }, + { "item": "mininuke", "prob": 10 }, + { "item": "mutagen", "prob": 80 }, + { "item": "optical_cloak", "prob": 20 }, + { "item": "holo_cloak", "prob": 20 }, + { "item": "pickaxe", "prob": 10 }, + { "item": "plasma", "prob": 80 }, + { "item": "plasma_rifle", "prob": 10 }, + { "item": "plut_cell", "prob": 100 }, + { "item": "portal", "prob": 20 }, + { "item": "power_armor_basic", "prob": 50 }, + { "item": "power_armor_frame", "prob": 40 }, + { "item": "power_armor_heavy", "prob": 30 }, + { "item": "power_armor_helmet_basic", "prob": 60 }, + { "item": "power_armor_helmet_heavy", "prob": 30 }, + { "item": "power_armor_helmet_light", "prob": 30 }, + { "item": "power_armor_light", "prob": 30 }, + { "item": "processor", "prob": 150 }, + { "item": "purifier", "prob": 120 }, + { "item": "pur_tablets", "prob": 200 }, + { "item": "recipe_medicalmut", "prob": 100 }, + { "item": "remotevehcontrol", "prob": 80 }, + { "item": "rm11b_sniper_rifle", "prob": 10 }, + { "item": "rm13_armor", "prob": 20 }, + { "item": "rm51_assault_rifle", "prob": 10 }, + { "item": "royal_jelly", "prob": 80 }, + { "item": "RPG", "prob": 10 }, + { "item": "RPG-7_ammo", "prob": 10 }, + { "item": "RPG-7_og7v", "prob": 25 }, + { "item": "RPG-7_tbg7v", "prob": 8 }, + { "item": "RPG-7_pg7vr", "prob": 8 }, + { "item": "atgm_heat", "prob": 1 }, + { "item": "rx11_stimpack", "prob": 50 }, + { "item": "rx12_injector", "prob": 50 }, + { "item": "stimpack_ammo", "prob": 100 }, + { "item": "survivormap", "prob": 50 }, + { "item": "survnote", "prob": 10 }, + { "item": "tool_rdx_charge", "prob": 10 }, + { "item": "v29", "prob": 10 } ] }, { @@ -85,74 +86,76 @@ "id": "nanofab_recipes", "//": "Very rare high level loot. This list doesnt spawn anywere directly, it is used to create the recipes inside nanofabricator templates. ", "magazine": 100, - "items": [ - [ "12mm", 10 ], - [ "bot_laserturret", 10 ], - [ "alloy_plate", 10 ], - [ "plasma_gun", 10 ], - [ "solar_panel_v3", 10 ], - [ "q_solarpack", 10 ], - [ "can_sealer", 10 ], - [ "hk_g80", 10 ], - [ "hk_g80mag", 10 ], - [ "stillsuit", 10 ], - [ "hk_g80mag", 10 ], - [ "emp_gun", 10 ], - [ "knife_rm42", 10 ], - [ "laser_rifle", 10 ], - [ "mininuke", 10 ], - [ "adv_UPS_off", 10 ], - [ "optical_cloak", 10 ], - [ "superalloy_harness_dog", 10 ], - [ "holo_cloak", 10 ], - [ "plasma_rifle", 10 ], - [ "portal", 10 ], - [ "atomic_coffeepot", 10 ], - [ "power_armor_basic", 10 ], - [ "power_armor_frame", 10 ], - [ "power_armor_heavy", 10 ], - [ "power_armor_helmet_basic", 10 ], - [ "power_armor_helmet_heavy", 10 ], - [ "power_armor_helmet_light", 10 ], - [ "high_density_capacitor", 10 ], - [ "beam_scatterer", 10 ], - [ "power_armor_light", 10 ], - [ "control_laptop", 10 ], - [ "rm11b_sniper_rifle", 10 ], - [ "rm13_armor", 10 ], - [ "v29", 10 ] + "subtype": "distribution", + "entries": [ + { "item": "12mm", "prob": 10 }, + { "item": "bot_laserturret", "prob": 10 }, + { "item": "alloy_plate", "prob": 10 }, + { "item": "plasma_gun", "prob": 10 }, + { "item": "solar_panel_v3", "prob": 10 }, + { "item": "q_solarpack", "prob": 10 }, + { "item": "can_sealer", "prob": 10 }, + { "item": "hk_g80", "prob": 10 }, + { "item": "hk_g80mag", "prob": 10 }, + { "item": "stillsuit", "prob": 10 }, + { "item": "hk_g80mag", "prob": 10 }, + { "item": "emp_gun", "prob": 10 }, + { "item": "knife_rm42", "prob": 10 }, + { "item": "laser_rifle", "prob": 10 }, + { "item": "mininuke", "prob": 10 }, + { "item": "adv_UPS_off", "prob": 10 }, + { "item": "optical_cloak", "prob": 10 }, + { "item": "superalloy_harness_dog", "prob": 10 }, + { "item": "holo_cloak", "prob": 10 }, + { "item": "plasma_rifle", "prob": 10 }, + { "item": "portal", "prob": 10 }, + { "item": "atomic_coffeepot", "prob": 10 }, + { "item": "power_armor_basic", "prob": 10 }, + { "item": "power_armor_frame", "prob": 10 }, + { "item": "power_armor_heavy", "prob": 10 }, + { "item": "power_armor_helmet_basic", "prob": 10 }, + { "item": "power_armor_helmet_heavy", "prob": 10 }, + { "item": "power_armor_helmet_light", "prob": 10 }, + { "item": "high_density_capacitor", "prob": 10 }, + { "item": "beam_scatterer", "prob": 10 }, + { "item": "power_armor_light", "prob": 10 }, + { "item": "control_laptop", "prob": 10 }, + { "item": "rm11b_sniper_rifle", "prob": 10 }, + { "item": "rm13_armor", "prob": 10 }, + { "item": "v29", "prob": 10 } ] }, { "type": "item_group", "id": "player_crafted", "//": "items that should only be crafted by the player. Excluded from all other item groups. this is just an FYI list, it's not used to spawn items in game.", - "items": [ - [ "chemical_thrower", 0 ], - [ "diamond_bayonet", 0 ], - [ "diamond_bayonet", 0 ], - [ "diamond_broadsword", 0 ], - [ "diamond_katana", 0 ], - [ "diamond_knife", 0 ], - [ "diamond_kukri", 0 ], - [ "diamond_machete", 0 ], - [ "diamond_nodachi", 0 ], - [ "diamond_rapier", 0 ], - [ "diamond_sword_bayonet", 0 ], - [ "diamond_wakizashi", 0 ], - [ "diamond_punch_dagger", 0 ], - [ "diamond_zweihander", 0 ], - [ "fertilizer_bomb", 0 ], - [ "iv_mutagen_alpha", 0 ], - [ "iv_mutagen_chimera", 0 ], - [ "iv_mutagen_elfa", 0 ], - [ "iv_mutagen_medical", 0 ], - [ "m2browning_sawn", 0 ], - [ "mininuke_launcher", 0 ], - [ "mutagen_alpha", 0 ], - [ "mutagen_chimera", 0 ], - [ "mutagen_elfa", 0 ], - [ "mutagen_medical", 0 ] + "subtype": "distribution", + "entries": [ + { "item": "chemical_thrower", "prob": 0 }, + { "item": "diamond_bayonet", "prob": 0 }, + { "item": "diamond_bayonet", "prob": 0 }, + { "item": "diamond_broadsword", "prob": 0 }, + { "item": "diamond_katana", "prob": 0 }, + { "item": "diamond_knife", "prob": 0 }, + { "item": "diamond_kukri", "prob": 0 }, + { "item": "diamond_machete", "prob": 0 }, + { "item": "diamond_nodachi", "prob": 0 }, + { "item": "diamond_rapier", "prob": 0 }, + { "item": "diamond_sword_bayonet", "prob": 0 }, + { "item": "diamond_wakizashi", "prob": 0 }, + { "item": "diamond_punch_dagger", "prob": 0 }, + { "item": "diamond_zweihander", "prob": 0 }, + { "item": "fertilizer_bomb", "prob": 0 }, + { "item": "iv_mutagen_alpha", "prob": 0 }, + { "item": "iv_mutagen_chimera", "prob": 0 }, + { "item": "iv_mutagen_elfa", "prob": 0 }, + { "item": "iv_mutagen_medical", "prob": 0 }, + { "item": "m2browning_sawn", "prob": 0 }, + { "item": "mininuke_launcher", "prob": 0 }, + { "item": "mutagen_alpha", "prob": 0 }, + { "item": "mutagen_chimera", "prob": 0 }, + { "item": "mutagen_elfa", "prob": 0 }, + { "item": "mutagen_medical", "prob": 0 } ] }, { @@ -168,24 +171,25 @@ { "type": "item_group", "id": "launchers", - "items": [ - [ "m79", 10 ], - [ "m320", 50 ], - [ "mgl", 60 ], - [ "rm802", 40 ], - [ "m203", 50 ], - [ "LAW_Packed", 80 ], - [ "m3_carlgustav", 10 ], - [ "m202_flash", 20 ], - [ "RPG", 40 ], - [ "RPG-7_ammo", 35 ], - [ "RPG-7_og7v", 45 ], - [ "RPG-7_tbg7v", 15 ], - [ "RPG-7_pg7vr", 20 ], - [ "atgm_launcher", 3 ], - [ "atgm_heat", 6 ], - [ "flamethrower", 50 ], - [ "rm451_flamethrower", 40 ] + "subtype": "distribution", + "entries": [ + { "item": "m79", "prob": 10 }, + { "item": "m320", "prob": 50 }, + { "item": "mgl", "prob": 60 }, + { "item": "rm802", "prob": 40 }, + { "item": "m203", "prob": 50 }, + { "item": "LAW_Packed", "prob": 80 }, + { "item": "m3_carlgustav", "prob": 10 }, + { "item": "m202_flash", "prob": 20 }, + { "item": "RPG", "prob": 40 }, + { "item": "RPG-7_ammo", "prob": 35 }, + { "item": "RPG-7_og7v", "prob": 45 }, + { "item": "RPG-7_tbg7v", "prob": 15 }, + { "item": "RPG-7_pg7vr", "prob": 20 }, + { "item": "atgm_launcher", "prob": 3 }, + { "item": "atgm_heat", "prob": 6 }, + { "item": "flamethrower", "prob": 50 }, + { "item": "rm451_flamethrower", "prob": 40 } ] }, { @@ -230,43 +234,46 @@ { "type": "item_group", "id": "archery", - "items": [ - [ "crossbow", 80 ], - [ "bullet_crossbow", 10 ], - [ "hand_crossbow", 10 ], - [ "longbow", 40 ], - [ "compbow", 40 ], - [ "shortbow", 20 ], - [ "recurbow", 40 ], - [ "reflexbow", 20 ], - [ "slingshot", 50 ], - [ "wristrocket", 50 ] + "subtype": "distribution", + "entries": [ + { "item": "crossbow", "prob": 80 }, + { "item": "bullet_crossbow", "prob": 10 }, + { "item": "hand_crossbow", "prob": 10 }, + { "item": "longbow", "prob": 40 }, + { "item": "compbow", "prob": 40 }, + { "item": "shortbow", "prob": 20 }, + { "item": "recurbow", "prob": 40 }, + { "item": "reflexbow", "prob": 20 }, + { "item": "slingshot", "prob": 50 }, + { "item": "wristrocket", "prob": 50 } ] }, { "type": "item_group", "id": "archery_mods", - "items": [ - [ "arrowrest", 50 ], - [ "bow_scope", 30 ], - [ "bow_sight", 50 ], - [ "bow_sight_pin", 50 ], - [ "bow_silencer", 50 ], - [ "bow_stabilizer", 50 ], - [ "bow_stabilizer_set", 40 ], - [ "gun_crossbow", 40 ] + "subtype": "distribution", + "entries": [ + { "item": "arrowrest", "prob": 50 }, + { "item": "bow_scope", "prob": 30 }, + { "item": "bow_sight", "prob": 50 }, + { "item": "bow_sight_pin", "prob": 50 }, + { "item": "bow_silencer", "prob": 50 }, + { "item": "bow_stabilizer", "prob": 50 }, + { "item": "bow_stabilizer_set", "prob": 40 }, + { "item": "gun_crossbow", "prob": 40 } ] }, { "type": "item_group", "id": "archery_ammo", - "items": [ - [ "arrow_wood", 100 ], - [ "arrow_field_point_fletched", 50 ], - [ "arrow_cf", 100 ], - [ "bolt_wood", 100 ], - [ "bolt_wood_bodkin", 50 ], - [ "bolt_cf", 100 ] + "subtype": "distribution", + "entries": [ + { "item": "arrow_wood", "prob": 100 }, + { "item": "arrow_field_point_fletched", "prob": 50 }, + { "item": "arrow_cf", "prob": 100 }, + { "item": "bolt_wood", "prob": 100 }, + { "item": "bolt_wood_bodkin", "prob": 50 }, + { "item": "bolt_cf", "prob": 100 } ] } ]