1
0
mirror of https://repo.or.cz/minetest_returnmirror.git synced 2024-11-14 20:30:18 +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-08-02 18:19:41 +02:00
sounds Add basic sounds 2015-02-13 23:21:25 +01:00
textures Add “inactive” and “active” mirror 2015-02-14 06:49:51 +01:00
depends.txt Make dependency on Mana mod optional 2015-02-14 00:02:35 +01:00
description.txt Copy-editing 2015-02-14 00:47:19 +01:00
init.lua Fix rightclick, reduce range to 0, disable dig 2016-08-02 18:19:41 +02:00
README.txt Set default teleport cost to 200 2015-02-14 03:22:32 +01:00

Mirror of Return
================
Version 0.1.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
Rightclick with the item onto a node to set the mirror's teleport location.
Leftclick while holding the mirror 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: 20
* Teleporting back to set position: 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.