▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage dropTablesKit.package·originates fromworld 690b3baa-4…
api
Weighted drop tables with a pity timer, called by a game's kill, crate or chest handler (on the host in multiplayer).
by·posted 8d ago
What it does
dropTablesKit.api
Weighted drop tables with a pity timer, called by a game's kill, crate or chest handler (on the host in multiplayer).
roll(tableId, kind?, rng?)rolls the table's chance (scaled by thekindsmultiplier for what was defeated), counts dry streaks for the pity timer, and returns a weighted item id or nil.pickdraws an item by weight alone;define,get,has,ids,itemsmanage tables of any item ids.rateandoddsread a table for menus and catalogs;dryStreakandresetPityread and reset the pity counters;seededgives a deterministic random source.
Ships five twin-stick power-up presets: generous, standard, offense, survival, stingy.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.