Difference between revisions of "PROMPT"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 56: | Line 56: | ||
|%Ke: Display the tanks name | |%Ke: Display the tanks name | ||
|%KE: Display the tanks health | |%KE: Display the tanks health | ||
+ | |- | ||
+ | |%l: Display % area visited | ||
+ | |%L: Display % world visited | ||
|- | |- | ||
|%I : Display hidden/invis. status | |%I : Display hidden/invis. status | ||
Line 74: | Line 77: | ||
|%u : List skills on cooldown | |%u : List skills on cooldown | ||
| | | | ||
+ | |- | ||
+ | |%/ : Begin/End combat-only section | ||
+ | |%\ : Begin/End non-combat-only section | ||
|} | |} | ||
MISC: | MISC: | ||
+ | %fFACTION NAME : Display faction value as percent | ||
+ | %FfACTION NAME : Display faction value as text | ||
%-STAT NAME : Replace STAT NAME is one of the following: | %-STAT NAME : Replace STAT NAME is one of the following: | ||
*STRENGTH, INTELLIGENCE, WISDOM, etc.. | *STRENGTH, INTELLIGENCE, WISDOM, etc.. | ||
Line 128: | Line 136: | ||
; PROMPT %h %m %v %E %B %B : This prompt is for use with a screen reader, with a double linebreak at the end of the prompt. Mana is optional, depending on if the character uses mana. Without the linebreaks, any command will have the prompt read both before the command's output and after. | ; PROMPT %h %m %v %E %B %B : This prompt is for use with a screen reader, with a double linebreak at the end of the prompt. Mana is optional, depending on if the character uses mana. Without the linebreaks, any command will have the prompt read both before the command's output and after. | ||
; PROMPT ^r%h/%Hhp^? ^g%m/%Mmp^? ^c%v/%Vmv^? %B %c/%C items %w/%W lbs %G %T o`clock %B %a align %X tolvl > %B %E : A complex, mulitline prompt with encumbrance, time, alignment and experience. This prompt is great for alignment-driven classes. | ; PROMPT ^r%h/%Hhp^? ^g%m/%Mmp^? ^c%v/%Vmv^? %B %c/%C items %w/%W lbs %G %T o`clock %B %a align %X tolvl > %B %E : A complex, mulitline prompt with encumbrance, time, alignment and experience. This prompt is great for alignment-driven classes. | ||
− | ; ^w<^r%h/%H ^N| ^b%m/%M ^N| ^g%v/%V^N | Hunger-^p%-HUNGER^N Thirst-^P%-THIRST^w>%B<^N%t | %X Exp Needed^w | ^N%z>%B^R%E^N : A prompt that will display your hitpoints, mana, movement, hunger, thirst, time, experience to next level, location, and the health of the current enemy. | + | ; PROMPT ^w<^r%h/%H ^N| ^b%m/%M ^N| ^g%v/%V^N | Hunger-^p%-HUNGER^N Thirst-^P%-THIRST^w>%B<^N%t | %X Exp Needed^w | ^N%z>%B^R%E^N : A prompt that will display your hitpoints, mana, movement, hunger, thirst, time, experience to next level, location, and the health of the current enemy. |
− | ; ^hCooldowns-^? %u%0D^N%E<^h%hhp ^m%mm ^v%mv^N> : A simple prompt that adds in abilities currently affected by mana compound (extra cost) or on cooldown (cannot cast until off cooldown). | + | ; PROMPT ^#111<^?^h%h^?^#111/^R%H^? ^#111|^? ^m%m^?^#111/^C%M^? ^#111|^? ^m%v^?^#111/^G%V^? ^#111|^?^#222 Hunger^?^#111-^?^P%-HUNGER^?^#222 Thirst^?^#111-^?^b%-THIRST^?^#111>%B<^?^#222%t ^?^#111|^? ^c%X^? ^#222Exp to Level^? ^#111|^? ^N%z^?^#111>%B^?^R%E^? : A colored prompt that will display your hitpoints, mana, movement, hunger, thirst, time, experience to next level, location, and the health of the current enemy. |
+ | ; PROMPT ^hCooldowns-^? %u%0D^N%E<^h%hhp ^m%mm ^v%mv^N> : A simple prompt that adds in abilities currently affected by mana compound (extra cost) or on cooldown (cannot cast until off cooldown). | ||
=Notes= | =Notes= | ||
Line 137: | Line 146: | ||
[[Category:UserInterface]] | [[Category:UserInterface]] | ||
[[Category:Commands(Character)]] | [[Category:Commands(Character)]] | ||
+ | [[Category:Commands(BasicCombat)]] |
Latest revision as of 14:11, 14 November 2022
CoffeeMUD |
---|
Administrator Builder Player |
=CoffeeMUD Player Information= | |||
---|---|---|---|
Basics | Info Commands Socials Combat Groups | Character | Stats Races Classes Abilities Expertises Achievements |
World | Deities Areas Property Quests Clans Triumphs | Items | Items Crafting Ships |
=CoffeeMUD Commands= |
---|
Account Character Combat Commerce Communication Configuration Items Movement Role Play Sailing Ships |
Special A B C D E F G H I J K L M N O P Q R S T U V W Y |
===PROMPT=== | |
---|---|
Usage: | PROMPT ("NEW PROMPT STRING") |
Examples: | prompt ^^N^^h%hhp ^^m%mm ^^v%vmv^^N>
prompt default |
Shorts: | |
Description: | Display or change your prompt string. Typing PROMPT DEFAULT will reset your prompt to the default setting. You can enter PROMPT ^^N to effectively turn "off" your prompt.
Valid embedded codes for custom prompts include: |
Settings
%h : Display your current hits | %H : Display your maximum hits |
%m : Display your current mana | %M : Display your maximum mana |
%v : Display your current moves | %V : Display your maximum moves |
%p : Action points remaining/tick | %P : Display maximum action pts |
%x : Display your current experience | %X : Display your needed experience |
%g : Display the value of your money | %G : Display amount/name of money |
%a : Display alignment in numbers | %A : Display your alignment as text |
%w : Display your weight encumbrance | %W : Display max carryable weight |
%c : Display item encumbrance | %C : Display max carryable items |
%e : Display person under attack | %E : Display attacked persons state |
%t : Display the time of day | %T : Display the hour of the day |
%Kh: Display the tanks current hits | %KH: Display the tanks maximum hits |
%Km: Display the tanks current mana | %KM: Display the tanks maximum mana |
%Kv: Display the tanks current moves | %KV: Display the tanks maximum moves |
%Ke: Display the tanks name | %KE: Display the tanks health |
%l: Display % area visited | %L: Display % world visited |
%I : Display hidden/invis. status | %@ : Display the weather here |
%d : Display the range to your victim | %D : Display ammo remaining |
%B : Go to a new line | %z : Display current area name |
%r : Display name of the room | %R : Display room number (ADMIN ONLY) |
%y : Display common skill % progress | %Y : Display common skill time remaining |
%u : List skills on cooldown | |
%/ : Begin/End combat-only section | %\ : Begin/End non-combat-only section |
MISC: %fFACTION NAME : Display faction value as percent %FfACTION NAME : Display faction value as text %-STAT NAME : Replace STAT NAME is one of the following:
- STRENGTH, INTELLIGENCE, WISDOM, etc..
- MAX STRENGTH, MAX INTELLIGENCE, MAX WISDOM, etc..
- BASE STRENGTH, BASE INTELLIGENCE, BASE WISDOM, etc..
- ATTACK, ARMOR, WEIGHT, HEIGHT, LEVEL, HITS, MANA, MOVE, HUNGER, THIRST, FATIGUE
- HEAD, NECK, TORSO, ARMS, LEFT WRIST, WIELD, EYES, etc..
- or any other parameter per the STAT command
Colors
The table below shows the basic ANSI color codes. ANSI 256 codes can be used as well, per the color code chart.
^h : Standard hit point color | ^m : Standard mana color |
^v : Standard movement color | ^N : Normal color |
^w : White | ^W : Grey |
^g : Light green | ^G : Dark Green |
^b : Light blue | ^B : Dark Blue |
^r : Light red | ^R : Maroon |
^y : Yellow | ^Y : Dark yellow |
^c : Cyan | ^C : Dark Cyan |
^p : Light purple | ^P : Dark Purple |
^? : Previous color/End color |
The Standard Hit point, mana, and movement colors will go Yellow at 50% in that stat, and red at 25%.
Sample Prompts
- PROMPT %E%B <%hHp %mM %vmv> or PROMPT DEFAULT
- Default Prompt
- PROMPT %h/%Hhp %m/%Mm %v/%Vmv %x/%Xxp %e - %E
- A relatively simple prompt that also displays xp and enemy condition.
- PROMPT ^N
- A prompt with no data (good for non-combat characters or screen readers)
- PROMPT %E%B^W<^rHP-^c%h/%H ^rMA-^c%m/%M ^rMV-^c%v/%V ^rXP-^c%x/%X ^r%z^W>
- This is the prompt delevoped for bardic characters. It displays the current attack state of the player at the beginning and the room name at the end which is useful for exploring (which is a big deal to bards and their sub classes) The colors picked highlight well (ie: bright red and cyan).
- PROMPT %E%B MyName <^c%h^?/%H ^b%m^?/%M ^g%v^?/%V ^p%X^?>
- A prompt useful for keeping characters separate by adding their name at the beginning of the prompt. It also displays the health of the current enemy on the first line, and contains other useful information with different colors to easily pick out the difference of each stat versus it`s maximum, including experience needed until next level.
- PROMPT %h %m %v %E %B %B
- This prompt is for use with a screen reader, with a double linebreak at the end of the prompt. Mana is optional, depending on if the character uses mana. Without the linebreaks, any command will have the prompt read both before the command's output and after.
- PROMPT ^r%h/%Hhp^? ^g%m/%Mmp^? ^c%v/%Vmv^? %B %c/%C items %w/%W lbs %G %T o`clock %B %a align %X tolvl > %B %E
- A complex, mulitline prompt with encumbrance, time, alignment and experience. This prompt is great for alignment-driven classes.
- PROMPT ^w<^r%h/%H ^N| ^b%m/%M ^N| ^g%v/%V^N | Hunger-^p%-HUNGER^N Thirst-^P%-THIRST^w>%B<^N%t | %X Exp Needed^w | ^N%z>%B^R%E^N
- A prompt that will display your hitpoints, mana, movement, hunger, thirst, time, experience to next level, location, and the health of the current enemy.
- PROMPT ^#111<^?^h%h^?^#111/^R%H^? ^#111|^? ^m%m^?^#111/^C%M^? ^#111|^? ^m%v^?^#111/^G%V^? ^#111|^?^#222 Hunger^?^#111-^?^P%-HUNGER^?^#222 Thirst^?^#111-^?^b%-THIRST^?^#111>%B<^?^#222%t ^?^#111|^? ^c%X^? ^#222Exp to Level^? ^#111|^? ^N%z^?^#111>%B^?^R%E^?
- A colored prompt that will display your hitpoints, mana, movement, hunger, thirst, time, experience to next level, location, and the health of the current enemy.
- PROMPT ^hCooldowns-^? %u%0D^N%E<^h%hhp ^m%mm ^v%mv^N>
- A simple prompt that adds in abilities currently affected by mana compound (extra cost) or on cooldown (cannot cast until off cooldown).
Notes
- If you have edited your prompt and wonder why the enemy health information is no longer displayed, it is due to the %E%B at the beginning of the factory prompt.
- In Mudlet, if you are unable to see your prompt, try enabling MXP.