1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-13 22:10:31 +01:00
server-nalc/mods/returnmirror
crabman77 5856d4d6f3 convert sounds,mono 44100 48kb
remove fire_small.ogg, doublons
2015-09-05 21:40:31 +02:00
..
sounds convert sounds,mono 44100 48kb 2015-09-05 21:40:31 +02:00
textures compress textures, fix preview shields 2015-07-24 23:09:08 +02:00
depends.txt Change rights in the repository (755) 2015-05-26 23:37:16 +02:00
description.txt Change rights in the repository (755) 2015-05-26 23:37:16 +02:00
init.lua Change rights in the repository (755) 2015-05-26 23:37:16 +02:00
README.txt Change rights in the repository (755) 2015-05-26 23:37:16 +02: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.