Tidy sethome code, add global functions, round coords to 1 decimal
authortenplus1 <tenplus1@users.noreply.github.com>
Sun, 3 Jul 2016 16:40:43 +0000 (17:40 +0100)
committersfan5 <sfan5@live.de>
Sun, 3 Jul 2016 16:40:43 +0000 (18:40 +0200)
commit80d49095f5decc3407275016612abc275da601a9
tree713f0ae880a55bd80bb0c4381e432379385631c0
parentf4f9e58ef2b537a65654c76ad99486cf4e7e497a
Tidy sethome code, add global functions, round coords to 1 decimal

- Global functions sethome.set(name, pos) , sethome.get(name) and sethome.go(name)
- Tidy: trim coords to one decimal place and write to table and output table in one go.
- Add error checking
- Add t4im's homepos loader
mods/sethome/init.lua