> If there is tall grass or wheat or other plant material all around.
> 
> (Sorry, couldn't resist)
> 
>> And how do I tell when they have left that field?
> 
> If there is no more tall grass or wheat or other plant material all around.
> 
> (Dang, I did it again - somebody stop me!)

Don't stop... just give it relevance :)
----------------------------------
property pFieldGroundStateList

on beginSprite me
  pFieldGroundStateList = ["grass", "wheat", "corn", "barley", "hops"]
end

on mCheckLocationStatus me, groundCoverIn
  if pFieldGroundStateList.getPos(groundCoverIn) then
    alert "You are standing in a field. You owe a" &QUOTE& "standing in
field" &QUOTE& "tax."
  else
    alert "You are not standing in a field. Congratulations."
  end if
end

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to