• Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Current Version: 1.4.1: 2023-01-06T16:49:40Z
  • First Published: 2021-12-03T08:27:13Z
  • Size: 378032
  • Supported Unity Versions: 2020.3.41
tools utilities

Loot - A drop table solution

(3 Votes)
$29.94 $29.94

Contact:

Email: [email protected]

Discord: Nefisto#3403

Documentation (WIP): Loot-doc

Next features: roadmap


---


Almost every game has some kind of drop, it can come from a weighted loot box that we can see everywhere nowadays, maybe from a monster composition selection based on the player's location or the number of logs that will come from a tree based on the player's woodcutter skill level.


Loot comes to provide you with a single place to add and control drops through the following features (You can see more info about the features on the manual page):


  • Debugger tool (2020+): A window that allows you to follow the current state of each drop from your tables and runtime tables in real-time.
  • Modifiers: Customize your drop values (percentage, amount range, and so on) properties on the fly based on your game state.
  • Filter: Custom rules that allow you to filter your drop list based on single or multiple conditions.
  • Custom drop: You can use custom unique rules for the same table in different parts of your code. e.g. Normally drop from this chest table using these X rules, but when opening the chest through this secret switch drop just items rare or above.
  • Runtime table: Clone the table with all characteristics from the original. It's useful when we want to add temporary rules to some table or make some destructive operation.
  • Simple/Weighted: A simple way to change between a simple and weighted table. Their individual percentage is based on the sum of weights, you will get only one item per request.
  • Extension drop: Does your drop design follow some kind of hierarchy? Maybe all wolves drop a fur, and you want the changes on the common wolf table to reverberate through more specialized tables, just toggle the "Extension drop" in the drop option inside your table and it will be treated as an extension.
  • Custom enumerator: You can change the view of your current table by altering a bit-mask parameter of the custom enumerator or can use some of our pre-made enumerators, you can read further here.
  • Save/Load runtime table: Loot will provide you a ready-to serialize data with the necessary information to load your table when necessary.
  • Integrate with LINQ: Both main classes, Drop table and their drop request result Bag, implement IEnumerable<Drop> and IEnumerable<Loot> respectively, which means that it can be used as a LINQ query.
  • Guaranteed drops: Toggled items will always drop.
  • Hidden drop: Toggled items will be locked by default (can't be dropped) and should be unlocked by some condition ruled set by the user.
  • Variable amount: You can set a minimum and maximum amount range that will collapse when you request a drop.


Add to cart
This site contains affiliate links, which means that we can receive a commission if you click on a link and buy something that we have recommended.
Although clicking on these links will not cost you anything, they will help us finance our development projects while recommending good products!