[MUD-Dev] Re: Equipment Fit

Hans-Henrik Staerfeldt hhs at cbs.dtu.dk
Wed Sep 2 17:16:20 CEST 1998


On Wed, 2 Sep 1998, Holly Sommer wrote:
>
> Bubba buys BOS... BOS->fit =3D 0; BOS->owner =3D "Bubba";
> Every MUDday the boots are worn BOS->fit +=3D 1;
> Bubba wears the boots for about a month (BOS->fit =3D=3D 30)
> Someone (Ackbar) steals the boots and puts them on;
> strcmp(BOS->owner, "Ackbar") returns negative, so the
> boots have a "fit" of -30 for Ackbar. Each MUDday that
> Ackbar wears the boots, so, BOS->fit +=3D 1;
> BOS->owner would still be "Bubba" until they reach 0.

It would be silly :-) Then no one would ever lend out=20
equipment, because the fitting would be 'reset'.

Example:

  Bubba lend out his well worn boots to Ackbar, just for=20
  an hour, then the boots fit Ackbar badly (fair enough),=20
  but when Bubba gets them back, they will fit him equally
  poorly (owner will be "Bubba", but fit will be -30, not
  30).

You need atleast a list of how well some boots fit
all the individuals that have ever worn them. Whenever
one individual wears the boots for (as you say) one day,
all others fit is counted down, while his/her is counted up.


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





More information about the mud-dev-archive mailing list