Re: [Circle] DOUBT (QUESTION): Meters in prompts

From: bub (
Date: 07/27/96

Acually, the vertical bars wouldn't be that hard to implement.

Just put in the sprintf() where you output the rest of the stuff on that 
line or whatever a %c, and put in a ? : for the arg where it outputs ' ' 
(space) if it is lower that the current line, and a '*' or whatever you 
use if it's equal to or higher. i.e.
sprintf(buf, "stuff stuff and more stuff %c", lengthofbar <= x ? '*' : ' ');

where you would replace x with the actuall line number in the code. You 
could use a macro to make typing smaller =>

you could also use the curses(i think) or ansi cursor controls, but that 
is terminal-emulation dependant (meaning some players might not get the 
expected output)

Hope that helped

The MAD Coder of ?able Sanity, 4000

On Fri, 26 Jul 1996, Eduardo Gutierrez de Oliveira wrote:

> Also, another idea, and this is more like a quest for programmers or a 
> challenge..:) How would be the easiest (shortest) way to make vertical 
> bars. And obivously I imply that the bars are sharing the lines with 
> other bars/items. Would you have to code each character on the scale and 
> light them individually (separate from the rest)?
> Just questions, I am not planning on implemented this exactly, but I am a 
> curious person..:)
> Luck
> Myth
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

From Sat, 27 Jul 96 10:18:32 EDT
X-SystemInfo: MyE-Mail: EMail
X-Message-No: 3165 (database)
From: goamkows <>
To: circle <>
Subject: [Circle] here's something neat :)
Date: Sat, 27 Jul 96 15:18:00
Message-ID: <>
Reply-To: (goamkows)
X-POP3-Rcpt: lk4150@per
Return-Path: <>
Received: from QUCDN.QueensU.CA (QUCDN.QueensU.CA []) by (8.6.12/8.6.12) with SMTP id PAA25404 for <>; Sat, 27 Jul 1996 15:31:54 +0200
Received: from by QUCDN.QueensU.CA (IBM VM SMTP V2R2) with TCP;Sat, 27 Jul 96 10:37:02 EDT
Received: by (SMI-8.6/SMI-SVR4)id KAA12149; Sat, 27 Jul 1996 10:13:35 -0500
Received: from by (SMI-8.6/SMI-SVR4)
Received: from by (4.1/SMI-4.1)
Received: from by (4.1/SMI-4.1)
Precedence: bulk

at least, i think it is - phobia flags :D

e.g. claustophobic - put in a bit for AFF_CLAUSTROPHOBIA
and put a check in act.movement.c for if the player is claustrophic
and if they are trying to move into a private room or a tunnel (for
example), they are too afraid to do so, so do_simple_move fails.
good for tacking onto rangers and outdoorsy type races }:)

heh... this can really open a fun can of worms for the sadistic imp :)
perhaps even create a whole new field in the player file for PHOBIA

                the count                  |     "There is no mistake,        |
                                           |   there has been no mistake,     |          | and there shall be no mistake."  |
No, my mail reader cannot handle MIME stuff| -Duke of Wellington (1769-1852)  |
so please don't send me any MIME stuff :P  |                                  |
        "The best way to keep one's word is not to give it" - Napoleon        |
              Please, please provide me with my daily helping of             
               preposterous and prentitious platitudes.. waiter.
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

This archive was generated by hypermail 2b30 : 12/07/00 PST