Commit Graph

114 Commits (96ca31dd7d94b5070641708f61d753f801ab4c2e)

Author SHA1 Message Date
MoNTE48 96ca31dd7d Minor update 2021-04-24 17:18:40 +02:00
MoNTE48 3a17818e34 Add luacheck 2021-04-24 12:38:46 +02:00
MoNTE48 152f164621 Update translation 2021-02-21 11:09:40 +01:00
Maksim e1eea28d88 Add 'not_cuttable' group to Protector Block 2020-12-16 18:42:36 +01:00
MoNTE48 7044c74804 Prohibit to place Protector Blocks too close 2020-12-12 16:52:14 +01:00
MoNTE48 0b29bb7571 Increase max protected areas per player 2020-12-12 16:51:27 +01:00
MoNTE48 7200ff968c Add Protector Block to MPVS stoppers 2020-10-21 00:19:40 +02:00
MoNTE48 85a5935f80 Update Protector Block texture 2020-08-23 14:30:03 +02:00
MoNTE48 549c816796 Add Russian translation 2020-08-15 20:46:36 +02:00
MoNTE48 9eb2750e21 Minor fixes and cleanup 2020-08-15 20:46:09 +02:00
luk3yx e3dc3163fc Use JSON to store areas.
This works around a limit of ~21000 areas because of limits in
minetest.deserialize().
2020-08-12 09:28:20 +12:00
MoNTE48 9c24eadf4a Improve HUD updating 2020-03-25 11:00:43 +01:00
MoNTE48 4603acd955 Fix deprecated API 2020-03-23 12:31:10 +01:00
MoNTE48 fccd1de2bc Minor fix after update 2020-03-22 22:29:05 +01:00
Louis Royer 0288a199fc Rework on messages displayed
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-03-22 21:18:14 +01:00
Louis Royer c1530388ad Add translation support 2020-03-22 21:10:48 +01:00
MoNTE48 cf7882aae2 Add "areas_cleanup" chatcommand 2020-03-22 21:03:09 +01:00
MoNTE48 92afd99b31 Code-style 2020-03-16 02:23:54 +01:00
MoNTE48 db8af0d6ad Fix some grammar mistakes 2020-03-16 02:15:59 +01:00
MoNTE48 b6c2a97bdb Add initial localization 2020-03-16 02:08:53 +01:00
MoNTE48 25325f579c Add little player damage 2020-03-16 02:07:49 +01:00
MoNTE48 ca1ec9fcdf Minor code fixes and cleanup 2020-02-27 22:17:52 +01:00
MoNTE48 86e3170ad7 Add old_version check 2020-02-14 17:04:09 +01:00
MoNTE48 582db494e6 Protector block cleanup 2020-02-13 23:52:54 +01:00
MoNTE48 030b27b826 Use MC HUD Api instead old API 2019-10-20 21:13:29 +02:00
MoNTE48 fd5d69f197 Replace globalstep on playerstep, hide Areas text on free areas 2019-10-16 21:42:48 +02:00
MoNTE48 fc56472390 Fix deprecated 2019-10-10 00:16:52 +02:00
MoNTE48 504d9c3076 Fix interactive rules 2019-09-20 21:32:30 +02:00
MoNTE48 a845b1adda Add is_protected_action in Protection Block placing 2019-09-10 22:30:49 +02:00
MoNTE48 e5f6097714 Revert 'Add and parse from settingtypes.txt' 2019-09-08 21:22:35 +02:00
MoNTE48 78cd229451 Add Protector Block 2019-09-08 21:20:32 +02:00
MoNTE48 65037e8314 Update README.md 2019-09-07 15:06:28 +02:00
MoNTE48 75cb0df78e More logs and add is_protected_action 2019-09-07 15:05:19 +02:00
MoNTE48 af179c47cc Small cleanup 2019-09-07 15:04:56 +02:00
SmallJoker 95c1165e28 Add and parse from settingtypes.txt. Update readme 2019-07-11 20:02:32 +02:00
Panquesito7 5527dc8945 Replace deprecated functions with newer ones (#36)
This commit replaces a few deprecated calls to getpos with get_pos
2019-07-10 20:26:42 +02:00
Auke Kok 6218e5884d Limit areas to -30992,30992 due to MABLOCK_SIZE=16
Internally, when allocating an AreaStore, the limits are required
to be within the last full block, and so, you cannot create one "on"
the edge, as it will trigger an exception. When limited to the last
full mapblock, it all works fine.
2019-04-03 11:10:59 -07:00
Auke Kok cfd4bb2423 Last of the luacheck cleanups. 2019-04-03 10:26:20 -07:00
Auke Kok 6e2b9a0a51 Needs to be defined earlier. 2019-04-03 10:24:02 -07:00
Auke Kok 024424ee8b Also limit chatcommand area_pos[12] positions. 2019-04-03 10:17:47 -07:00
Vanessa Dannenberg f70600db30 oops, commas would be nice. 2019-04-02 16:06:19 -07:00
Vanessa Dannenberg 9508a004d0 fix posLimit(pos) to process and return a position table 2019-04-02 14:53:54 -07:00
Auke Kok 630bdefd98 Don't allow areas to cross outside mapgen world limits.
Limit any area to within [-31000,31000].
2019-04-01 21:28:03 -07:00
Auke Kok a303abe51b Add template .luacheckrc 2019-04-01 21:22:31 -07:00
Tai Kedzierski 7b51f84404 Limit recalculations.
Setting based - limit area recalculation and allow tuning of the
interval.
2019-04-01 21:21:31 -07:00
sofar 1bbb997c7a
Add callbacks for area operations 2019-04-01 20:28:50 -07:00
red-001 09c030352f Use the new `minetest.safe_file_write` API if possible when saving database. 2019-04-01 20:27:17 -07:00
sofar 2637876555
Fix pos big (#1)
* fix pos being to big

* improve

* make the change instead in hud.lua
2019-04-01 20:24:59 -07:00
AntumDeluge 289d0e623c Update usage of settings API 2017-06-09 13:00:12 -04:00
Jordan Irwin d3d43d9511 Reference 'settings.lua' instead of 'config.lua' (#21) 2017-05-06 13:41:45 -04:00