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:
outruncolors 2022-01-28 22:48:30 -06:00 committed by GitHub
parent fef0dcf0cc
commit 90d1263440
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 64 additions and 7 deletions

View file

@ -45,6 +45,7 @@ class Comment(Base):
ban_reason = Column(String)
slots_result = Column(String)
blackjack_result = Column(String)
treasure_amount = Column(String)
post = relationship("Submission", viewonly=True)
author = relationship("User", primaryjoin="User.id==Comment.author_id")