Armageddon General Discussion Board

General => Code Discussion => Topic started by: LindseyBalboa on January 27, 2020, 08:35:14 PM

Title: QOL: Undress
Post by: LindseyBalboa on January 27, 2020, 08:35:14 PM
Suggestion: Undress command. Removes everything you're wearing. Helpful when switching outfits or armors or when you forget what tattoos you have, instead of having to do it piece by piece. Should take emotes.
Title: Re: QOL: Undress
Post by: tiny rainbow on January 27, 2020, 11:02:49 PM
Really good idea, remove all and wear all as options to do the same thing would be great too, I figure probably a lot of other people try that at first intuitively but find it doesn't work :)

But then I think, maybe it isn't there on purpose because it would seem kind of unrealistic in a lot of cases (especially armour) to be able to change too quick suddenly, maybe make it simply queue removing or wearing for each piece of clothing with a slight delay between each as if typing? So it's still the same as stripping each piece of clothing/armour realistically, taking a little time for each piece (clothing/armour should probably have a slight delay anyway the more complicated it is to put on or take off) (could also stop if change mind or interrupted)

Could also wear/remove all closet/chest/bedroll/rug to pick up each piece and start taking them off or putting on, would pick up the most recent items put down until fully dressed - this would pick up something extra left there if the most recent stuff didn't clothe fully, so I can see it could make someone pick up and wear something really hilariously inappropriate to wear left there :) But since that could get people upset of IC things over OOC command weirdness, could also make it by default use an admin record of who touched what, with having to instead use "wear all any closet" to grab and wear anything from anyone

I was thinking maybe it could encourage people to not RP things out as much, but sometimes it's fiddly with the item names to type which encourages people to try rush anyway, so if someone's facing the choice of typing a paragraph of item names and commands it would actually encourage people more to write emotes while the game slowly goes through the boring items part, so it makes sense actually. :)
Title: Re: QOL: Undress
Post by: ShaLeah on January 28, 2020, 07:56:29 AM
Been suggested multiple times.  Wear all is halfway there.

https://gdb.armageddon.org/index.php/topic,50717.msg931218.html#msg931218
Title: Re: QOL: Undress
Post by: Riev on January 28, 2020, 09:16:42 AM
I am behind any quality of life that actually leads to people changing outfits once in a while. Especially in Allanak, where the ideal state of dress is 'fully covered head to toe', it can be daunting to set up a wardrobe that covers nicely. Once you find it, why would you ever change?

I've had macros/scripts set up just to change clothes before, because its just such a hassle. I don't know if 'remove all' is the way to do it, but it would certainly help address slow typers and spamming the screen with all your shit.

Adding that if I'm "removing all", I'd probably want to keep the stuff on my trunk and pelvis to stay, so I can have a semblance of underclothes.
Title: Re: QOL: Undress
Post by: Lizzie on January 28, 2020, 09:22:33 AM
Wear all is a really great way to trick someone into overencumbrance so you can kill them.

You're in the apartment/barracks/warehouse, they dump their bag of clothes out on the ground. You plant a few heavy items - which become the default "first" items because they are now the most recent in the room.

They type WEAR ALL and now they're wearing those few heavy things you put down, plus everything they put down that occupies any space on their bodies not already occupied, and voila - extremely heavy.

Combat will be a piece of cake now. So will chasing them somewhere since they'll run out of steam long before you do. All because someone chose to wear all instead of wearing only the specific things they want to wear.

And good luck trying to wear all in a room that has a LOT of wearables on the ground already - you'll spend a few minutes waiting for the code to tell you "you are already wearing something on your legs" for the 20th time before it's finished running the cycle. Takes less time to just pick what you want and wear it.

REM all will put everything you're wearing in your inventory, unless you already have as many things as you can possibly have in your loose inventory. And then you'll have to drop something, in order to remove something else. Again, easier and quicker to just remove each thing individually.
Title: Re: QOL: Undress
Post by: LindseyBalboa on January 28, 2020, 11:49:14 AM
@Lizzie literally in no way is it quicker to individually target 20 keywords than it is to remove all and have all your worn items dumped into your inventory. There are already commands and instances in which ones inventory will be filled with more than one can carry.

@Riev the most simple way I've seen it done elsewhere is just typing undress, then rewearing your pants or whatever you wanted.

@Tiny Rainbow separately from the rem all or undress command, a wear all (container) command would be cool for organization and outfit storage. I like that idea as well!
Title: Re: QOL: Undress
Post by: Riev on January 28, 2020, 12:47:29 PM
rem all; drop all

This will start removing your items, and iteratively drop the first thing in your inventory until there is nothing left. So we KIND of have that already, but a dozen different items is a lot of screen scroll too.

I would be on board if "undress" just was one echo that removed all wearables, but "dress" would be a lot trickier.
Title: Re: QOL: Undress
Post by: Lizzie on January 28, 2020, 01:04:18 PM
One possibility might be similar to how macros are available in game (you do know you can set up up to 10 macros in game right?).

A character-specific template that can be changed as needed.

Something like

"Your character can have up to 4 wardrobe changes automated, with up to 8 items removed and replaced per change."

Please name Outfit #1: > Rinth ubergear
Outfit #1, Rinth ubergear
1.
2.
3...(and so forth)

Please name Outfit #2: >Borsail aide daytime
Outfit #2, Borsail aide daytime
1.
2.
3. (and so forth)

You could set each (or any) of these up, and after that you just type

change outfit 1, 2

and it'd take off whatever items were on the list from the rinthi outfit
and wear whatever items will fit on available wear slots for your Borsail aide daytime collection.

You can edit any of the outfits, so if the templar stole your steel sword of doom and you bought a wood doohikie to replace as your go-to weapon, you can switch it out of the outfit's list.

Any other items you'd need to replace manually, which allows for variations.
Title: Re: QOL: Undress
Post by: lostinspace on January 28, 2020, 01:20:34 PM
I like the idea of different outfits, but that would probably be rough to code. I was thinking on my drive to work earlier that maybe a good approach would be something like:

undress 'container' and dress 'container'

Undress removes all your equipped items and puts them into the container, likely with a delay similar to the one on the empty command.
Dress goes through everything in a container and attempts to equip it. If there's no available slot to equip it, it stays in the bag.

You might have to deal with multi-location items getting in each others way, or going on the wrong location but it wouldn't be any harder than having dig through the container yourself.

If you set everything up right, changing from your armor to your civvies could be as simple as undress green.bag; dress yellow.bag. As with empty, the ground could be a suitable container for both dress and undress.
Title: Re: QOL: Undress
Post by: Lizzie on January 28, 2020, 01:48:31 PM
Quote from: lostinspace on January 28, 2020, 01:20:34 PM
I like the idea of different outfits, but that would probably be rough to code. I was thinking on my drive to work earlier that maybe a good approach would be something like:

undress 'container' and dress 'container'

Undress removes all your equipped items and puts them into the container, likely with a delay similar to the one on the empty command.
Dress goes through everything in a container and attempts to equip it. If there's no available slot to equip it, it stays in the bag.

You might have to deal with multi-location items getting in each others way, or going on the wrong location but it wouldn't be any harder than having dig through the container yourself.

If you set everything up right, changing from your armor to your civvies could be as simple as undress green.bag; dress yellow.bag. As with empty, the ground could be a suitable container for both dress and undress.

you also have to deal with individual items with multiple wear slots.

a bag could go on one shoulder, the other shoulder, or on your back. But what happens if you need it to go in one specific place and not the other, because you have a different item that can only go in one spot, and the bag would normally default to that spot?

Some sunslits can be worn on the face, on eyes, or on head. "Wear all" will not know which one you mean and will attempt to default to whatever the default slot is. If it can't go on that spot because something else is already there, it will just refuse to let you wear it.  If it goes to the default spot, and the next thing in your bag needs to go in that spot, then the next thing won't get worn at all.

So this entire system would require that you plug in which of multiple spots you want certain things to be worn on, each time you wear them.

Remove all is easy - wear all not so much, unless you have specific outfits already set up in a macro or script.
Title: Re: QOL: Undress
Post by: lostinspace on January 28, 2020, 02:11:46 PM
That is a problem I mentioned in my post, and outside of tagging what wearlocation the item should go on the only other idea I had was to unequip items in reverse slot priority. The idea being that the last thing you unequip and put into the bag would be from the wear slot that would be the first one to try. I have no idea if this is a feasible solution in the code, but if there is a priority it could be used to mitigate these situations.

Of course as soon as you start taking things in and out of the container that order would be messed up.
Title: Re: QOL: Undress
Post by: Lizzie on January 28, 2020, 10:18:12 PM
Quote from: lostinspace on January 28, 2020, 02:11:46 PM
That is a problem I mentioned in my post, and outside of tagging what wearlocation the item should go on the only other idea I had was to unequip items in reverse slot priority. The idea being that the last thing you unequip and put into the bag would be from the wear slot that would be the first one to try. I have no idea if this is a feasible solution in the code, but if there is a priority it could be used to mitigate these situations.

Of course as soon as you start taking things in and out of the container that order would be messed up.

This is why it is SO much easier to do it client-side rather than hard-code it into the game. You can set up any script you want for dress-all or undress-all, custom-made for your specific outfits and preferred wear locations for every single item.
Title: Re: QOL: Undress
Post by: KittenLicks on January 29, 2020, 03:35:19 AM
This already exists for the clean command, I don't see why "undress me" would be so bad. Wear all, is, of course, pretty undoable, but undress sounds good.


undress me (preparing to change into his armor)

Preparing to change into his armor, the tall, dark-haired removes all his clothing.


That seems much better than scrolling people's screens with individual messages about how you remove each piece of clothing.

EDIT: I just reread this, and it's a painfully good point. Darn.

Quote from: Lizzie on January 28, 2020, 09:22:33 AM
REM all will put everything you're wearing in your inventory, unless you already have as many things as you can possibly have in your loose inventory. And then you'll have to drop something, in order to remove something else. Again, easier and quicker to just remove each thing individually.
Most people probably aren't going to have space for an entire wardrobe in their inventory. Maybe "undress large.bag" to just pack everything you're wearing into a bag?
Title: Re: QOL: Undress
Post by: Lizzie on January 29, 2020, 10:19:53 AM
Quote from: KittenLicks on January 29, 2020, 03:35:19 AM
This already exists for the clean command, I don't see why "undress me" would be so bad. Wear all, is, of course, pretty undoable, but undress sounds good.


undress me (preparing to change into his armor)

Preparing to change into his armor, the tall, dark-haired removes all his clothing.


That seems much better than scrolling people's screens with individual messages about how you remove each piece of clothing.

EDIT: I just reread this, and it's a painfully good point. Darn.

Quote from: Lizzie on January 28, 2020, 09:22:33 AM
REM all will put everything you're wearing in your inventory, unless you already have as many things as you can possibly have in your loose inventory. And then you'll have to drop something, in order to remove something else. Again, easier and quicker to just remove each thing individually.
Most people probably aren't going to have space for an entire wardrobe in their inventory. Maybe "undress large.bag" to just pack everything you're wearing into a bag?

...and when the bag is full?