mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-13 22:43:43 +01:00
a8c231da34
* 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.
10 lines
825 B
Plaintext
10 lines
825 B
Plaintext
# textdomain: mcl_compass
|
|
Compass=
|
|
Points to the world origin=
|
|
Compasses are tools which point to the world origin (X@=0, Z@=0) or the spawn point in the Overworld.=
|
|
A Compass always points to the world spawn point when the player is in the overworld. In other dimensions, it spins randomly.=
|
|
Lodestone Compass=
|
|
Points to a lodestone=
|
|
Lodestone compasses resemble regular compasses, but they point to a specific lodestone.=
|
|
A Lodestone compass can be made from an ordinary compass by using it on a lodestone. After becoming a lodestone compass, it always points to its linked lodestone, provided that they are in the same dimension. If not in the same dimension, the lodestone compass spins randomly, similarly to a regular compass when outside the overworld. A lodestone compass can be relinked with another lodestone.=
|