The manual says the ALMOST ALL condition is true if 80% or more of the objects of the kind meet the condition. But I’m finding when you’re dealing with only two or three objects, this is far from the case. It is only with higher numbers of objects where the test acts more like an 80% check. Here’s some test code which shows the issue (this is not a part of any actual game, I just whipped it up to test this issue)…
[code]The Tool Room is a room.
A switched on device called a blue button is here.
A switched off device called a red button is here.
When play begins:
if almost all of the devices are switched on, say “Almost all of the devices are switched on.”[/code]
This results in the conclusion that almost all of the devices are switched on, even though it’s just one out of 2, or 50%. If I put in three devices, and switch two on (one is not enough, apparently), it tells me almost all of them are on, which makes a bit more sense but it’s still just 66%, not 80%. With four it triggers at 75%, and that’s when it begins to resemble what the manual predicts.
If I change it from devices to people who are male and female, I get the same problem. If I change the condition to ‘if almost all of the devices in the tool room are switched on’, again – same problem.
I’m on build 6F95 of the Mac IDE.
EDIT: Actually, come to think of it, it looks like it is treating ALMOST ALL as a synonym for ALL BUT ONE, at the lower object counts (but not at the higher)…
EDIT2: Which is odd, because as I’ve just discovered, ALL BUT doesn’t actually work as advertised, either. Supposedly I can form conditions like ‘if all but two of the devices are switched on’ but I’ve played with it and played with it and I can’t get ALL BUT or ALL EXCEPT to work, ever.