Author Topic: Give the two hands in the equipment list a special color  (Read 378 times)

anvilsmith

  • Posts: 33
Give the two hands in the equipment list a special color
« on: April 05, 2020, 02:49:55 PM »
Right now, all equipment entries shown by the eq and look commands, including <primary hand>,
<secondary hand> and <both hands>, are white. If these entries were shown in, say, yellow, then every time someone would type eq or look [someone], they could quickly see whether they or the other person carry items (such as weapons) in their hands. This is useful when:
* you forget to equip your weapons before fighting, or tools before crafting
* you forget to unequip your weapons after fighting, or tools after crafting
* you want to check whether you've put away your sparring weapons
* someone comes in deliberately wielding weapons, and you miss that

I'm proposing that the text looks like this:
<across back>            a small jozhal-hide backpack
<around neck>            a dusky chitin neckguard
<on arms>                a pair of one-striped studded sleeves
<on hands>               a pair of chitin-plated leather gloves
<primary hand>           a jagged-edged bone longknife
<secondary hand>         an obsidian dagger
<on legs>                a set of scrab-shell greaves
<on feet>                a pair of dark-leather boots

This shouldn't be hard to implement.
Thoughts? Ideas?

mansa

  • Posts: 9851
Re: Give the two hands in the equipment list a special color
« Reply #1 on: April 05, 2020, 04:13:54 PM »
I like it.
New Players Guide: http://gdb.armageddon.org/index.php/topic,33512.0.html


You win Armageddon, congratulations!  Type 'credits', then store your character and make a new one

Jarvis

  • Posts: 193
Re: Give the two hands in the equipment list a special color
« Reply #2 on: April 05, 2020, 04:22:35 PM »
Yes please
The man puts his tongued, grotesque, translucent groin rig on over his eyes.

Brokkr

  • Administrator
  • Posts: 974
Re: Give the two hands in the equipment list a special color
« Reply #3 on: April 05, 2020, 04:46:58 PM »
There are currently alternatives until/if such a change occurs.

prompt %A will give you constant feedback via your prompt if you are armed, no need to check equipment.

assess -v [opponenet] will tell you if they are armed, as the last line of the output.

9001

  • Posts: 133
Re: Give the two hands in the equipment list a special color
« Reply #4 on: April 05, 2020, 06:04:08 PM »
Getting this effect with Mudlet would be fairly simple if you make a trigger that catches <primary hand> and <secondary hand>, and then sets the foreground color. I don't use Mushclient, but I'd guess it and other clients would be able to do the same thing. Here's how the trigger would look in Mudlet.

« Last Edit: April 05, 2020, 06:12:30 PM by 9001 »

cnemus

  • Posts: 219
Re: Give the two hands in the equipment list a special color
« Reply #5 on: April 05, 2020, 06:39:12 PM »
Ctrl+Alt+h will bring up highlight in Mushclient. You can select any word or phrase, and what color you want it to appear as.
Quote from: Shalooonsh
Armageddon isn't about closure.  It's about Murder, Corruption, and Betrayal.  It's about Mystery, it's about Passion, it's about Brutality.

Lotion

  • Posts: 39
Re: Give the two hands in the equipment list a special color
« Reply #6 on: April 06, 2020, 11:30:39 PM »
Ctrl+Alt+h will bring up highlight in Mushclient. You can select any word or phrase, and what color you want it to appear as.
OOh thanks for this. Previouly I was using triggers to highlight entire lines. Being able to highlight specific words is a major boon.

Kyviantre

  • Posts: 535
Re: Give the two hands in the equipment list a special color
« Reply #7 on: April 07, 2020, 12:35:58 AM »
Ctrl+Alt+h will bring up highlight in Mushclient. You can select any word or phrase, and what color you want it to appear as.
That is super helpful!  Thank you Cnemus!
Previous of note: Kyviantre, Kaevya the blind Tor Scorpion, Kaloraynai 'Raynai' the beetle Ruk, Kaona, Korenyire of SLK, Koal 'Kick' the hooved Whiran, Kocadici/Dici/Glimmer the Guilder/Kadian, Koefaxine the giant Oashi 'Aide'
Current: Like I'd tell you..

Delirium

  • Helper
  • Posts: 12073
Re: Give the two hands in the equipment list a special color
« Reply #8 on: April 07, 2020, 03:13:18 PM »
I've had trouble getting MUSHclient's highlight code to work while including the < > symbols, so my trigger looks like this, which colors the whole line:

^\<(primary|secondary|both) (hand|hands)\>(.*?)$

Make sure "enabled" and "regular expression" are checked. Then change color and style to whatever you like.
"There are no happy endings, because nothing ends." - Schmendrick