mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
Adds a sports betting/polling app (#90421)
## About The Pull Request Adds a new PDA app that allows you to create polls that people can bet on with credits, the owner can then lock the bets, decide what the answer is (up to the player for whatever poll they made), and send it off, giving the money the losers bet into the accounts of the winners. It's a small PDA app that currently doesn't make any announcements or come preinstalled in anything, but that's subject to change. PDA screen sprite is codersprited. Video demonstration https://github.com/user-attachments/assets/449e1f0b-7fd3-4948-bff8-2793af831360 Not shown (as I added later), it now uses newscasters as well.  ###### Code bounty of https://forums.tgstation13.org/viewtopic.php?t=38278 ## Why It's Good For The Game Allows people to host polls for station events, allowing for the SS13 version of sports betting. ## Changelog 🆑 add: Adds a new sports betting app on your PDA, you can now host and vote on polls using in-game credits. /🆑 --------- Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
@@ -187,7 +187,7 @@ SUBSYSTEM_DEF(economy)
|
||||
update_alerts = TRUE
|
||||
inflict_moneybags(moneybags)
|
||||
earning_report += "That's all from the <i>Nanotrasen Economist Division</i>."
|
||||
GLOB.news_network.submit_article(earning_report, "Station Earnings Report", "Station Announcements", null, update_alert = update_alerts)
|
||||
GLOB.news_network.submit_article(earning_report, "Station Earnings Report", NEWSCASTER_STATION_ANNOUNCEMENTS, null, update_alert = update_alerts)
|
||||
return TRUE
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user