fredi-68 / luswca

Remember to put full project title here
GNU General Public License v3.0
0 stars 0 forks source link

Move Loot Table to Components #32

Closed fredi-68 closed 5 years ago

fredi-68 commented 6 years ago

Move loot table lookup into components and perform on object creation to allow scripts to alter loot tables.

fredi-68 commented 5 years ago

Got a better idea: Extract loot table lookups into its own module and provide a class that handles all loot randomization and exposes useful methods for getting a certain amount of randomized loot from a specific table, altering the loot table of an object and rolling loot from a specific RNG seed

fredi-68 commented 5 years ago

Done. Not sure about loot table alterations but it should be theoretically possible. I haven't implemented a test script yet but that will surely happen soon.