A new addition to "Get"

Started by Maybe42or54, February 01, 2005, 09:21:10 PM

Anyone think this is possible?
Anyone have anything to add?
Or to degrade?


Get 7 flint 3.chest

You get six flint from the chest, Your inventory is full.

I
You are carrying:
A few large pieces of flint.
A few flakes of flint.


get 7 flint 3.chest
You can't get anymore, Your inventory is full.

I
You are carrying:
A few large pieces of flint.
A few flakes of flint.
Quote from: Shoka Windrunner on April 16, 2008, 10:34:00 AM
Arm is evil.  And I love it.  It's like the softest, cuddliest, happy smelling teddy bear in the world, except it is stuffed with meth needles that inject you everytime

Well, another MUD I am familiar with does it like this:

get 7*flint 3.chest

and even

buy 10*feather

Of course, they also have:

get large.flint 3.chest

Which is a bigger issue in my mind, when I have a black stone I want to get from a chest that has 10 black items in it, and 15 stone items, but only one black.stone
Evolution ends when stupidity is no longer fatal."

You can already 'get 3.flint chest' to get a specific piece of flint. As well as just using a different keyword. If it's the same piece of flint, doesn't matter which piece you get, if it has a different keyword use the keyword. So even if it wasn't possible it wouldn't make any difference. Could still get a certain piece of flint.

As for getting different amount of items, it'd be nice but don't know how difficult it'd be if at all.

Creeper
21sters Unite!

Well the syntax would have to be different, because currently 7.flint will give you the 7th object in the box that has "flint" as a keyword.

I'd love to be able to do something like this...

get all flint box

You get 1 flint-bladed knife from the box.
You get 4 small pieces of flint from the box.
Your inventory is full, you cannot get more from the box.

What would be a real boost is if the parser could recognize multiple keywords.

So you can

get all shard of flint box

and it would give you only as many shards of flint as you can carry, rather than the first 4 flint items, no matter what they happen to be.

Some codes allow for this - it would be something like...

get [quantity = # or all] [item = keyword, keyword+1-5, if keyword = 1 next] [container = keyword, keyword+1-5, if keyword = 1 next]

I know there's a way to make it so that the system will recognize trunk as container..so it isn't confused with a keyword in the item section. Or at least, there is in MOO. This is DIKU, but the Arm coders have done some amazing things with the code so maybe it can be translated to this.

Yes, We all know you use "get 7.flint chest" To get the seventh piece of flint from the chest.

Twilight has a good idea with "get 7*flint chest" to signify quantity.

Along with the others because, simply, our PC's know what we are getting. Adding this would make that easier and less spam. Besides, I can reach into something and grab an armful of stuff. Without this happening.

l in pack
You look into a leather-studded backpack:
A piece of large flint
A some pieces of obsidian
A few pieces of flint

Get all pack
You get a piece of large flint from a leather-studded backpack.
It is very light.

You get a piece of obsidian from a leather-studded backpack.
It is very light.

You get a piece of obsidian from a leather-studded backpack.
It is very light.

You get a piece of obsidian from a leather-studded backpack.
It is very light.

You get a piece of obsidian from a leather-studded backpack.
It is very light.

You get a piece of obsidian from a leather-studded backpack.
It is very light.


You can't get a piece of obsidian from a leather-studded backpack.
Your inventory is full!
You can't get a piece of obsidian from a leather-studded backpack.
Your inventory is full!
You can't get a piece of obsidian from a leather-studded backpack.
Your inventory is full!
You can't get a piece of obsidian from a leather-studded backpack.
Your inventory is full!
You can't get a piece of obsidian from a leather-studded backpack.
Your inventory is full!
You can't get a piece of obsidian from a leather-studded backpack.
Your inventory is full!
You can't get a piece of obsidian from a leather-studded backpack.
Your inventory is full!
You can't get a piece of obsidian from a leather-studded backpack.
Your inventory is full!
You can't get a piece of obsidian from a leather-studded backpack.
Your inventory is full!
ETC!


I hate that.
Quote from: Shoka Windrunner on April 16, 2008, 10:34:00 AM
Arm is evil.  And I love it.  It's like the softest, cuddliest, happy smelling teddy bear in the world, except it is stuffed with meth needles that inject you everytime

Quoteget 7.flint 3.chest
You can't get anymore, Your inventory is full.

I was refering to that. I was guessing you were trying to get the seventh one.

As, if not, I see no reason for you adding that into your idea as an example, as it's supposedly the same thing but you use a different syntax?

Creeper was confused by silly posting.
21sters Unite!

Thanks for correcting me then.
Quote from: Shoka Windrunner on April 16, 2008, 10:34:00 AM
Arm is evil.  And I love it.  It's like the softest, cuddliest, happy smelling teddy bear in the world, except it is stuffed with meth needles that inject you everytime