Loot Item Configs - oSoDirty/DNA_Keycards GitHub Wiki

Strongrooms & Keycard Crates Loot

General Loot Types:

Following options found in (DNA_Keycards\Loot\General\KeyCard_General_Config.json)

Will list all categories, but only going to explain a few of them as most are literally identical and named just for organization.

Categories:

{
	proprietary,  // No further options, everything in this category will spawn, for multiples of same type, make duplicate entries.
	medical, // A basic category that it really doesn't matter what you use it to spawn.
	food, // A basic category that it really doesn't matter what you use it to spawn.
	drink, // A basic category that it really doesn't matter what you use it to spawn.
	tools, // A basic category that it really doesn't matter what you use it to spawn.
	material, // A basic category that it really doesn't matter what you use it to spawn.
	misc,// A basic category that it really doesn't matter what you use it to spawn.
            valuable // A category that has odds which you define to choose whether or not this category spawns.
}

Example below for yellow loot, can add additional loot to any category like shown for proprietary.

    {
        "dna_Tier": "yellow",
        "dna_Category": "proprietary",
        "dna_Type": "DNA_Keycard_Yellow_Inactive"
    },
    {
        "dna_Tier": "yellow",
        "dna_Category": "proprietary",
        "dna_Type": "DNA_Keycard_Yellow_Inactive"
    },
    {
        "dna_Tier": "yellow",
        "dna_Category": "medical",
        "dna_Type": "BloodTestKit"
    },
    {
        "dna_Tier": "yellow",
        "dna_Category": "food",
        "dna_Type": "BoxCerealCrunchin"
    },
    {
        "dna_Tier": "yellow",
        "dna_Category": "drink",
        "dna_Type": "SodaCan_Spite"
    },
    {
        "dna_Tier": "yellow",
        "dna_Category": "tools",
        "dna_Type": "Pickaxe"
    },
    {
        "dna_Tier": "yellow",
        "dna_Category": "material",
        "dna_Type": "WoodenPlank"
    },
    {
        "dna_Tier": "yellow",
        "dna_Category": "valuable",
        "dna_Type": "DNA_Keycard_Red_Inactive"
    },
    {
        "dna_Tier": "yellow",
        "dna_Category": "misc",
        "dna_Type": "DNA_Keycard_Blue_Inactive"
    }

Clothing:

Following options found in (DNA_Keycards\Loot\Clothing\KeyCard_Clothing_Config.json)

Should be pretty self explanatory, just add multiples as shown, and set them to the desired tier.

    {
        "dna_Tier": "yellow",
        "dna_Helm": "BaseballCap_Blue",
        "dna_Shirt": "Shirt_BlueCheck",
        "dna_Vest": "PressVest_Blue",
        "dna_Pants": "Jeans_Blue",
        "dna_Shoes": "AthleticShoes_Blue",
        "dna_Backpack": "ImprovisedBag",
        "dna_Gloves": "SurgicalGloves_LightBlue",
        "dna_Belt": "",
        "dna_Facewear": "SurgicalMask",
        "dna_Eyewear": "",
        "dna_Armband": "",
        "dna_NVG": ""
    },
    {
        "dna_Tier": "yellow",
        "dna_Helm": "BaseballCap_Red",
        "dna_Shirt": "TShirt_Red",
        "dna_Vest": "PoliceVest",
        "dna_Pants": "Jeans_Black",
        "dna_Shoes": "JoggingShoes_Red",
        "dna_Backpack": "CourierBag",
        "dna_Gloves": "LeatherGloves_Brown",
        "dna_Belt": "",
        "dna_Facewear": "",
        "dna_Eyewear": "",
        "dna_Armband": "Armband_White",
        "dna_NVG": ""
    },

Weapons:

Following options found in (DNA_Keycards\Loot\Weapons\KeyCard_Weapons_Config.json)

You can use "random" as a type for magazine, ammo, or any attachment. The mod will will search and find matches and spawn one at random if available. It will ignore it if no such item exists.

Again, names should be pretty self explanatory. Just set tier and whether it's a sidearm or main.

    {
        "dna_Tier": "yellow",
        "dna_WeaponCategory": "main",
        "dna_TheChosenOne": "Mp133Shotgun",
        "dna_Magazine": "",
        "dna_Ammunition": "AmmoBox_00buck_10rnd",
        "dna_OpticType": "",
        "dna_Suppressor": "",
        "dna_UnderBarrel": "",
        "dna_ButtStock": "",
        "dna_HandGuard": "",
        "dna_Wrap": ""
    },
    {
        "dna_Tier": "yellow",
        "dna_WeaponCategory": "main",
        "dna_TheChosenOne": "Izh43Shotgun",
        "dna_Magazine": "",
        "dna_Ammunition": "AmmoBox_00buck_10rnd",
        "dna_OpticType": "",
        "dna_Suppressor": "",
        "dna_UnderBarrel": "",
        "dna_ButtStock": "",
        "dna_HandGuard": "",
        "dna_Wrap": ""
    },
    {
        "dna_Tier": "yellow",
        "dna_WeaponCategory": "side",
        "dna_TheChosenOne": "Magnum",
        "dna_Magazine": "",
        "dna_Ammunition": "Ammo_357",
        "dna_OpticType": "",
        "dna_Suppressor": "",
        "dna_UnderBarrel": "",
        "dna_ButtStock": "",
        "dna_HandGuard": "",
        "dna_Wrap": ""
    }

Smol Crate Loot

Multiple Smol crate loot settings found in (DNA_Keycards\Loot\Other)

Only going to explain yellow, as the rest are exactly the same.

In Config_Description_and_Activation.json "dna_UseConfig" needs to be set to 1 or true to spawn loot using these configs. This option was added to not interfere with other methods of spawning their loot used prior to this config's introduction to the mod.

Example from Smol_Yellow_Config.json

{
	"dna_SpawnMainWeapons": 1, // Bool to determine whether or not to spawn weapons
	"dna_RandomizeWeapons": 1, // Bool to determine whether to choose randomly, or spawn all listed weapons.
	"dna_WeaponCount": 1, // int to set how many weapons to choose. Only necessary of randomize setting is true.
	"weaponTypesYellow": [ //Same as weapons config 
		{
			"dna_TheChosenOne": "Mp133Shotgun",
			"dna_Magazine": "",
			"dna_SpareMagCount": 0,
			"dna_Ammunition": "AmmoBox_00buck_10rnd",
			"dna_SpareAmmoCount": 1,
			"dna_OpticType": "",
			"dna_Suppressor": "",
			"dna_UnderBarrel": "",
			"dna_ButtStock": "",
			"dna_HandGuard": "",
			"dna_Wrap": ""
		},
		{
			"dna_TheChosenOne": "Izh43Shotgun",
			"dna_Magazine": "",
			"dna_SpareMagCount": 0,
			"dna_Ammunition": "AmmoBox_00buck_10rnd",
			"dna_SpareAmmoCount": 1,
			"dna_OpticType": "",
			"dna_Suppressor": "",
			"dna_UnderBarrel": "",
			"dna_ButtStock": "",
			"dna_HandGuard": "",
			"dna_Wrap": ""
		}
	],
	"dna_SpawnLootSet1": 1, //bool to spawn this loot set (Options repeated for next 3 loot sets.)
	"dna_RandomizeLootSet1": 1, //bool to randomize chosen loot.
	"dna_LootSet1Count": 3, //int to set how many items are chosen from array. Only works if random set to true.
	"dna_LootSetY1": [  //array of items to chose from. Make sure to separate by commas, and not comma after last entry. 
		"BloodTestKit",
		"TetracyclineAntibiotics",
		"BandageDressing",
		"BloodBagIV",
		"Morphine",
		"Epinephrine"
	],
	"dna_SpawnLootSet2": 1,
	"dna_RandomizeLootSet2": 1,
	"dna_LootSet2Count": 3,
	"dna_LootSetY2": [
		"BoxCerealCrunchin",
		"PeachesCan_Opened",
		"TacticalBaconCan",
		"BakedBeansCan",
		"BakedBeansCan_Opened"
	],
	"dna_SpawnLootSet3": 1,
	"dna_RandomizeLootSet3": 1,
	"dna_LootSet3Count": 3,
	"dna_LootSetY3": [
		"SodaCan_Pipsi",
		"WaterBottle",
		"SodaCan_Fronta",
		"SodaCan_Cola",
		"SodaCan_Spite"
	],
	"dna_SpawnLootSet4": 1,
	"dna_RandomizeLootSet4": 0,
	"dna_LootSet4Count": 3,
	"dna_LootSetY4": [
		"WoodenPlank",
		"NailBox",
		"Shovel",
		"WoodAxe",
		"Screwdriver"
	]
}