Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Change] Lottery system now rewards SpaceBux

Lottery tickets tentatively cost 1,000 credits to compensate. The jackpot is currently set to 5,000 Spacebux initially, increasing by 5k for every round without a winner. Per the original code, you have about 1/81 chance of winning, so this may be too much. Adjusting the amount the jackpot increases per-round is as easy as changing the lotteryJackpot amount in proc/lotteryDay(). Also change the number in the initial announcement in startLottery() because I was lazy and hardcoded it.

Additionally, the lottery will automatically begin with the first payday if no one has purchased a ticket before then.

Forum Jump:

Users browsing this thread: 1 Guest(s)