1
0
mirror of https://repo.or.cz/minetest_returnmirror.git synced 2024-11-16 13:20:16 +01:00
A Minetest mod which adds a magical mirror which allows to teleport to some set position. https://forum.minetest.net/viewtopic.php?f=11&t=11224
Go to file
2016-11-16 06:43:21 +01:00
locale Update locales 2016-11-16 06:43:02 +01:00
sounds Add failure sound 2016-08-08 07:20:44 +02:00
textures Make mirror look like hand mirror 2016-08-08 07:58:00 +02:00
depends.txt Use new doc_items data format 2016-11-02 22:53:34 +01:00
description.txt Copy-editing 2015-02-14 00:47:19 +01:00
init.lua Use new doc_items field names 2016-11-16 06:43:21 +01:00
mod.conf Add mod.conf 2016-08-02 18:23:14 +02:00
README.md Version 1.0.0 2016-08-08 08:14:36 +02:00
screenshot.png Make mirror look like hand mirror 2016-08-08 07:58:00 +02:00

Mirror of Returning

Version 1.0.0

Description

This mod adds a magical item, the Mirror of Returning. This item teleports the user back to a previously set location, at the cost of some mana (if applicable).

Usage

While holding the mirror:

  • Rightclick to set the mirror's teleport location.
  • Leftclick to immediately teleport back to the mirror's teleport location.

Each mirror has is own teleport location and “remembers” it throughout the game, until a new teleport location has been set.

Initially, a mirror has no teleport location set, so you have to set it before the first teleportation.

If the Mana mod [mana] is present, setting and teleporting costs mana. The default cost are:

  • Setting teleport location: 20
  • Teleporting: 200

Configuration

You can change the mana costs via minetest.conf. The following settings are used:

  • returnmirror_cost_set: Mana cost for setting (number)
  • returnmirror_cost_teleport: Mana cost for teleporting (number)

If a setting is not present, the default cost is used.