Commit Graph

12 Commits

Author SHA1 Message Date
tuedel 4858c2b3fb
sethome: Replace deprecated function calls (#2724) 2020-07-26 11:07:15 +02:00
sfan5 af045dcd8b sethome: Do not write empty homes file 2020-06-10 20:29:50 +02:00
Yves Quemener bb9279ccb8 Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
2019-09-10 19:09:51 +02:00
SmallJoker 255031fc91 Replace deprecated function calls 2018-07-01 20:44:03 +01:00
Reedych 5134510356 Replace setpos with set_pos in sethome 2017-12-16 05:10:35 +00:00
Auke Kok 1c78fd346d Sethome: Migrate sethome mod to player attributes.
Migrates settings safely and evacuates the `homes` file
entirely over time.
2017-03-15 22:18:36 +00:00
Auke Kok 75caa9167c Fix whitespace errors to silence luacheck.
Currently all minetest_game PR's are failing travis since the
upstream luacheck now also warns about whitespace issues, and
there are a few of those in the code. This fixes all of them
so we can yet again rely on luacheck.
2016-11-19 19:39:51 -08:00
Wuzzy 3109f38b3c Sethome: Don't auto-grant home priv to singleplayer 2016-11-07 14:13:45 +00:00
Rui 631f7f46c7 sethome.get: Copy a return value 2016-11-05 19:59:15 -07:00
tenplus1 80d49095f5 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
2016-07-03 18:40:43 +02:00
Craig Davison 128f0adb24 Fix some undeclared global variables 2014-11-30 18:02:33 +01:00
Sfan5 8dc6b0124e Add /sethome & /home 2014-07-05 16:02:09 +02:00