A Minetest mod which adds a magical mirror which allows to teleport to some set position.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sys4-fr 29778fd2aa Ajoute message de chargement du mod dans le journal "action" 11 months ago
locale Update locales 3 years ago
sounds Add failure sound 3 years ago
textures Make mirror look like hand mirror 3 years ago
README.md v1.0.4 2 years ago
depends.txt Use new doc_items data format 3 years ago
description.txt Copy-editing 4 years ago
init.lua Ajoute message de chargement du mod dans le journal "action" 11 months ago
mod.conf Add mod.conf 3 years ago
screenshot.png Make mirror look like hand mirror 3 years ago

README.md

Mirror of Returning

Version 1.0.4

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.