just what i said if there wouldnt be people looking into it themselves noone would know how it actually works. not sure why you copy paste the code here i never questioned a cap in drops - only a cap in max capacity limit. anyways its not the players task to dig into the code its the companies call to present how a feature works.There is nothing to discuss:
Cyberpunk 2077\tools\redmod\tweaks\base\gameplay\static_data\database\loot\controlled_loot.tweak (look for comments)
CyberwareCapacityShardLootSet_BaseLimiter : ControlledLootSet
{
maxDropsGloballyShared = true;
dropsInContainers = false;
blocksInContainers = false;
}
UncommonCyberwareCapacityShardLootSet_BaseGame : CyberwareCapacityShardLootSet_BaseLimiter
{
lootItems =
[
{
itemID = "Items.CWCapacityPermaReward_Uncommon"; <------------------- GREEN SHARDS
}
];
playerPrereqID = "LootPrereqs.CyberwareCapacityShard_Tier2_Prereq";
maxDrops = 7; <-------------------------------------------------------------------------------------- MAX 7 PIECES
}
RareCyberwareCapacityShardLootSet_BaseGame : CyberwareCapacityShardLootSet_BaseLimiter
{
lootItems =
[
{
itemID = "Items.CWCapacityPermaReward_Rare"; <------------------------------ BLUE SHARDS
}
];
playerPrereqID = "LootPrereqs.CyberwareCapacityShard_Tier3_Prereq";
maxDrops = 4; <---------------------------------------------------------------------------------------- MAX 4 PIECES
}
EpicCyberwareCapacityShardLootSet : CyberwareCapacityShardLootSet_BaseLimiter
{
lootItems =
[
{
itemID = "Items.CWCapacityPermaReward_Epic"; <------------------------------ PURPLE SHARDS
}
];
playerPrereqID = "LootPrereqs.CyberwareCapacityShard_Tier4_Prereq";
maxDrops = 4; <---------------------------------------------------------------------------------------- MAX 4 PIECES
}
LegendaryCyberwareCapacityShardLootSet : CyberwareCapacityShardLootSet_BaseLimiter
{
lootItems =
[
{
itemID = "Items.CWCapacityPermaReward_Legendary"; <----------------------- ORANGE SHARDS
}
];
playerPrereqID = "LootPrereqs.CyberwareCapacityShard_Tier5_Prereq";
maxDrops = 2; <-------------------------------------------------------------------------------------------- MAX 2 PIECES
}
The piece of code with shards for PL was removed in 2.1. But there were added following lines:
Cyberpunk 2077\tools\redmod\tweaks\ep1\gameplay\static_data\database\loot\ep1_cyberjunkies_loot.tweak
Cbj_ep1_01_loot : EP1_cyberjunkie_loot <---------------------------- CYBERJUNKIES
{
maxItemsToLoot = 5; <------------------------------------------------------------------------ MAX 5 TIMES
lootItems =
[
{
dropChance = 1000; <----------------------------------------- 100% CHANCE
itemID = "Items.CWCapacityPermaReward_2_Uncommon"; <-------------------------- GREEN SHARD
},
Cyberpunk 2077\tools\redmod\tweaks\ep1\gameplay\static_data\database\loot\ep1_quest_loot.tweak and inside you can find:
q301_cwshard_parking : LootTable <---------------------------------- UNDEGROUND PARKING QUEST
{
fk< LootItem >[] lootItems =
[
{
playerPrereqID = "LootPrereqs.PlayerLevel_Tier_1_to_4_Exclusion_Prereq";
itemID = "Items.CWCapacityPermaReward_2_Rare"; <-------------------------------- BLUE IF BELOW LVL 17 (it is actually 17 and not 25)
} : LootItem,
{
playerPrereqID = "LootPrereqs.PlayerLevel_Tier_4_Start_Prereq";
itemID = "Items.CWCapacityPermaReward_2_Epic"; <--------------------------------- PURPLE IF ABOVE LVL 17
} : LootItem
];
}