vgstation13 icon indicating copy to clipboard operation
vgstation13 copied to clipboard

No naked round start

Open adacovsk opened this issue 2 years ago • 11 comments

Last roundstart PR: finally uncouples a bunch of things from mind.initial_account so characters don't need a mind to be equipped. Have to totally redo virtual accounts some other way to get this to work.............

What this does

  • ckeys are now transferred at the last possible moment (0 NAKEDNESS)
  • Changes account creation slightly so that virtual wallets can also be defined as a parameter
  • Renames ID member variable associated_account_number to account_number
  • Renames some create_account() variables to money_account names to avoid confusion (trust me, it gets confusing)
  • You get to stare blankly at the splash screen now

image

Why it's good

  • No naked

Changelog

:cl:

  • tweak: No naked roundstart

adacovsk avatar Oct 07 '22 15:10 adacovsk

What does this look like to a player now? Does the round just start and we wait at the lobby screen until everything is fully loaded or are we going to face another strange purgatory before we can actually start moving?

west3436 avatar Oct 07 '22 15:10 west3436

What does this look like to a player now? Does the round just start and we wait at the lobby screen until everything is fully loaded or are we going to face another strange purgatory before we can actually start moving?

Splash screen

adacovsk avatar Oct 07 '22 15:10 adacovsk

wait hang on this isn't atomic at all what the fuck

west3436 avatar Oct 07 '22 15:10 west3436

to think all this happened because someone was upset the department lights took 2 seconds to turn on after roundstart

pedr69 avatar Oct 07 '22 15:10 pedr69

to think all this happened because someone was upset the department lights took 2 seconds to turn on after roundstart

TEN SECONDS

adacovsk avatar Oct 07 '22 16:10 adacovsk

It'll be nice aesthetically to have the round start in a fully-loaded state.

Hinaichigo avatar Oct 07 '22 21:10 Hinaichigo

This is now removing the virtual wallet? What the fuck?

west3436 avatar Oct 08 '22 19:10 west3436

smells like unatmoic in here

djkramer123 avatar Oct 08 '22 19:10 djkramer123

entirely unatomic also horrible change virtual wallets are what protects your entire bank account from being drained it's ridiculous to remove features because it interferes with a bug you made apparent

PrimeDSS13 avatar Oct 08 '22 19:10 PrimeDSS13

This is peak "sneaky coder menace", shame on you.

kernikov avatar Oct 08 '22 19:10 kernikov

Having virtual wallet and station account be separate is a valuable thing that comes up a lot. Like, for example, no less than 24 hours ago I stole all the money out of 3 player PDAs. That didn't hurt them too much because they could just go get more from the ATM, but without virtual wallets I could've taken them for everything they're worth.

Kurfursten avatar Oct 08 '22 19:10 Kurfursten

Having virtual wallet and station account be separate is a valuable thing that comes up a lot. Like, for example, no less than 24 hours ago I stole all the money out of 3 player PDAs. That didn't hurt them too much because they could just go get more from the ATM, but without virtual wallets I could've taken them for everything they're worth.

I know, before I removed it, I mentioned I would add security preferences to withdrawals from PDAs, but it seems a majority disliked the idea, so I'm no longer doing it

adacovsk avatar Oct 08 '22 20:10 adacovsk

I am not sure why there are downvotes, I undid the changes regarding merging the virtual wallet and bank account together. They will remain separate and keep both their same functionalities

adacovsk avatar Oct 09 '22 17:10 adacovsk

Can you still remember your bank account info with Notes?

Hinaichigo avatar Oct 10 '22 04:10 Hinaichigo

Can you still remember your bank account info with Notes?

yes

adacovsk avatar Oct 10 '22 13:10 adacovsk

This is one of the least atomic PR’s that isn’t a bunch of new features I’ve ever seen

no-naked is good though

NigglyWiggly avatar Oct 10 '22 16:10 NigglyWiggly

This is one of the least atomic PR’s that isn’t a bunch of new features I’ve ever seen

no-naked is good though

It's actually atomic, but comes with fixes and better code readability. There's no way around this in mind.dm:

/datum/mind	
var/datum/money_account/initial_account
var/initial_wallet_funds = 0

And:

/obj/item/weapon/card/id
var/datum/money_account/virtual_wallet = 1	//money! If 0, don't create a wallet. Otherwise create one!

adacovsk avatar Oct 10 '22 17:10 adacovsk

The eyes of both of them were opened, and they knew that they were naked. So they sewed fig leaves together, and made coverings for themselves.

Hinaichigo avatar Oct 10 '22 17:10 Hinaichigo

hey if the cargo console computer uses the wallet instead of the bank account to purchase stuff won't it become impossible to order stuff using the budget cards

Nice catch

adacovsk avatar Oct 10 '22 23:10 adacovsk

oh yeah could you make the cargo computer take from the virtual wallet while you're unatomising everything

pedr69 avatar Oct 11 '22 02:10 pedr69

goddamn i wanna drop a rock in your head's direction sometimes for shit like this

Theophrastus1 avatar Oct 13 '22 21:10 Theophrastus1

nakedness somehow has stopped happening now so I don't see the necessity of this PR

west3436 avatar Oct 16 '22 02:10 west3436

it did, but now the rounds start anywhere from 11:58 to 12:00

pedr69 avatar Oct 16 '22 10:10 pedr69

nakedness somehow has stopped happening now so I don't see the necessity of this PR

It actually still happens but not to yourself. It will get worse with more players

adacovsk avatar Oct 16 '22 14:10 adacovsk

why is this still open

SECBATON-GRIFFON avatar Dec 23 '22 22:12 SECBATON-GRIFFON

why is this still open

I can still improve the systems but been busy

adacovsk avatar Dec 24 '22 17:12 adacovsk