There appears to be a limit of 16 tiles in any direction to the range proc.
Regardless of the amount of tiles you specify for range, it only returns a list of atoms in the area of 16x16 or XxY, whichever direction is the smallest. (X and Y being the tiles specified for range)
So in example if you set up a range of 20x10, it will return a list of atoms in 20x10. If you set up a range of 40x10, it will return a list of 32x10. (16 for each direction = 32)
The issue also exists with using square sizes like just typing 15 or 20. They will be limited by 16 in all directions.
Numbered Steps to Reproduce Problem:
1. Set the mob view size.
2. Set up a proc/verb that will do stuff when the player character is in a certain range which is greater than 16 in any direction.
Code Snippet (if applicable) to Reproduce Problem:
world
view="51x31"
mob/proc
Work()
for(var/mob/A in range("101x1",src))
DoStuff()
Expected Results:
Should return a list of atoms in the specified area.
Actual Results:
Returns a list of atoms in the specified area limited by a maximum of 16 tiles in each direction.
So 16 acts like a limit of range you can specify.
Does the problem occur:
Every time? Or how often? Everytime
In other games? Yes
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
N/A
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Workarounds:
No idea