Remove uses of deprecated table.foreach
Remove uses of deprecated table.getn
Remove uses of deprecated arg variable
Remove uses of deprecated math.mod
Remove uses of deprecated table.getn
Fix Typo
Check for proper tile id
Merge branch 'develop' of ssh://illarion.org:1010/scripts into develop
fix typo #0010334
Merge branch 'develop' of https://github.com/Illarion-eV/Illarion-Content into develop