Armageddon General Discussion Board

General => Code Discussion => Topic started by: bardbard#4 on August 25, 2024, 07:36:32 AM

Title: Suggestion - Transfer Command
Post by: bardbard#4 on August 25, 2024, 07:36:32 AM
Instead of:

>get fruit bag
>put fruit table

Maybe:
>transfer fruit bag table
Title: Re: Suggestion - Transfer Command
Post by: Dusty Boots on August 25, 2024, 08:43:21 AM
Kinda sorta.
The thing is that you can always do 'get all.fruit bag;put all.fruit table', and it effectively does what you're looking for.

There's also the 'empty' and 'pour' command.
Title: Re: Suggestion - Transfer Command
Post by: Kismetic on August 25, 2024, 09:53:29 AM
I'm all for anything that eliminates spam.  So and so gets several things from a bag and moves them to a table.  Lord, please.
Title: Re: Suggestion - Transfer Command
Post by: Agent_137 on August 25, 2024, 12:27:16 PM
Quote from: bardbard#4 on August 25, 2024, 07:36:32 AMInstead of:

>get fruit bag
>put fruit table

Maybe:
>transfer fruit bag table

This would be nice quality of life to have in game. Especially for mobile / grapevine users.

Ofc as a full-client junky, I always do this with a client alias like below. I can provide it for mushclient, mudlet, and tintin upon request or reminder. Not at my pc atm.

Bag keyword container -> get keyword; put keyword container

Pipe container1 container2 keyword -> get keyword container1; put keyword container2

Having it in game would be nice for the spam reduction. But one could probably script that too, strangeloop did so for tintin recently https://discord.com/channels/304236792750538752/1038520680611860591/1272659899415003246

Title: Re: Suggestion - Transfer Command
Post by: Lotion on August 25, 2024, 01:31:17 PM
Quotehelp empty

Empty                                                                 (Items)

   This command will empty any container you are holding. There are two
possible targets for the items inside: another container or the ground.
The name of the target object must be supplied in the first instance, and
the word "out" or "ground" in the second.


Syntax:
   empty <container> <target>

Example:
> empty sack crate
> empty backpack out
> empty bag ground

See also:
   pour fill

Delay:
   after
Title: Re: Suggestion - Transfer Command
Post by: Kismetic on August 25, 2024, 04:38:37 PM
Quote from: Lotion on August 25, 2024, 01:31:17 PM
Quotehelp empty

Empty                                                                 (Items)

   This command will empty any container you are holding. There are two
possible targets for the items inside: another container or the ground.
The name of the target object must be supplied in the first instance, and
the word "out" or "ground" in the second.


Syntax:
   empty <container> <target>

Example:
> empty sack crate
> empty backpack out
> empty bag ground

See also:
   pour fill

Delay:
   after

Empty is cool and all, and yeah thanks for sharing for those who have never used it, but what's the inverse?  What about objects that don't let you empty?
Title: Re: Suggestion - Transfer Command
Post by: flurry on August 25, 2024, 04:41:46 PM
This command would be strictly better than pour, empty, or get/put. It's not indiscriminate, like pour and empty are. It's also not as spammy as get/put, which is dependent on how many items you can have in your inventory. So, yes please.
Title: Re: Suggestion - Transfer Command
Post by: talos on August 25, 2024, 06:53:55 PM
Transfer is already a command.   :)


Perhaps we could extend 'empty' or 'pour' to filter for specific keywords.

Title: Re: Suggestion - Transfer Command
Post by: Twilight on August 25, 2024, 07:39:49 PM
How can my thiefly self tell what you are moving from where to where?
Title: Re: Suggestion - Transfer Command
Post by: bardbard#4 on August 26, 2024, 11:36:34 AM
Quote from: Lotion on August 25, 2024, 01:31:17 PM
Quotehelp empty

Empty                                                                 (Items)

   This command will empty any container you are holding. There are two
possible targets for the items inside: another container or the ground.
The name of the target object must be supplied in the first instance, and
the word "out" or "ground" in the second.


Syntax:
   empty <container> <target>

Example:
> empty sack crate
> empty backpack out
> empty bag ground

See also:
   pour fill

Delay:
   after

I was thinking a command as I have suggested would be great for organizing rooms, where the empty command isn't possible. Shelves, for instance.
Title: Re: Suggestion - Transfer Command
Post by: Lotion on August 26, 2024, 08:35:16 PM
Quote from: bardbard#4 on August 26, 2024, 11:36:34 AMI was thinking a command as I have suggested would be great for organizing rooms, where the empty command isn't possible. Shelves, for instance.
Try
get shelf
empty shelf bag
drop shelf ~ with a certain arrange that you'd like
If you want the order of items in the room to be preserved then you can just target them with craft.
Sometimes you can't get shelf, but sometimes you can.
Title: Re: Suggestion - Transfer Command
Post by: Vaun on August 27, 2024, 06:00:56 PM
Quote from: Lotion on August 26, 2024, 08:35:16 PM
Quote from: bardbard#4 on August 26, 2024, 11:36:34 AMI was thinking a command as I have suggested would be great for organizing rooms, where the empty command isn't possible. Shelves, for instance.
Try
get shelf
empty shelf bag
drop shelf ~ with a certain arrange that you'd like
If you want the order of items in the room to be preserved then you can just target them with craft.
Sometimes you can't get shelf, but sometimes you can.

Some shelves can't be picked up. Other shelves are too heavy for for weaklings with low strength to lift if they have any contents.
Title: Re: Suggestion - Transfer Command
Post by: eska on August 28, 2024, 04:02:48 AM
A new command or extending an existing command to do that would be cool.
When I come back from a hunt, I create a huge spam of emptying my bags into the various containers. Following examples would solve the spam issue for everyone in the room.

empty flower bag bin
You put all the flowers from your large bag into the herb bin.

empty rough bag 2.crate
You put all the roughs from your large bag into the gem-carved crate.

empty meat bag pack
You put all the meats from your large bag into your backpack.

However, the empty command requires me to have the first container in my inventory. If I want to organize the containers in the room, I will still create huge spam, since I cannot pick up a 120 stone chest or a 400 stone trunk.