Armageddon General Discussion Board

General => General Discussion => Topic started by: Morgenes on January 14, 2006, 02:28:55 PM

Title: Command emotes added to the give command.
Post by: Morgenes on January 14, 2006, 02:28:55 PM
Per your overwhelming requests, give is the next command to be give the command emote treatment.  See this helpfile (http://www.armageddon.org/cgi-bin/help_index/show_help?give)  for more information.
Title: Command emotes added to the give command.
Post by: Tamarin on January 14, 2006, 02:29:37 PM
Oh my god!  You guys have been BUSY this week.

*loves when the coders make posts on the GDB*
Title: Command emotes added to the give command.
Post by: flurry on January 14, 2006, 02:51:45 PM
Hey cool.   Really cool.

Did this happen to eat/taste/drink/sip too?  The 12/24 Weekly Update says so, but I don't think it was announced and the helpfiles don't seem to say anything about it.
Title: Command emotes added to the give command.
Post by: Nusku on January 14, 2006, 03:03:48 PM
Yep, eat/drink/taste/sip have had this for a few weeks now.
Title: Command emotes added to the give command.
Post by: flurry on January 14, 2006, 03:06:06 PM
Is the syntax the same as the one for give?  I don't see it in the help files.
Title: Command emotes added to the give command.
Post by: Nusku on January 14, 2006, 03:09:57 PM
It's very flexible syntax. The one I use is:

eat (emote) object
This also works:
eat object (emote)

I would guess that you can substitute * for () or -emote for a single word, like the rest of the emote parsers. It comes out looking like:

eat (doing a fancy jig) bread

Doing a fancy jig, you eat part of a loaf of bread.
Title: Command emotes added to the give command.
Post by: Delirium on January 14, 2006, 03:10:39 PM
Very cool.

And flurry - syntax for eat/drink is the same as the sit/stand emotes.

eat (tearing off a nice big mouthful) meat

drink (guzzling like a sailor) bottle


I have noticed that, when you emote the phrasing is:

Chowing down, the skinny chick eats part of her loaf of bread.

Instead of:

Chowing down, the skinny chick eats part of a loaf of bread.


This can result in some amusing-looking sentences with certain kinds of food.
Title: Command emotes added to the give command.
Post by: Tamarin on January 14, 2006, 03:18:09 PM
Whoa...since when could you do this?

>emote Laughter comes from %@ throat.

Laughter comes from the man's throat.


??
Title: Command emotes added to the give command.
Post by: jmordetsky on January 14, 2006, 03:24:46 PM
sweet
Title: Command emotes added to the give command.
Post by: flurry on January 14, 2006, 03:40:50 PM
Cool, thanks Nusku and Delirium (and Morgenes of course)!
Title: Command emotes added to the give command.
Post by: spawnloser on January 14, 2006, 04:14:58 PM
Quote from: "Tamarin"Whoa...since when could you do this?

>emote Laughter comes from %@ throat.

Laughter comes from the man's throat.
Since just about forever.
Title: Command emotes added to the give command.
Post by: Yokunama on January 14, 2006, 04:27:35 PM
Gah! More stuff to remember.
Title: Command emotes added to the give command.
Post by: Seeker on January 14, 2006, 04:27:49 PM
First, THANK YOU.

Second,

I intended to book-mark this thread to reference everytime I have to read a GDB post about lack of responsiveness to player's input.  This and the cool one awhile ago about mirrors.  That was a nice little touch too.

Seeker
Title: Command emotes added to the give command.
Post by: Tamarin on January 14, 2006, 04:35:21 PM
Ya this, and the thread about the watch command.
Title: Command emotes added to the give command.
Post by: Marauder Moe on January 14, 2006, 05:35:46 PM
Who said the Imms don't respond to player input?  I think this game may literally hold the record for staff implementing player ideas quickly.

If I recall correctly, the auto-save at city gates was implemented less than three hours after a player submitted the idea on the boards.
Title: Command emotes added to the give command.
Post by: Morgenes on January 14, 2006, 05:52:04 PM
Thanks for the reminder on sip/eat/taste/drink.  I posted it on the changes board, but didn't update the documentation.

As some of you have noticed we've made the syntax for command emotes as flexible as possible.  You can put the emotes wherever makes you happy, even doing something as funky as putting the post emote first.  All of the following will be interpreted exactly the same:

  > drink glass [a line of wine dribbles down ^@ cheek] (throwing it back)

  > drink (throwing it back) glass (a line of wine dribbles down ^@ cheek)

  > drink [throwing it back] [a line of wine dribbles down ^@ cheek] glass
Title: Command emotes added to the give command.
Post by: Tamarin on January 14, 2006, 05:55:06 PM
I don't understand...

Morgenes, can you paste examples of what the resulting emotes look like?
Title: Command emotes added to the give command.
Post by: Morgenes on January 14, 2006, 06:06:27 PM
Quote from: "Morgenes"
  > drink glass [a line of wine dribbles down ^@ cheek] (throwing it back)

  > drink (throwing it back) glass (a line of wine dribbles down ^@ cheek)

  > drink [throwing it back] [a line of wine dribbles down ^@ cheek] glass

All 3 of these would result in the same emote:

Quote
Throwing it back, Morgenes drinks wine from a wineglass, a line of wine dribbles down his cheek.

What I'm showing here is that you can put the emotes anywhere in the line of arguments.  In the examples above I move 'glass' from the first 'argument' to inbetween the two emotes in the second, and at the end in the third.  The code handles it anyway you want.

The second thing I'm showing is the fact that if you have both () and [] in an emote the () is always the pre-emote, and the [] is always the post emote.  So in the first example, even though I had the [] first, it was still interpretted as the post-emote.

If you use the same emote marker for both, either () or [], the first one is always the pre-emote, the second is always the post-emote.

Really this discussion should be saved as a 'advanced command emotes' help file, as most people can get along just fine without ever realizing that  these syntax options are available.  For this reason, we keep the syntax examples very simple in the help files.
Title: Command emotes added to the give command.
Post by: Tamarin on January 14, 2006, 06:23:32 PM
Thank you for the clarification.  :)
Title: Command emotes added to the give command.
Post by: Cyrian20 on January 14, 2006, 07:35:06 PM
Quote from: "Marauder Moe"Who said the Imms don't respond to player input?  I think this game may literally hold the record for staff implementing player ideas quickly.

If I recall correctly, the auto-save at city gates was implemented less than three hours after a player submitted the idea on the boards.

sry derail, Does anyone have a link to the referenced post above?
Title: Command emotes added to the give command.
Post by: Lazloth on January 14, 2006, 08:17:35 PM
http://www.zalanthas.org/phpBB2/viewtopic.php?t=12664
Title: Command emotes added to the give command.
Post by: Marauder Moe on January 14, 2006, 08:56:38 PM
Hmm, guess it was six and a half hours.  Still, pretty damned fast.

Edit: Less than two hours from when Morgenes read the idea and when it was implemented, though.
Title: Command emotes added to the give command.
Post by: moab on January 15, 2006, 11:49:30 AM
Does the syntax ^@ work? I never knew that.
Title: Command emotes added to the give command.
Post by: spawnloser on January 15, 2006, 12:40:21 PM
Yes, moab, it does.