

ValuablesDropItems adds a new reward system to breakable valuables.
When a valuable is destroyed, the mod can roll for an item drop based on:
This allows you to customize loot tables for:
The drop table can now include two miss outcomes:
You can also adjust the vertical spawn offset if dropped items clip into the ground.
ConfigTypeSelects how the item weight config is displayed.
Options:
GroupedWeightsItemWeightsGroupedWeights example:
[Small]
GunHandgun = 3
RubberDuck = 1
[Medium]
GunHandgun = 5
[Big]
GunHandgun = 8
ItemWeights example:
[GunHandgun]
Small = 3
Medium = 5
Big = 8
SpawnHeightOffsetAdjusts how high dropped items appear above the broken valuable.
Example:
SpawnHeightOffset = 0.5
Increase this value if items spawn too low or fall through the ground.
SmallRollChanceChance for a Small valuable to attempt an item drop.
Range:
0 to 100Example:
SmallRollChance = 35
MediumRollChanceChance for a Medium valuable to attempt an item drop.
Range:
0 to 100BigRollChanceChance for a Big valuable to attempt an item drop.
Range:
0 to 100Notes:
0 = never roll100 = always rollEnableDebugLogEnables debug logging for drop processing.
Example:
EnableDebugLog = false
Set this to true only when testing or troubleshooting.
Each item uses a weight from 0 to 10.
Meaning:
0 = item will not be selected1 = very low chance10 = high chanceThe final result is chosen by weighted random selection among items in the matching size group.
ValuablesDropItems は、壊せる貴重品に対してアイテムドロップ要素を追加する Mod です。
貴重品が破壊されたとき、以下の設定に応じてアイテムドロップを行います。
これにより、以下それぞれに対してドロップ内容を調整できます。
また、ドロップテーブルには以下の外れ枠を含めることができます。
また、地面への埋まり対策として、出現位置の高さ補正も設定できます。
ConfigTypeアイテム重み設定の表示形式を選びます。
選択肢:
GroupedWeightsItemWeightsGroupedWeights 例:
[Small]
GunHandgun = 3
RubberDuck = 1
[Medium]
GunHandgun = 5
[Big]
GunHandgun = 8
ItemWeights 例:
[GunHandgun]
Small = 3
Medium = 5
Big = 8
SpawnHeightOffset壊れた貴重品から出現するアイテムの高さ補正です。
例:
SpawnHeightOffset = 0.5
アイテムが低すぎる位置に出たり、地面に埋まる場合はこの値を上げてください。
SmallRollChanceSmall サイズの貴重品がドロップ抽選を行う確率です。
範囲:
0 ~ 100例:
SmallRollChance = 35
MediumRollChanceMedium サイズの貴重品がドロップ抽選を行う確率です。
範囲:
0 ~ 100BigRollChanceBig サイズの貴重品がドロップ抽選を行う確率です。
範囲:
0 ~ 100補足:
0 = 抽選しない100 = 必ず抽選するEnableDebugLogドロップ処理のデバッグログを有効にします。
例:
EnableDebugLog = false
テストや不具合確認のときだけ true にすることをおすすめします。
各アイテムには 0 ~ 10 の重みを設定できます。
意味:
0 = 抽選対象外1 = 出にくい10 = 出やすい同じサイズグループ内では、この重みに応じて抽選されます。