Commit Graph

80 Commits

Author SHA1 Message Date
Robbie Ferguson
54c62edc47 Require interact for approve/deny
Could be used to circumvent prison or a bad player could annoy n00bs by teleporting them out of spawn, etc. So restrict until they have interact.
2016-05-20 15:54:15 -04:00
Robbie Ferguson
7d7deaddfc Remove find_air until we can get it stable. 2016-05-19 23:11:28 -04:00
Robbie Ferguson
eae1735780 Update init.lua 2016-05-19 23:06:43 -04:00
Robbie Ferguson
c385f54ced Update init.lua 2016-05-19 22:58:08 -04:00
Robbie Ferguson
287ad8fd84 Update init.lua 2016-05-19 22:49:28 -04:00
Robbie Ferguson
6c311647e5 Update init.lua 2016-05-19 22:40:53 -04:00
Robbie Ferguson
45d0e334a7 Update init.lua 2016-05-19 22:36:57 -04:00
Robbie Ferguson
ba17fc804c Keep testing... not yet stable. 2016-05-19 22:30:04 -04:00
Robbie Ferguson
9e2de9c995 Update init.lua 2016-05-19 22:20:43 -04:00
Robbie Ferguson
16262b3b51 Test my own theory 2016-05-19 22:17:00 -04:00
Robbie Ferguson
33c81b3d72 Update init.lua 2016-05-19 20:43:36 -04:00
Robbie Ferguson
c9325322a8 Update init.lua 2016-05-19 20:25:02 -04:00
Robbie Ferguson
12f9444cf5 Fixes
Thanks, DonBatman.
2016-05-19 20:20:49 -04:00
Robbie Ferguson
7d157495fc Fix function declaration for find_air 2016-05-19 20:07:09 -04:00
Robbie Ferguson
716a42e4f6 First attempt at implementing find_air 2016-05-19 20:05:19 -04:00
Robbie Ferguson
8de3848a7a Begin working on find_air function
Thanks to sofar for the advice and DonBatman for the initial [untested] code.
2016-05-19 17:23:02 -04:00
Robbie Ferguson
58b8198de2 Minor fix 2016-05-18 18:59:28 -04:00
Robbie Ferguson
704bc994e1 Evade should be working perfectly now.
Only thing left to do is make it so it doesn't spawn you inside rocks! For now you can to /tpj y 20 to recover  ;)
2016-05-18 18:52:26 -04:00
Robbie Ferguson
a505e92faa Version 1.5
Now with a version of /tpe that will make your mind explode instead of your server.
2016-05-18 18:47:49 -04:00
Robbie Ferguson
6c21a250c6 Update init.lua 2016-05-18 18:04:40 -04:00
Robbie Ferguson
b2ce7f38b0 Testing 2016-05-18 18:01:39 -04:00
Robbie Ferguson
30718b325f Update init.lua 2016-05-18 17:17:05 -04:00
Robbie Ferguson
0829e02c19 Make it go! 2016-05-18 17:10:58 -04:00
Robbie Ferguson
97437c3a80 Update init.lua 2016-05-18 16:48:43 -04:00
Robbie Ferguson
38982dadf2 Fix the /tpe loop 2016-05-18 16:31:08 -04:00
Robbie Ferguson
0e0eb50206 Update init.lua 2016-05-18 15:55:38 -04:00
Robbie Ferguson
a3d18f5a70 Look, I'm learning! 2016-05-18 15:48:04 -04:00
Robbie Ferguson
acf9658732 n00b coder repair 2016-05-18 15:44:25 -04:00
Robbie Ferguson
aa537a6765 Update init.lua 2016-05-18 15:35:25 -04:00
Robbie Ferguson
a601838eba Fix negative distances 2016-05-18 15:29:35 -04:00
Robbie Ferguson
2f82b11d9c Add /tpe
hehe
2016-05-18 15:10:23 -04:00
Robbie Ferguson
55a86adc76 Minor improvements to the UX. 2016-05-18 07:49:07 -04:00
Robbie Ferguson
4964bf1de7 Increase version to 1.4
So much development has gone into it so far so I think it warrants a tick on the increment clock  :)
2016-05-18 07:41:39 -04:00
Robbie Ferguson
9778db4268 Make /tpj require interact priv and recode /tpj
Also make it so Minetest checks for the tp_tpc priv rather than our function.
2016-05-18 07:40:42 -04:00
Robbie Ferguson
a17658174f Add /tpj
From ChaosWormz "mt_reletive_teleportation" mod (typo his).
2016-05-18 07:16:48 -04:00
Robbie Ferguson
5f12f7b6d6 /tpc now requires tp_tpc priv
As requested by ChaosWormz
2016-05-17 13:15:48 -04:00
Robbie Ferguson
14bb394336 Add sound to /tpr and /tphr 2016-05-13 18:08:55 -04:00
Robbie Ferguson
5c13b8b9ec Other players hear teleporter
Put it back to allowing nearby players to hear the teleport sound effect.
2016-05-13 17:52:39 -04:00
Robbie Ferguson
0b5fd2ca98 Missed an instance of new sound 2016-05-13 17:41:23 -04:00
Robbie Ferguson
aa5e87dbf6 Improve sound. 2016-05-13 17:36:35 -04:00
Robbie Ferguson
80fc854a93 Add particles, fix sound. 2016-05-13 14:59:32 -04:00
Robbie Ferguson
e97baea05a Update init.lua 2016-05-13 14:09:57 -04:00
Robbie Ferguson
1a4e71c0bb Update init.lua 2016-05-13 13:56:36 -04:00
Robbie Ferguson
cd6a2c3fa5 Reorder functions 2016-05-13 13:41:44 -04:00
Robbie Ferguson
07b44e6b29 Ensure area is walkable for /tpc
Don't spawn in rock. :)
2016-05-13 13:24:39 -04:00
Robbie Ferguson
f06658f319 Working on areas protection.
Changing the way we detect areas and whether the player is allowed to teleport to a protected area.
2016-05-13 13:12:11 -04:00
Robbie Ferguson
80da1f0614 Update init.lua
Test fix for admin priv
2016-05-13 12:03:18 -04:00
Robbie Ferguson
9f6f5034d8 Admin priv update
Heh - I had no idea the original author had already added a placeholder for a priv called tpr_admin (how did I miss that), but since it did nothing, I removed it. I also renamed my admin priv to "tp_admin" - I'd originally called it tpr_admin because I still tend to refer to the mod as TPR even though it's evolving into something different, but then realized people might get confused since this mod is called tps_teleport (so should it be tps_admin?) -- so I opted for tp_admin instead... avoid the confusion, and since the original mod doesn't yet use tpr_admin, there's no reason to keep it as that.

Also, incremented the version to 1.3 because I feel we've been making pretty big headway here.
2016-05-13 08:42:58 -04:00
Robbie Ferguson
836b417586 Add tpr_admin priv
New tpr_admin priv overrides area check for /tpc
2016-05-13 08:35:20 -04:00
DonBatman
c1fedad691 Added areas support 2016-05-12 18:45:09 -07:00