MUD-Dev
mailing list archive

[ Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

[MUD-Dev] Re: Equipment Fit, enlightenment



On Sun, 6 Sep 1998, Matthew R. Sheahan wrote:

> Hans-Henrik Staerfeldt propagated a meme to the effect of:
> > commenting. BOS->fit and BOS->owner isn't enough.
> 
> this is incorrect.  these two values are sufficient to the implementation.
> 
[..snip..]
> 
> void update_fit(object who) {
> 	if(!fit)
> 	  owner = who->name();
> 	else if(who->name() == owner)
> 	  fit++;
> 	else
> 	  fit--;
          ^^^^^
> }

Ahh! :-P

That last bit (^^^) confused me, since Holly wrote this as 
"Each MUDday that Ackbar wears the boots, so, BOS->fit += 1;" Ofcause 
that was the 'reported' fit that would increase, not the stored, which 
would be decreased. I must be getting old :-)

Hans Henrik Stærfeldt         |  
email: bombman#diku,dk        |  voice:      +45 40383492 
  hhs#cbs,dtu.dk              |  voice work: +45 45252425
phone-mail:                   |  address:
  40383492#sms,tdm.dk         |       Hans Henrik Stærfeldt,
WWW-home                      |       Dybendalsvej 74 2. th,
  http://www.cbs.dtu.dk/hhs/  |       2720 Vanløse, Danmark.
                              |
Student of Computer Science   | Scientific programmer at Center for
  and Information Psychology. |   Biological Sequence Analysis,
  at University of Copenhagen |   Technical University of Denmark.





[ Other Periods  | Other mailing lists  | Search  ]