Inform: Code for a Scale?


13 Sep 1995 18:49:25 GMT

I need to make an object that acts as a scale trap: It must have weight X
on it or more. I defined a Weight property, that I plan on giving to objects
so far.
The way this works is, if the weight of the supported object (the scale),
in this case a mantle, is less than X, gates come down over the exits to the room.
But if the weight is at or above X, the gates stay up or return to the raised
position.
I was going to use a deamon, but the timing on when that will run is
unpredictable, so do I need to alter the before and after routines for the
LetGo and Recieve actions? I assume these would call WeightOf routines (a la
the original Inform manual)...

Thanks.

-Fury Op

-- 
  	     There's No Way In Hell You're Gonna Hold Me Back
				-Static Engine
     ***   Visit the Isle Armande @ http://www.rpi.edu/~furiop   ***