TrashBox
A trash-box that can destroy excess shop items and recover a certain amount of their value.
About this mod Machine translation
ShopItem Trash Box MOD / Shop Item Trash Box Mod
Introduction / Introduction
A trash box that can destroy excess shop items and recover part of their value.
A trash can that destroys excess store items and returns some of their value.
Description / description
- Basic Function/Basic Function
- A trash box will automatically spawn in the truck after the run starts.
- After the game starts, a trash can will be automatically generated inside the truck.
- You can put extra ShopItems into it.
- You can put extra store items in it.
- Items inside the trash box will smoothly scale down to half size instead of changing size instantly.
- After items enter the trash can, they will smoothly shrink to half of their original size, instead of becoming larger and smaller instantly.
- After the collect window ends, the trash box will close, process all items together, and then return one money bag.
- After the collection window ends, the lid of the trash can will be closed, all items will be disposed of, and a money bag will be returned.
- The trash box only spawns in normal run levels, not in tutorial, shop, or lobby menu levels.
- Trash cans will only be generated in normal levels, not in tutorial, shop or lobby menu levels.
- Money Return Logic / Money Return Logic
- The returned money bag value is based on the value of the ShopItems you destroy.
- The returned purse value is based on the value of the store items you destroyed.
- However, the calculation is now done per item, not by rolling once on the total value.
- However, the current version is calculated on a per-item basis rather than just a single randomization of the total value.
- Each item first reads its own value, then rolls a random recovery ratio, and finally all item results are added together into one final money bag.
- Each item will first read its own value, then randomly select a recycling ratio, and finally add up the results of all items into a final money bag.
- Default config range:
-Default configuration interval:
- RecoveryRatioMin = 0.3
- RecoveryRatioMin = 0.3
- RecoveryRatioMax = 0.8
- RecoveryRatioMax = 0.8
- Example:
- For example:
- Item A: 3000 x 0.31
- Item A: 3000 x 0.31
- Item B: 3000 x 0.67
- Item B: 3000 x 0.67
- Item C: 3000 x 0.48
- Item C: 3000 x 0.48
- Final money bag value = sum of all item results
- Final wallet value = sum of all single item recycling results
- The final money bag value is rounded to the nearest hundred and will not be lower than 1000.
- The final wallet value will be rounded to the nearest hundred and will not be less than 1,000.
- AssetBundle Loading/Instructions for loading resource bundles
- TrashBox.dll and the trashbox AssetBundle file must be placed in the same folder under BepInEx/plugins.
- TrashBox.dll and trashbox resource pack files must be placed in the same directory under BepInEx/plugins.
- The folder name does not matter.
- The directory name itself is not important.
- As long as the DLL and AB file exist together in any subfolder under plugins, the mod can load correctly.
- As long as the DLL and AB files exist in any same subdirectory under plugins, the module will load correctly.
- Multiplayer Synchronization / Multiplayer Synchronization Instructions
- Tested and works correctly in single-player.
- The test can be used normally in single player mode.
- In multiplayer, item destruction and value calculation are executed by the host.
- In multiplayer mode, item destruction and recycling amount calculations are performed by the host.
- Lid open/close animations are synchronized through RPC.
- Trash can opening and closing animations are synchronized through RPC.
- Important: For best results, this MOD should be installed by the host AND all clients.
- IMPORTANT: For best results, this mod is recommended to be installed by the host as well as all clients.
- Config / configuration items
- RecoveryRatioMin
- RecoveryRatioMin
- Minimum recovery ratio rolled for each item.
- Minimum recycling ratio used …
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Dependencies
Install these first, or the mod will not work:
Zehs-REPOLib