vgstation-coders / vgstation13

Butts
GNU General Public License v3.0
264 stars 541 forks source link

Taking off jumpsuit inside of suitstorage deletes your ID, belt, and everything in your pockets #16472

Closed D3athrow-Issues closed 6 years ago

D3athrow-Issues commented 6 years ago

(WEB REPORT BY: delightedmerchant REMOTE: 172.93.109.202:7777)

Revision

bd483ea93c1801b5fd45f38f3d5b8c01fa4cc7ad

Description

title

Steps to Reproduce

Take off jumpsuit while inside suit storage

What you Expected

I don't know what I expected.

What Actually Happened

ID, belt, and pockets got deleted.

Cyadox commented 6 years ago

Removing your jumpsuit drops those items onto the floor automatically, and are probably being nullspaced since they can't be put into the suitstorage container.

Is it intended for people to be able to access their inventory while in a suit storage unit? If not, a little sanity would fix this.

Intigracy commented 6 years ago

Actually, it's dropping them into the suit storage unit's contents.

gbasood commented 6 years ago

so basically this just needs to tell the player where the items go i guess

Exxion commented 6 years ago

That and actually let them get them back

gbasood commented 6 years ago

I didn't realize you couldn't dump the storage contents

MadmanMartian commented 6 years ago

Can't you turn off the power and crowbar the stuff out?

Exxion commented 6 years ago

Maybe, but that's a pretty wacky thing to have to do to pull objects out of a unit designed for storing other objects

Intigracy commented 6 years ago

Just make it dump the "loose" contents when opened.

Cyadox commented 6 years ago

Should we even let people drop items while crammed inside what is essentially a suit locker? You can't do that in a normal locker if I recall.

DamianX commented 6 years ago

even if you don't let people do it, some things like robotic arms malfunctioning would have the same effect, might as well provide a way to eject the contents.

Aurx commented 6 years ago

It's safer to assume that people can drop anything anywhere they are than it is to assume nobody will ever add a way to drop things in stupid places.

Cyadox commented 6 years ago

People will always find a way to do stupid things

Fair enough. Intigracy pretty much nailed it, just make it dump anything inside that shouldn't be there.

gbasood commented 6 years ago

Alternatively just make it drop the shit from the suit where you're standing I don't care either way honestly, just that they can get the shit back easier than crowbaring it out without power

Kurfursten commented 6 years ago

It should use get_turf instead of loc. That should be a universal standard.

MadmanMartian commented 6 years ago

man takes off clothes inside closet clothes pop out of the closet

DamianX commented 6 years ago

cigar goes out inside closet butt pops out of the closet

Aurx commented 6 years ago

I can't think off-hand of any circumstances where dropping an item while inside something should intuitively place it outside the thing.
Dropping to turf instead of loc while inside things would, quite reasonably, get bug reported.

gbasood commented 6 years ago

No, it drops inside a suit storage, like the things in EVA. You can't be in those.

Intigracy commented 6 years ago

You can be stuffed into them buddy, it's why you can hack the controls to make them deal more damage.

Simply loop through the contents when it's opened and remove anything not referenced by the three slots. It already does it for mobs.

On Nov 6, 2017 4:27 PM, "sood" notifications@github.com wrote:

No, it drops inside a suit storage, like the things in EVA. You can't be in those.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vgstation-coders/vgstation13/issues/16472#issuecomment-342334269, or mute the thread https://github.com/notifications/unsubscribe-auth/AD20pGyhhwr64OtvgmvNtzJah_AofYWUks5sz6QGgaJpZM4QTiQd .

Exxion commented 6 years ago

@Kurfursten That is the opposite of true.

Kurfursten commented 6 years ago

@Exxion You can't possibly stand by that claim. If you argue that get_turf should never be used for anything (the opposite), you'd prevent grenades from going off when held in hand because their loc would not be a turf.

Exxion commented 6 years ago

Man, you know what I meant. When one object is dropped by/spawned from/detached from/etc. another, it should always use loc, not get_turf(). get_turf() should be used only very sparingly when moving or spawning objects.

Kurfursten commented 6 years ago

Yes I did

Aurx commented 6 years ago

M8, even if you did take him literally, the negation of "It should use get_turf instead of loc. That should be a universal standard." is not "Never use get_turf".

Kurfursten commented 6 years ago

One verbal tease is enough for me thanks, I don't have the autism necessary to argue with you about the nuances of "negation" versus "opposite".

Aurx commented 6 years ago

"Opposite of true" is false indicates the negation of the statement is true. I'm sorry, I need to confiscate your autist license, you've clearly normalized.

gbasood commented 6 years ago

everyone shut up and fix the bug

Exxion commented 6 years ago

It's really more of an oversight

SonixApache commented 6 years ago

@gbasood you can actually just climb into suit storage units yourself, I usually do it whenever I gotta go AFK as engineer