1
0
Fork 0
Commit Graph

42 Commits (a70a6ef13d625152e9e3e039154a3c6c0dfe1026)

Author SHA1 Message Date
chmodsayshello 7dacfe2cba make recovery compass spin randomly in other dimensions 2022-12-02 18:52:31 +01:00
chmodsayshello 7d57e73ae4 fix recovery compass overwriting every other item 2022-12-02 15:43:08 +01:00
chmodsayshello 7f59611914 add crafting recipie 2022-12-02 15:40:18 +01:00
chmodsayshello 927fd60786 translation stuff 2022-12-01 21:20:39 +01:00
chmodsayshello ab031daa5a recovery compass 2022-12-01 21:13:41 +01:00
PrairieAstronomer d86be83b2b Fixed the lodestone crafting to use the netherite ingot. 2022-06-30 14:11:13 +02:00
PrairieAstronomer bbd86045e5 Country Lode, Take Me Home Advancement 2022-06-11 15:35:48 -06:00
chmodsayshello 00dba67cd8 remove lodestone compass from creative inventory 2022-05-12 19:06:13 +02:00
kabou 872b708465 Remove unused variable.
* Removed unused variable `stack_max`.
2022-05-11 21:45:15 +02:00
kabou 74e70b674e Fix return value of `get_compass_image()`.
* `get_compass_image()` did not actually return the image number.
2022-05-11 21:43:52 +02:00
kabou 14c882f982 Fix lodestone compass meta handling.
* The nature of a compass was being determined by looking at its meta.
  This caused lodestone compasses with unset meta to turn into regular
  compasses.  Fixed by using string matching on the itemname.
* Changed lodestone rightclick handler to explicitly set the correct
  name and frame of the compass used on it instead of waiting for
  globalstep to do this.
2022-05-11 21:31:50 +02:00
kabou 8ae605165b Fix lodestone compass stack_max.
* Lodestone compasses are stackable.
* Remove hardcoded `stack_max` setting, use default.
2022-05-11 17:53:41 +02:00
kabou bacc7613b5 Fix crash in mt 5.4 with vector ops.
* `vector.from_string()` is not available in mt pre-5.5.  Replace with
  `minetest.string_to_pos()`.
2022-05-11 17:41:10 +02:00
kabou 8a4b8707fa Add new compass API.
* Add API.md
* Update mcl_itemframes to use the new API.
* Revert old exported function back to original API.
2022-05-10 23:38:28 +02:00
kabou a8c231da34 Refactor compass code.
* Split up `get_compass_image()` into smaller functions.  This allows
  for better code sharing between old and new API and globalstep fn.
* Add `get_compass_itemname()` function.  It will be the new API of
  choice, `get_compass_image() will be deprecated soon.
* Remove function declaration out of globalstep function.
* Various other performance improvements.
* Add local aliases for global functions
* Lodestone compasses can only stack 1 item.
* Document functions and variables.
* Fix lodetone compass inaccurately reusing compass descriptions.
* Add usage descriptions to node definitions
* Refactor craftitem registration code.
* Update translation templates.
2022-05-10 22:43:03 +02:00
chmodsayshello f1c60a48e0 remove debug logging 2022-04-30 10:02:04 +00:00
chmodsayshello f9d8b61dc1 update mcl_compass init.lua 2022-04-30 08:57:03 +00:00
AFCMS cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS 8ac5d32416 [mcl_compass] fix warnings 2021-05-23 00:17:12 +02:00
Elias Fleckenstein ecc2010fe5 Make compasses work in itemframes 2021-05-03 11:22:47 +02:00
AFCMS 6645c4cb30 Really 2021-03-16 17:43:32 +01:00
AFCMS 5d17a6b699 fix SO MANY pairs/ipairs 2021-03-16 17:35:46 +01:00
Wuzzy e22b766ffa Remove enchanted compass (caused a crash) 2020-12-19 15:32:32 +01:00
Elias Fleckenstein ed738da016 Added Enchanting Table 2020-11-25 12:47:27 +01:00
Elias Fleckenstein 3fd1963da9 Compass support 2020-11-01 14:23:43 +01:00
Wuzzy ba74546d48 Add extended tooltips 2020-02-19 04:54:17 +01:00
Wuzzy e4fbbeddb2 New translation system, part 6: Items, part 2 2019-03-07 23:40:57 +01:00
Wuzzy e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy 502be105ac Apply disable_repair group 2018-12-07 21:25:15 +01:00
Wuzzy b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy 6ff1be07cb Fix crash on join w/ compass + static_spawnpoint set in bracket format 2017-11-05 02:50:31 +01:00
Wuzzy 0ff6cb2837 Fix broken compass and clocks 2017-08-22 18:58:53 +02:00
Wuzzy fe31afc119 Disable weather in Nether and End and Void 2017-08-22 18:32:05 +02:00
Wuzzy 39f4573294 Randomly spin compass and clock in VoidNetherEnd 2017-08-17 21:26:09 +02:00
Wuzzy c7fc3845c1 Disable compass+clock updates in Nether, End, Void 2017-08-17 20:40:55 +02:00
Wuzzy e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy 1d1a7e192d Update compass texture, add conversion rule 2017-07-20 22:04:15 +02:00
Wuzzy b1b45274e4 Add Help entry aliases for many core items 2017-03-20 18:12:05 +01:00
Wuzzy 3db4148e7d Add some basic doc_items help texts for some items
Requires doc_items (not part of MCL2)
2017-03-02 21:55:25 +01:00
Wuzzy aabb1e972d Add _doc_items_create_entry fields for doc_items 2017-03-02 19:53:53 +01:00
Wuzzy 7ae2d1dc4f Make compass clickable in craft guide 2017-02-20 21:14:10 +01:00
Wuzzy 3696ee3761 Organize mods into modpacks for better overview 2017-02-16 01:45:21 +01:00