Commit Graph

111 Commits

Author SHA1 Message Date
Hugues Ross
bab77d00e4 Add proper listcolors 2020-06-26 17:58:37 -04:00
Hugues Ross
0c2cf72dd8 table formspec fixes
- Always use cartographer paper/pigment textures
- Disable formspec prepends
2020-06-26 17:52:01 -04:00
Hugues Ross
6dc08f7d0b Remove unused variable 2020-06-13 17:15:47 -04:00
Hugues Ross
db7f287bfa Add feedback indicating an upgrade vs craft 2020-06-13 17:14:55 -04:00
Hugues Ross
40e1f474c1 Properly update scale when upgrading a map 2020-06-13 17:13:07 -04:00
Hugues Ross
7b7f7548ce Resolve TODOs 2020-06-13 16:50:34 -04:00
Hugues Ross
9bcc2e717c Various fixes 2020-06-13 16:33:41 -04:00
Hugues Ross
2ea7de7f29 Remove testing command 2020-06-13 16:25:28 -04:00
Hugues Ross
4fedd4275e Add configuration settings 2020-06-13 16:21:34 -04:00
Hugues Ross
bd1d21f833 Fix luacheck warning 2020-06-13 12:25:54 -04:00
Hugues Ross
ed967ddd0d Add additional formspec input checks 2020-06-13 12:24:04 -04:00
Hugues Ross
cef6495f4a Fix coordinates in marker calls 2020-06-13 12:14:07 -04:00
Hugues Ross
675281b8c3 Properly handle map items missing metadata 2020-06-13 11:59:08 -04:00
Hugues Ross
c0e541a7e7 Fix coordinates being handled incorrectly in some places 2020-06-13 11:50:43 -04:00
Hugues Ross
826d1a9a8e Don't grant cartographer priv to singleplayer by default 2020-06-13 09:48:20 -04:00
Hugues Ross
25296eb40f Add license files 2020-06-13 09:40:58 -04:00
Hugues Ross
c45a320423 README Mention the skin api 2020-06-13 09:33:55 -04:00
Hugues Ross
81142b72d0 Add README 2020-06-13 09:30:03 -04:00
Hugues Ross
dd5a620393 Add cartographer privilege for using the /map command 2020-06-13 09:08:01 -04:00
Hugues Ross
bd3521d439 Documentation pass, part 3 2020-06-13 08:54:13 -04:00
Hugues Ross
db45633b16 Documentation pass, part 2 2020-06-13 08:50:36 -04:00
Hugues Ross
309ff6b8d4 Move storage code out of init.lua 2020-06-13 08:04:54 -04:00
Hugues Ross
6187137158 Refactor marker_lookup out of init.lua 2020-06-13 08:01:56 -04:00
Hugues Ross
6a3938d996 Refactor coordinate api into its own file 2020-06-13 07:50:34 -04:00
Hugues Ross
ca910ad29d Documentation pass, part 1
- Also added more optional parameters to the gui api
2020-06-13 07:41:56 -04:00
Hugues Ross
a6b96fa28f Fix obvious errors 2020-06-10 20:54:00 -04:00
Hugues Ross
a895acb978 Move autofill code into its own file 2020-06-10 20:49:21 -04:00
Hugues Ross
412e214f88 Fix remaining luacheck warnings 2020-06-10 20:10:15 -04:00
Hugues Ross
9099390842 Move material methods into separate api object 2020-06-10 20:01:58 -04:00
Hugues Ross
3d6ebe66c1 Move detail_texture into internal utility api 2020-06-10 19:54:28 -04:00
Hugues Ross
ad9c5e77b0 Move map item functions into a separate api object 2020-06-10 19:45:13 -04:00
Hugues Ross
e53bd8af41 Refactor marker api calls into marker_api.lua 2020-06-10 19:39:26 -04:00
Hugues Ross
a2e6597763 Refactor map creation / indexing into api object 2020-06-10 19:29:06 -04:00
Hugues Ross
30249edf44 Make fill_local a function of map objects 2020-06-10 19:23:03 -04:00
Hugues Ross
d7f7210a2d Refactor biome calls into separate file 2020-06-10 19:18:36 -04:00
Hugues Ross
3f641f6d63 Fix remaining luacheck warnings in commands.lua 2020-06-10 07:06:59 -04:00
Hugues Ross
51ef36c50c Refactor audio out of api.lua 2020-06-10 07:02:46 -04:00
Hugues Ross
43406ded7e OO-ifiy map tables 2020-06-09 20:20:54 -04:00
Hugues Ross
490104f646 Switch coordinate conversion in commands.lua 2020-06-08 20:28:36 -04:00
Hugues Ross
8aed769b97 Remove material value lookup from global API 2020-06-08 20:21:58 -04:00
Hugues Ross
25319d8053 Remove all global refs from scanner, and return API 2020-06-08 20:08:24 -04:00
Hugues Ross
1f76359fbd map_formspec: Remove final cartographer.skin reference 2020-06-08 20:05:51 -04:00
Hugues Ross
1d3c6dec97 Move scan_queue to local scope 2020-06-08 20:03:44 -04:00
Hugues Ross
b42c9d051f Remove _cartographer global 2020-06-08 20:01:26 -04:00
Hugues Ross
3510bbcb35 Return map formspec methods instead of modifying the api object 2020-06-08 19:49:23 -04:00
Hugues Ross
9ce982c7cf map_formspec cleanup part 1 - Fix some long lines and start using gui API 2020-06-08 18:36:18 -04:00
Hugues Ross
5af69ccd14 Move marker formspec code into items.lua 2020-06-08 18:12:05 -04:00
Hugues Ross
8aba2d8c57 Parameterize biome / marker tables 2020-06-08 07:26:18 -04:00
Hugues Ross
93b6ab6ee8 items.lua: Start formspec cleanup and refactor map description into a function 2020-06-07 20:35:17 -04:00
Hugues Ross
43c193279d items.lua: Parameterize coordinate conversion functions 2020-06-07 18:31:42 -04:00