Add treasure boxes (#188)
* Filter out slots from the body. (#181) * Slots changes (#182) * Switch slots result to title and fix snappy * These two guys again * These two guys again * Fix breaking-even * ...?? * Initial commit * Finalize initial blackjack attempt * Fix blackjack issue * Add treasure functionality * Remove obsolete file * Add blackjack winnings to user winnings * Minor changes to treasure functionality * 25 percent chance of mimic
This commit is contained in:
parent
fef0dcf0cc
commit
90d1263440
8 changed files with 64 additions and 7 deletions
|
@ -595,6 +595,9 @@ def api_comment(v):
|
|||
blackjack = Blackjack(g)
|
||||
blackjack.check_for_blackjack_command(body, v, c)
|
||||
|
||||
treasure = Treasure(g)
|
||||
treasure.check_for_treasure(body, c)
|
||||
|
||||
g.db.commit()
|
||||
|
||||
if request.headers.get("Authorization"): return c.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue