Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
RandomSizeValuables
【Host Only MOD】Randomly makes generated valuables larger or smaller at a configurable chance, and increases the value of valuables whose size has changed.設定確率で生成される貴重品のサイズを大きくしたり小さくしたりし、サイズが変わった貴重品の価値を上げます。
By REPO_JP
| Last updated | 16 hours ago |
| Total downloads | 204 |
| Total rating | 1 |
| Categories | Mods Valuables Server-side AI Generated |
| Dependency string | REPO_JP-RandomSizeValuables-4.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
RandomSizeValuables
This mod is a host-only mod that randomly changes the size and value of valuables generated by the level. It modifies some of the valuables that would normally spawn, instead of adding extra valuables.
Features
- Randomly scales normally generated valuables.
- Does not add extra valuables to the level.
- Uses the original valuable size category before scaling.
- Small valuables can become larger.
- Medium valuables can become smaller or larger.
- Large valuables can become smaller.
- Adds a random value multiplier to scaled valuables.
- Adds break resistance to scaled valuables.
- If the break resistance multiplier is set to
10.01, scaled valuables become unbreakable. - Rolls the scaled valuable spawn chance once for each maximum scaled valuable slot.
- Adds bad luck compensation when no scaled valuable appears in a level.
- Prevents the same valuable name from being selected more than once in the same level.
- Relocates a scaled valuable if it loses value before being grabbed.
- Once a player grabs a scaled valuable, later damage is treated as normal gameplay.
Host-only behavior
Only the host needs this mod. The host decides which normally generated valuables are scaled, applies their value multiplier, and handles relocation when needed.
The size is passed through the valuable instantiation data, so clients without this mod should still see the generated size in normal cases.
Config
The config file is created after launching the game once with the mod installed.
Config path:
BepInEx/config/REPOJP.RandomSizeValuables.cfg
General
| Setting | Description | Default | Min | Max |
|---|---|---|---|---|
ModEnabled |
Enables this mod. | true |
false |
true |
MaxVariantValuableCount |
Maximum number of scaled valuables per level. | 50 |
1 |
200 |
VariantValuableSpawnChance |
Spawn chance rolled once per maximum scaled valuable count. | 50 |
0 |
100 |
BadLuckBonusPerEmptyLevel |
Chance bonus added after each level with zero scaled valuables. | 20 |
0 |
100 |
Small Size Band
Small size band means Tiny and Small valuables.
These valuables are scaled upward by default.
| Setting | Description | Default | Min | Max |
|---|---|---|---|---|
SmallBandSelectChance |
Chance for Tiny and Small valuables to be eligible. | 100 |
0 |
100 |
SmallBandScaleMin |
Minimum scale multiplier for Tiny and Small valuables. | 1.50 |
0.01 |
10.00 |
SmallBandScaleMax |
Maximum scale multiplier for Tiny and Small valuables. | 3.00 |
0.01 |
10.00 |
Medium Size Band
Medium size band means Medium, Big, and Wide valuables.
These valuables can become smaller or larger by default.
| Setting | Description | Default | Min | Max |
|---|---|---|---|---|
MediumBandSelectChance |
Chance for Medium, Big, and Wide valuables to be eligible. | 100 |
0 |
100 |
MediumBandScaleMin |
Minimum scale multiplier for Medium, Big, and Wide valuables. | 0.50 |
0.01 |
10.00 |
MediumBandScaleMax |
Maximum scale multiplier for Medium, Big, and Wide valuables. | 2.00 |
0.01 |
10.00 |
Large Size Band
Large size band means Tall and VeryTall valuables.
These valuables are scaled downward by default.
| Setting | Description | Default | Min | Max |
|---|---|---|---|---|
LargeBandSelectChance |
Chance for Tall and VeryTall valuables to be eligible. | 100 |
0 |
100 |
LargeBandScaleMin |
Minimum scale multiplier for Tall and VeryTall valuables. | 0.10 |
0.01 |
10.00 |
LargeBandScaleMax |
Maximum scale multiplier for Tall and VeryTall valuables. | 0.50 |
0.01 |
10.00 |
Value and Durability
| Setting | Description | Default | Min | Max |
|---|---|---|---|---|
ValueMultiplierMin |
Minimum value multiplier for scaled valuables. | 2.00 |
1.00 |
10.00 |
ValueMultiplierMax |
Maximum value multiplier for scaled valuables. | 5.00 |
1.00 |
10.00 |
BreakResistanceMultiplier |
Break resistance multiplier. Set 10.01 to make scaled valuables unbreakable. |
5.00 |
1.00 |
10.01 |
Damage Relocation
Relocation only applies to scaled valuables that have not been grabbed yet. If a player grabs the valuable once, the mod stops treating later damage as an automatic relocation target.
| Setting | Description | Default | Min | Max |
|---|---|---|---|---|
DamageRelocationEnabled |
Relocates scaled valuables immediately when their value is reduced before being grabbed. | true |
false |
true |
RelocateOnValueLoss |
Relocates when value is reduced before being grabbed. | true |
false |
true |
RelocateOnDamaged |
Treats value reduction as damage and restores damage state after relocation when possible. | true |
false |
true |
LevelPointSearchRange |
Search range for nearby level points. | 30.00 |
1.00 |
300.00 |
UseFallbackLevelPoint |
Uses another safe level point if no nearby level point is found. | true |
false |
true |
RestoreValueAfterRelocate |
Restores value after relocation. | true |
false |
true |
RestoreDamageStateAfterRelocate |
Restores damage state after relocation when possible. | true |
false |
true |
MaxRelocateAttempts |
Maximum relocation attempts per valuable. | 10 |
1 |
200 |
Notes
Very large values can make valuables physically unstable depending on the valuable shape and spawn position. For normal gameplay, values around the default range are recommended.
※Mod created by AI
RandomSizeValuables 日本語説明
REPOが好きな日本人のための日本人のみのREPOのDiscordサーバーあります! 参加は以下のリンクから! https://discord.gg/h5ATY4m5bZ
このMODは、ホスト専用の、レベルに生成される貴重品のサイズと価値をランダムに変更するMODです。 追加で貴重品を生成するのではなく、通常生成される貴重品の一部だけを変更します。
機能
- 通常生成される貴重品をランダムにサイズ変更します
- レベル内に追加の貴重品は生成しません
- サイズ変更前の元サイズ分類を基準に処理します
- 小サイズ帯の貴重品は大きくなります
- 中サイズ帯の貴重品は小さく、または大きくなります
- 大サイズ帯の貴重品は小さくなります
- サイズ変更された貴重品にランダムな価値倍率を付与します
- サイズ変更された貴重品を壊れにくくします
- 壊れにくさ倍率を
10.01にした場合、サイズ変更貴重品は絶対に壊れなくなります - 最大生成数の回数分、サイズ変更貴重品の生成確率を抽選します
- サイズ変更貴重品が出なかったレベルの後にbad luck補填を加算します
- 同一レベル内で同じ名前の貴重品が2回以上選ばれないようにします
- 掴まれる前に価値が減ったサイズ変更貴重品を再配置します
- 一度プレイヤーに掴まれた後の破損は通常プレイの結果として扱います
ホスト専用の動作
このMODはホストだけが導入すれば動作します。 どの通常生成貴重品をサイズ変更するか、価値倍率の適用、必要時の再配置はホスト側で処理されます。
サイズは貴重品生成時のインスタンスデータとして渡すため、通常はMOD未導入の参加者にも生成後のサイズが見える想定です。
設定項目
Configファイルは、MOD導入後に一度ゲームを起動すると作成されます。
Configパス:
BepInEx/config/REPOJP.RandomSizeValuables.cfg
General
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
ModEnabled |
このMODを有効にします | true |
false |
true |
MaxVariantValuableCount |
1レベル内でサイズ変更される貴重品の最大数 | 50 |
1 |
200 |
VariantValuableSpawnChance |
最大生成数の回数分だけ抽選されるサイズ変更貴重品の生成確率 | 50 |
0 |
100 |
BadLuckBonusPerEmptyLevel |
サイズ変更貴重品が0個だったレベルごとに加算される補填確率 | 20 |
0 |
100 |
Small Size Band
小サイズ帯は Tiny と Small の貴重品です。
初期設定では、このサイズ帯の貴重品は大きくなります。
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
SmallBandSelectChance |
Tiny/Smallの貴重品をサイズ変更候補にする確率 | 100 |
0 |
100 |
SmallBandScaleMin |
Tiny/Smallの最小サイズ倍率 | 1.50 |
0.01 |
10.00 |
SmallBandScaleMax |
Tiny/Smallの最大サイズ倍率 | 3.00 |
0.01 |
10.00 |
Medium Size Band
中サイズ帯は Medium、Big、Wide の貴重品です。
初期設定では、このサイズ帯の貴重品は小さく、または大きくなります。
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
MediumBandSelectChance |
Medium/Big/Wideの貴重品をサイズ変更候補にする確率 | 100 |
0 |
100 |
MediumBandScaleMin |
Medium/Big/Wideの最小サイズ倍率 | 0.50 |
0.01 |
10.00 |
MediumBandScaleMax |
Medium/Big/Wideの最大サイズ倍率 | 2.00 |
0.01 |
10.00 |
Large Size Band
大サイズ帯は Tall と VeryTall の貴重品です。
初期設定では、このサイズ帯の貴重品は小さくなります。
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
LargeBandSelectChance |
Tall/VeryTallの貴重品をサイズ変更候補にする確率 | 100 |
0 |
100 |
LargeBandScaleMin |
Tall/VeryTallの最小サイズ倍率 | 0.10 |
0.01 |
10.00 |
LargeBandScaleMax |
Tall/VeryTallの最大サイズ倍率 | 0.50 |
0.01 |
10.00 |
Value and Durability
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
ValueMultiplierMin |
サイズ変更貴重品の最小価値倍率 | 2.00 |
1.00 |
10.00 |
ValueMultiplierMax |
サイズ変更貴重品の最大価値倍率 | 5.00 |
1.00 |
10.00 |
BreakResistanceMultiplier |
壊れにくさ倍率。10.01 の場合のみサイズ変更貴重品が絶対に壊れなくなります |
5.00 |
1.00 |
10.01 |
Damage Relocation
再配置は、まだ誰にも掴まれていないサイズ変更貴重品だけに適用されます。 一度でもプレイヤーに掴まれた場合、その後の破損は自動再配置対象ではなくなります。
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
DamageRelocationEnabled |
掴まれる前に価値が減少したサイズ変更貴重品を即時再配置します | true |
false |
true |
RelocateOnValueLoss |
掴まれる前に価値が減少した場合に再配置します | true |
false |
true |
RelocateOnDamaged |
価値減少を破損扱いとして、再配置後に可能な範囲で破損状態を戻します | true |
false |
true |
LevelPointSearchRange |
近くのレベルポイントを探す範囲 | 30.00 |
1.00 |
300.00 |
UseFallbackLevelPoint |
近くに有効なレベルポイントがない場合に代替地点へ再配置します | true |
false |
true |
RestoreValueAfterRelocate |
再配置後に価値を元に戻します | true |
false |
true |
RestoreDamageStateAfterRelocate |
再配置後に可能な範囲で破損状態を元に戻します | true |
false |
true |
MaxRelocateAttempts |
貴重品ごとの最大再配置試行回数 | 10 |
1 |
200 |
注意点
極端に大きい倍率を設定すると、貴重品の形状や生成位置によって物理挙動が不安定になる可能性があります。 通常プレイでは、初期値付近の倍率を推奨します。
※AI生成MOD