Discussion of Extension to the '.' notation to allow multiple keywords

Started by Morgenes, March 25, 2009, 02:58:34 PM

Reposting from the Staff Announcements forum (original link: http://www.zalanthas.org/gdb/index.php/topic,34852.msg436222.html#msg436222), please use this thread to discuss this change:

I've extended the '.' notation for referring to things to allow you to combine multiple keywords.  If you want to be more specific, you can refer to someone by combining multiple keywords and separating them with a '.'.

Examples:

   > look brown.candle
   # Looks at the brown candle.

   > keyword blue.cotton
   # Show all things in the vicinity that have the keywords 'blue' and 'cotton'

   > kill muscular.man
   # Kills the muscular man

   > put all.tallow.candle 2.large.bag
   # Puts all of the tallow candles into the second large bag.

   > emote flips ~blue.wrap behind him.
   # Performs an emote showing me flip my 'blue wrap' behind me.
Morgenes

Producer
Armageddon Staff

Morg, I've been wishing for this ever since you described it for Arm Reborn. :D Thanks.
The sword is sharp, the spear is long,
The arrow swift, the Gate is strong.
The heart is bold that looks on gold;
The dwarves no more shall suffer wrong.


:high-fives ~guru.morgenes

Question:  can we do multiple keywords for multiple overlaps?  For instance, if there are two "tall" characters who both have "brown" as a keyword (the tall, brown-eyed man and the tall figure in a hooded brown military aba), can we emote at ~tall.brown.eyed?
Quote from: WarriorPoet
I play this game to pretend to chop muthafuckaz up with bone swords.
Quote from: SmuzI come to the GDB to roleplay being deep and wise.
Quote from: VanthSynthesis, you scare me a little bit.

Quote from: Synthesis on March 25, 2009, 03:11:22 PM
Question:  can we do multiple keywords for multiple overlaps?  For instance, if there are two "tall" characters who both have "brown" as a keyword (the tall, brown-eyed man and the tall figure in a hooded brown military aba), can we emote at ~tall.brown.eyed?

Yes, you can separate as many keywords as you like with '.' as you suggested above.
Morgenes

Producer
Armageddon Staff

Quote from: Synthesis on March 25, 2009, 03:11:22 PM
:high-fives ~guru.morgenes

:high-fives ~super.fucking.awesome.guru.morgenes
Quote from: WarriorPoet
I play this game to pretend to chop muthafuckaz up with bone swords.
Quote from: SmuzI come to the GDB to roleplay being deep and wise.
Quote from: VanthSynthesis, you scare me a little bit.

My god I'm so excited for this. Can we 'keyword tall.dark.handsome' as well? Has that already been in place? Is it even useful? I don't know but I want to do it.

Quote from: RogueGunslinger on March 25, 2009, 03:21:19 PM
My god I'm so excited for this. Can we 'keyword tall.dark.handsome' as well? Has that already been in place? Is it even useful? I don't know but I want to do it.

See the examples above:

Quote> keyword blue.cotton
   # Show all things in the vicinity that have the keywords 'blue' and 'cotton'
Morgenes

Producer
Armageddon Staff


Thank you.

Especially for emoting, this is awesome.
Evolution ends when stupidity is no longer fatal."

This is really awesome.
New Players Guide: http://gdb.armageddon.org/index.php/topic,33512.0.html


Quote from: Morgenes on April 01, 2011, 10:33:11 PM
You win Armageddon, congratulations!  Type 'credits', then store your character and make a new one


¿ count blue.fruit all.bag ?
The sword is sharp, the spear is long,
The arrow swift, the Gate is strong.
The heart is bold that looks on gold;
The dwarves no more shall suffer wrong.

Quote from: brytta.leofa on March 25, 2009, 03:37:36 PM
¿ count blue.fruit all.bag ?

Not yet, currently put and get are the only commands that understand the 'all.' notation.  I will consider this for count though.
Morgenes

Producer
Armageddon Staff


Now I need to update my new players guide:  http://www.zalanthas.org/gdb/index.php/topic,33512
New Players Guide: http://gdb.armageddon.org/index.php/topic,33512.0.html


Quote from: Morgenes on April 01, 2011, 10:33:11 PM
You win Armageddon, congratulations!  Type 'credits', then store your character and make a new one

Quote from: Morgenes on March 25, 2009, 03:41:26 PM
Quote from: brytta.leofa on March 25, 2009, 03:37:36 PM
¿ count blue.fruit all.bag ?

Not yet, currently put and get are the only commands that understand the 'all.' notation.  I will consider this for count though.

Y'know, when combined with multi-keyword-filtering, doesn't this present some new possibilities for other sorts of targetting?  (Ability to fairly selectively target multiple people, instead of just individuals OR the whole room.)

  > cast 'sul un bugaboo evil weevil' all.soldier.human,all.templar,yellow.kank
  Magickal currents begin to swirl around you.
  Hope you got enough mana for all that, buddy!

  > order unit.archers shoot all.giant.soldier north
  (Splits the unit's fire between all specified targets.)

Not saying that it's worth it, just that it's probably more feasible now. ;)
The sword is sharp, the spear is long,
The arrow swift, the Gate is strong.
The heart is bold that looks on gold;
The dwarves no more shall suffer wrong.



YAY.

This is awesome!!
Quoteemote pees into your eyes deeply

Quote from: Delirium on November 28, 2012, 02:26:33 AM
I don't always act superior... but when I do it's on the forums of a text-based game



I have an overwhelming urge to make you cookies, or brownies, or cake.
As of February 2017, I no longer play Armageddon.

Awsomesauce. Morgenes is legend.
Someone says: I imagine the festivities have worn you thin... Well good. I plan on leading patrols over the next month, that would turn even your shriveled manhoods into sturdy poles of destruction.

This ability is awesome, especially in really crowded, spammy places!

I tripped and Fale down my stairs. Drink milk and you'll grow Uaptal. I know this guy from the state of Tenneshi. This house will go up Borsail tomorrow. I gave my book to him Nenyuk it back again. I hired this guy golfing to Kadius around for a while.


A possible extension: add the ability to EXCLUDE keywords from the match.

   > kill beetle.-war   (attack the first beetle that ain't somebody's mount)
   > spit rugged.one-eyed.-templar  (spit on the first rugged, piratical commoner)

I know, Morgenes, I'm an ungrateful, never-satisfied git.
The sword is sharp, the spear is long,
The arrow swift, the Gate is strong.
The heart is bold that looks on gold;
The dwarves no more shall suffer wrong.

I'd just like to reaffirm the double.plus.good status of this addition.

It takes a little getting used to (mainly to get over the laziness of fishing for a single unique keyword identifier), but once you start defaulting to multiple keywords, it's flippin' awesome.
Quote from: WarriorPoet
I play this game to pretend to chop muthafuckaz up with bone swords.
Quote from: SmuzI come to the GDB to roleplay being deep and wise.
Quote from: VanthSynthesis, you scare me a little bit.

bad ass. No more killing my black inix when I mean to kill the black beetle.

:)
If you gaze for long enough into the abyss, the abyss gazes also into you.

www.j03m.com

Can you:

>put all.coins pack

?
New Players Guide: http://gdb.armageddon.org/index.php/topic,33512.0.html


Quote from: Morgenes on April 01, 2011, 10:33:11 PM
You win Armageddon, congratulations!  Type 'credits', then store your character and make a new one

You can just "put coins pack." This modification went in some time ago.

Last time I tried, you still could not "put coin pack,"  if you happened to only have one coin in your inventory.  I had to do "put 1 coins pack," as "put coins pack" turned up nothing to match the keyword.
she said slow down this train
slow down the iron that runs in my veins

Quote from: Wyx on July 09, 2009, 11:08:38 PM
You can just "put coins pack." This modification went in some time ago.

     Wow, didn't know this.  Thanks!
No one can make you feel inferior without your consent.

- Eleanor Roosevelt

Quote from: brytta.leofa on April 06, 2009, 12:27:23 PM
A possible extension: add the ability to EXCLUDE keywords from the match.

  > kill beetle.-war   (attack the first beetle that ain't somebody's mount)
  > spit rugged.one-eyed.-templar  (spit on the first rugged, piratical commoner)

I know, Morgenes, I'm an ungrateful, never-satisfied git.

That is pretty awesome. A beetle walked in on me the other day and I was like "shit..keyword...not beetle...uh...not huge....shit....BLACK...kill BLACK!"

Good thing there was no blackhaired man.
If you gaze for long enough into the abyss, the abyss gazes also into you.

www.j03m.com

Quote from: jmordetsky on July 10, 2009, 03:03:51 PM
Quote from: brytta.leofa on April 06, 2009, 12:27:23 PM
A possible extension: add the ability to EXCLUDE keywords from the match.

   > kill beetle.-war   (attack the first beetle that ain't somebody's mount)
   > spit rugged.one-eyed.-templar  (spit on the first rugged, piratical commoner)

I know, Morgenes, I'm an ungrateful, never-satisfied git.

That is pretty awesome. A beetle walked in on me the other day and I was like "shit..keyword...not beetle...uh...not huge....shit....BLACK...kill BLACK!"

Good thing there was no blackhaired man.

Thank God for the stop command. 
Kill beetle
think WAIT! NO DON'T!
stop
1 command purged.
think Phew.

The rugged, white-eyed man exclaims, in southern-accented sirihish,
  "Not mah mount!"
The sword is sharp, the spear is long,
The arrow swift, the Gate is strong.
The heart is bold that looks on gold;
The dwarves no more shall suffer wrong.

The stubble-bearded, one-eyed man exclaims, in sirihish:
                             "Down, Spunky!  Down!  Tek, not 'gain!"
she said slow down this train
slow down the iron that runs in my veins