1998Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: Equipment Fit -->
<!--X-From-R13: "[nggurj D. Eurnuna" <punbfNpelfgny.cnynpr.arg> -->
<!--X-Date: Sun, 6 Sep 1998 09:33:19 &#45;0700 -->
<!--X-Message-Id: 199809061633.MAA10961#crystal,palace.net -->
<!--X-Content-Type: text -->
<!--X-Reference: Pine.SGI.3.95.980906154132.13870B&#45;100000#genome,cbs.dtu.dk -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: Equipment Fit</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:chaos#crystal,palace.net">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00969.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00971.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00968.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00977.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00970">Author</A>
&nbsp;|&nbsp;<A HREF="#00970">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00970">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: Equipment Fit</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Re: Equipment Fit</LI>
<LI><em>From</em>: "Matthew R. Sheahan" &lt;<A HREF="mailto:chaos#crystal,palace.net">chaos#crystal,palace.net</A>&gt;</LI>
<LI><em>Date</em>: Sun, 6 Sep 1998 12:33:11 -0400 (EDT)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Hans-Henrik Staerfeldt propagated a meme to the effect of:
&gt; Well, i agree, its a great idea :-), but the implementation notes does
&gt; not describe a workable system. Ofcause it might be just a sign error :-/
&gt; Since the description only includes one 'fit' parameter, that parameter is

&gt; In any event, you'd need some _more parameters_ to implement this
&gt; nice idea the way it was originally described. That was what i was=20
&gt; commenting. BOS-&gt;fit and BOS-&gt;owner isn't enough.

this is incorrect.  these two values are sufficient to the implementation.

int query_effective_fit(object who) {
	if(who-&gt;name() == owner)
	  return fit;
	else
	  return -fit;
}

void update_fit(object who) {
	if(!fit)
	  owner = who-&gt;name();
	else if(who-&gt;name() == owner)
	  fit++;
	else
	  fit--;
}

								chiaroscuro


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00977" HREF="msg00977.html">[MUD-Dev] Re: Equipment Fit, enlightenment</A></strong>
<ul compact><li><em>From:</em> Hans-Henrik Staerfeldt &lt;hhs#cbs,dtu.dk&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00967" HREF="msg00967.html">[MUD-Dev] Re: Equipment Fit</A></STRONG>
<UL><LI><EM>From:</EM> Hans-Henrik Staerfeldt &lt;hhs#cbs,dtu.dk&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00969.html">[MUD-Dev] Re: Equipment Fit</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00971.html">[MUD-Dev] Re: Marion's Tailor Problem</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00968.html">[MUD-Dev] Re: Equipment Fit</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00977.html">[MUD-Dev] Re: Equipment Fit, enlightenment</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00970"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00970"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>[MUD-Dev] Re: Equipment Fit</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00908" HREF="msg00908.html">[MUD-Dev] Re: Equipment Fit</A></strong>, 
Hans-Henrik Staerfeldt <a href="mailto:hhs#cbs,dtu.dk">hhs#cbs,dtu.dk</a>, Wed 02 Sep 1998, 15:09 GMT
<UL>
<LI><strong><A NAME="00909" HREF="msg00909.html">[MUD-Dev] Re: Equipment Fit</A></strong>, 
pomales <a href="mailto:pomales#caip,rutgers.edu">pomales#caip,rutgers.edu</a>, Wed 02 Sep 1998, 15:28 GMT
<UL>
<LI><strong><A NAME="00967" HREF="msg00967.html">[MUD-Dev] Re: Equipment Fit</A></strong>, 
Hans-Henrik Staerfeldt <a href="mailto:hhs#cbs,dtu.dk">hhs#cbs,dtu.dk</a>, Sun 06 Sep 1998, 14:31 GMT
<UL>
<LI><strong><A NAME="00968" HREF="msg00968.html">[MUD-Dev] Re: Equipment Fit</A></strong>, 
Brandon Cline <a href="mailto:brandon#sedona,net">brandon#sedona,net</a>, Sun 06 Sep 1998, 16:19 GMT
</LI>
<LI><strong><A NAME="00970" HREF="msg00970.html">[MUD-Dev] Re: Equipment Fit</A></strong>, 
Matthew R. Sheahan <a href="mailto:chaos#crystal,palace.net">chaos#crystal,palace.net</a>, Sun 06 Sep 1998, 16:33 GMT
<UL>
<LI><strong><A NAME="00977" HREF="msg00977.html">[MUD-Dev] Re: Equipment Fit, enlightenment</A></strong>, 
Hans-Henrik Staerfeldt <a href="mailto:hhs#cbs,dtu.dk">hhs#cbs,dtu.dk</a>, Mon 07 Sep 1998, 11:48 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00910" HREF="msg00910.html">[MUD-Dev] Re: Equipment Fit</A></strong>, 
Holly Sommer <a href="mailto:hsommer#micro,ti.com">hsommer#micro,ti.com</a>, Wed 02 Sep 1998, 15:30 GMT
</LI>
</UL>
</LI>
</ul>
</ul>
<LI><strong><A NAME="00907" HREF="msg00907.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></strong>, 
Koster, Raph <a href="mailto:rkoster#origin,ea.com">rkoster#origin,ea.com</a>, Wed 02 Sep 1998, 14:26 GMT
</LI>
<LI><strong><A NAME="00911" HREF="msg00911.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></strong>, 
Michael.Willey <a href="mailto:Michael.Willey#abnamro,com">Michael.Willey#abnamro,com</a>, Wed 02 Sep 1998, 16:08 GMT
</LI>
</ul>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>