mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
You can lose it all (#95616)
## About The Pull Request Replaces visible messages with the machine talking directly <img width="448" height="31" alt="image" src="https://github.com/user-attachments/assets/a0ea268e-67f8-4301-ae9d-1926be7d79ae" /> Winning the jackpot now gives +4 instead of +6, but is now a permanent moodlet. The only way to lose it is if you lose at least 10k from a CRAB-17 market crash, which will replace it with a 20m mood debuff of -2. <img width="639" height="523" alt="image" src="https://github.com/user-attachments/assets/9227b931-8e72-40c9-914c-657fd50ed5d3" /> Also adds a memory for winning the jackpot. <img width="641" height="147" alt="image" src="https://github.com/user-attachments/assets/2d34dab0-9ee8-4d1a-a7af-1ad855a51abe" /> <img width="235" height="75" alt="image" src="https://github.com/user-attachments/assets/e870ef6d-d4c8-4cd0-976b-316e8399669e" /> ## Why It's Good For The Game Winning the jackpot makes you feel great all day, not just for 30 minutes. You won life saving gamblings! Also you aren't really glad when all your money is gone, either.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#define DUMPTIME 3000
|
||||
///Amount of money you need to lose to get the negative moodlet.
|
||||
#define NO_MY_MONEY 10000
|
||||
|
||||
/datum/bank_account
|
||||
///Name listed on the account, reflected on the ID card.
|
||||
@@ -21,6 +23,8 @@
|
||||
var/add_to_accounts = TRUE
|
||||
///The Unique ID number code associated with the owner's bank account, assigned at round start.
|
||||
var/account_id
|
||||
///Amount of money that's been crabbed, if you lose enough from one series of CRAB-17's, you get a negative moodlet.
|
||||
var/money_crabbed
|
||||
///Is there a CRAB 17 on the station draining funds? Prevents manual fund transfer. pink levels are rising
|
||||
var/being_dumped = FALSE
|
||||
///Reference to the current civilian bounty that the account is working on.
|
||||
@@ -115,6 +119,21 @@
|
||||
*/
|
||||
/datum/bank_account/proc/dumpeet()
|
||||
being_dumped = TRUE
|
||||
money_crabbed = 0
|
||||
|
||||
/**
|
||||
* Stops the dumping of the bank account.
|
||||
*/
|
||||
/datum/bank_account/proc/stop_dump()
|
||||
being_dumped = FALSE
|
||||
if(money_crabbed < NO_MY_MONEY)
|
||||
return
|
||||
for(var/obj/card as anything in bank_cards)
|
||||
var/mob/living/card_holder = recursive_loc_check(card, /mob/living)
|
||||
if(!isliving(card_holder)) //If on a mob
|
||||
continue
|
||||
//overwrite the slots event.
|
||||
card_holder.add_mood_event(SLOTS_MOOD_CATEGORY, /datum/mood_event/slots/all_gone)
|
||||
|
||||
/**
|
||||
* Returns TRUE if a bank account has more than or equal to the amount, amt.
|
||||
@@ -352,3 +371,4 @@
|
||||
)))
|
||||
|
||||
#undef DUMPTIME
|
||||
#undef NO_MY_MONEY
|
||||
|
||||
Reference in New Issue
Block a user