BLUJAY_LETHAL_MODS-LuckyLotteryTicket icon

LuckyLotteryTicket

A rare, scratchable lottery ticket scrap item. Scratch it for a chance at a payout, then survive and sell it at the Company building.

CHANGELOG

Changelog

All notable changes to Lucky Lottery Ticket are documented here.

1.1.0

  • LethalLevelLoader / scrap-override compatibility: the ticket is now re-injected into each moon's scrap pool right before scrap spawns, so it appears even on modpacks (e.g. ones using LethalLevelLoader or LethalQuantities) that replace the per-moon scrap list. Without this, those packs' fixed scrap lists silently excluded the ticket.
  • New default prize table (sums to 100%, no losing tier): 25% $25, 25% $50, 18% $100, 12% $250, 8% $500, 5% $1,000, 3% $2,500, 2% $5,000, 1.5% $10,000, 0.5% $25,000.

If you used 1.0.0, delete your old *.LuckyLotteryTicket.cfg so the new prize-table defaults apply — BepInEx keeps existing config values otherwise.

1.0.0

Initial release.

  • Adds the Lucky Lottery Ticket, a rare scrap item that spawns on all moons.
  • Works with no Unity / no asset bundle: the item is built in code with a simple gold "card" model and a procedural scratch sound. An optional asset bundle can supply a custom model later.
  • Tickets can be sold normally, or scratched once for a chance at a bigger payout.
  • Scratching is server-authoritative: the host rolls the prize a single time and the result + new scrap value are synced to every client (including late joiners).
  • Scratching never pays out directly — the ticket must still be carried back and sold at the Company building.
  • Default prize table: 50% $0, 20% $25, 10% $50, 7% $100, 5% $250, 4% $500, 3% $1000, 1% $5000.
  • Fully configurable: spawn weight, unscratched value, scratch duration, every payout amount and chance, sounds, jackpot announcement, and whether normal wins announce to all players or only the scratcher.
  • Polish: scratch sound (if present in the bundle), a short reveal delay, on-screen result messages, and an optional jackpot announcement.