1. Create a folder in your mods' main folder titled "LootTables" 2. Create (or copy from another mods' files) a json file titled "LootTable_Shop_WeaponRack_T4" (change the number to what tier shop you want it to appear in, from 1-5) and put that json in the LootTables folder. 3. In that json, paste the code below, and replace the referenceID with your weapons' id. Then you can copy/paste that code block as needed, make sure to include the probabilityWeight. I've added a mock second block so you can see which part needs to be duplicated for multiple weapons. Make a separate LootTable_Shop_WeaponRack json for different tiered weapons as needed. Be sure to edit the "value" in your weapon json to be the amount you want it to cost.
55 comments
1. Create a folder in your mods' main folder titled "LootTables"
2. Create (or copy from another mods' files) a json file titled "LootTable_Shop_WeaponRack_T4" (change the number to what tier shop you want it to appear in, from 1-5) and put that json in the LootTables folder.
3. In that json, paste the code below, and replace the referenceID with your weapons' id. Then you can copy/paste that code block as needed, make sure to include the probabilityWeight. I've added a mock second block so you can see which part needs to be duplicated for multiple weapons. Make a separate LootTable_Shop_WeaponRack json for different tiered weapons as needed. Be sure to edit the "value" in your weapon json to be the amount you want it to cost.
{
"$type": "ThunderRoad.LootTable, ThunderRoad",
"id": "Shop_WeaponRack_T4",
"sensitiveContent": "None",
"sensitiveFilterBehaviour": "Discard",
"version": 1,
"levelledDrops": [
{
"$type": "ThunderRoad.LootTable+DropLevel, ThunderRoad",
"dropLevel": 0,
"drops": [
{
"$type": "ThunderRoad.LootTable+Drop, ThunderRoad",
"referenceID": "MyWeapon1",
"reference": "Item",
"randMode": "ItemCount",
"minMaxRand": {
"x": 1.0,
"y": 1.0
},
"probabilityWeight": 1.0
{
"$type": "ThunderRoad.LootTable+Drop, ThunderRoad",
"referenceID": "MyWeapon2",
"reference": "Item",
"randMode": "ItemCount",
"minMaxRand": {
"x": 1.0,
"y": 1.0
},
"probabilityWeight": 1.0
}
]
}
],
"groupPath": "Shop"
}
Also maybe you can add more of Jinwoo's/Solo Leveling Weapons like Baran and Kamish Daggers.