- 65.04 kB
About Static Lootables
Ever wondered why Rust has so many desks, toilets, boxes and even washing machines but you've never been able to see the hidden secrets inside? Now you can!
With Static Lootables you can turn those boring props into loot containers filled with all sorts of goodies. Loot containers that aren't normally supposed to be looted. For best experience, have the UI scale set to 1.
Lootables are being refilled based on each individual configuration set.
- Highly customizable and intuitive system
- ZoneManager inclusion / exclusion (per lootable prefab OR global settings)
- Parented filtering
- Locked container system
- Hacking system
- Interaction icons (with template), customized text and opening container effects
- Individual lootable container refilling rates
- Consistent support & open to suggestions
Get the default loot-tables
They will be updated in the future. Add StaticLootables.json to your oxide/config folder.
Updated on 23th of October, 2021 #13: StaticLootables.json
To create your own custom icons, you can use this template: staticlootables_template.zip
Please make sure you maintain the margins as weird artifacts will show up if the icons are touching the edges of the icon, in-game.
- Supermarket Cash Register (locked, 500 HP)
- Cardboard Boxes
- Lockers (closed models are locked, 50 HP)
- File Cabinets (locked, 50 HP)
- Desks (locked, 250 HP)
- Kitchen Fridges
- Electrical Boxes
- Washing Machine
- Trash Bag
- Gas Pumps
- Toolboxes (locked, 100 HP)
- Plant Pots
- Kitchen Cooker (Underwater Labs)
- Pickup Truck (Rusty), Sedan A (Junkyard), Compact Car C (all locked, 75 HP), can be accessed anywhere but Junkyard
- Barge Coal
- Metal Crate (B) (locked, 500 HP; hackable, 120s, code resets every 300m)
Your suggestions are welcome!
If there are any ideas in regards to prefabs or possible loot to find in them, use the Discussion tab to let me know about it so I add it for everyone to use.
This is how Hackable containers work and why they're an OP mini-game:
- Hacking one will give you the PIN which will allow you to use with the container for a couple of hours 'till it becomes obsolete and resets.
- If one has hacked a container, the next hack will double in the amount of time taken. X3 for the third hack, and so on.
- The PIN can be shared within the team so they can come back every a couple a minutes and loot the hacked box.
- Press R when looking at an unlocked hacked container to pull up the PIN dialog.
Here's to clarify how config properties work and what they mean.
- Distance: The maximum distance between the player and container.
- ItemAmountMultiplier: The multiplier for the amount of the items found in containers.
- LootableHealthMultiplier: The multiplier of the (maximum) health of locked lootable containers.
- ShadowOpacity: The white glow behind the text which highlights the text more in the dark.
- ShowLockedLootableApproximateCount: Shows the amount next to the health bar of containers. (e.g ~2 ITEMS APPX.)
- DamageMultiplierMinimum: The minimum damage dealt to the locked containers by melee weapons. Maximum does the same but for maximum.
- DamageCUIRefreshRate: The refresh rate for the CUI when containers are being hit at a high rate (with a jackhammer for example). Recommended 0.5.
- EnforcedFilters: It disallows all definitions from being lootable if their path contain the parent names in this array.
- EnforcedInZone: It only allows definitions to be lootable only within the zone(s) defined in this array.
- EnforcedNotInZone: It only allows definitions to be lootable when they're out of the zone(s) defined in this array.
- Icon: The icon of the interaction definition.
- Text: The text of the interaction definition.
- OpenEffect: The (usually sound) effect of the interaction definition.
- PrefabFilter: The prefab name used by the definition to set this definition as lootable.
- InteractionIndex: The index of the interaction defined in the Interactions array. It starts at 0.
- ContainerSize: The slot count of the container non-relative to the contents defined in the contents array.
- AllowStack: Can items in the container stacked. Mainly used if you have 2 or more slots that have the same kind of item.
- Liquid: Marks the container as liquid. If this is set to true, no matter the contents defined, only liquid objects (water, salt water, blood?) can get in.
- Health: The maximum health of a container. Set to null if you wanna disable it. (e.g "Lock": null)
- Wait Time: The time in seconds! players have to wait for the initial hacking attempt.
- Code Resetting Rate: The time in minutes! until the hack resets the PIN and goes down an increment for how many times has been hacked used for the Wait Time multiplier.
- Refill Rate: The rate in minutes! until the container gets wiped from the server & memory is being freed for server resource reasons.
- OnlyIfParentFilter: It allows all definitions to be lootable if their path contain the parent names in this array.
- OnlyIfNotParentFilter: It disallows all definitions from being lootable if their path contain the parent names in this array.
- OnlyIfInZone: It only allows definitions to be lootable only within the zone(s) defined in this array.
- OnlyIfNotInZone: It only allows definitions to be lootable when they're out of the zone(s) defined in this array.
- ShortName: The short name of the item definition.
- CustomName: The in-game name of the item.
- SkinId: The skin of the ID.
- MinimumAmount: The minimum range used for the item amount randomisation.
- MaximumAmount: The maximum range used for the item amount randomisation.
- ConditionMinimumAmount: The minimum range used for the item condition / durability randomisation.
- ConditionMaximumAmount: The maximum range used for the item condition / durability randomisation.
- SpawnChanceTimes: How many times in the SpawnChanceScale will it be likely for the item to be spawned.
- SpawnChanceScale: The scale of the odds for the item to be spawned.
- Download the config which can be found above on this page.
- Put it in the oxide/config folder.
- Put StaticLootables.cs file in oxide/plugins.
- You're good to go!
FOR BEST ENTERTAINMENT, USE THE DEFAULT SETTINGS OF THE PLUGIN.