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
Tai @ Flex
6080ff065e
Add API for adding areas to HUD
2016-12-19 16:36:37 +00:00
ShadowNinja
23f81f6278
Add mod.conf
2016-12-04 04:12:27 +00:00
Dorian Wouters
7cb8787beb
Use get_auth_handler().get_auth() instead of auth_table
...
minetest.auth_table is an implementation detail of the default auth handler.
No guarantee is made that it even exists and using this table directly is incompatible
with custom auth handlers. Instead, use the proper auth handler API.
2016-09-03 21:05:52 -04:00
paly2
67507c7591
Fix move_area not updating AreaStore
2016-06-23 15:49:22 -04:00
ShadowNinja
10338cd5d1
Minor isSubarea optimization
2015-10-30 20:31:24 -04:00
est31
8b0b8c1ad2
Add support for the AreaStore API
2015-10-29 16:49:35 -04:00
est31
177f659f4e
Add area_info command
2015-03-01 17:31:41 -05:00
ShadowNinja
0cda67f5c1
Use the HUD alignment field instead of manually calculating offset
2015-01-07 18:31:59 -05:00