Overview
Adds the /gamble <all | half | random | [amount]>
chat command.
Default currency is coins. Currency can be changed in mod settings.
Odds Breakdown:
result = bet * 0.05 * (1.055 ^ (roll - 1) )
Rolling a 1 through 57 results in a loss (0 to 1x multiplier), while 58 to 100 is a win (1 through 10x multiplier)
Features
- Smart Bet Detection: Parameters are parsed via search;
/gamble all!
works the same as/gamble all
. Priority isall
>half
>random
>[number]
- Smart Notifications: Only successful bets are broadcast to the server, all other notifications are just sent to the player who attempted to gamble
- Overflow Protection: If you win more than you can carry, the overflow will be spilled onto the ground around you
- Spam Protection: A per-player command cooldown is enforced. Cooldown can be changed in mod settings. Default cooldown is 15 seconds
- Custom Currency: Currency can be changed in mod settings. Default currency is Coins
Translation
Help translate /gamble to more languages: https://crowdin.com/project/factorio-mods-localization
Currently available locale:
πΊπΈ English (en), π©πͺ German (de), πΊπ¦ Ukrainian (uk)
Compatibility
There are currently no known mod compatibility issues. To report a compatibility issue, please make a post on the discussion page.
License
/gamble Β© 2023-2025 by asher_sky is licensed under Attribution-NonCommercial-ShareAlike 4.0 International.
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/