
05-21-2010, 01:39 AM
|
|
Will work for food. Maybe
|
 |
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
|
|
onTileType(type,x,y,width,height)
|
onTileType(type,x,y,width,height)
Similar to onwall2 and onwater2, it would return true if the specified tiletype is found in the defined area. This would be useful for checking for things like chairs when replicating horse movement without having to do it the old fashioned way.
Also, if it can be done...
onTiles({array},x,y,width,height)
would return true if the tiles found in the specified area are found in the array. Would relieve a lot of looping that has to be done with special tile checks. |
|
|
|