A Minetest mod which adds a magical mirror which allows to teleport to some set position.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
sys4 8e8bf83689 Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev 3 个月前
locale Fix locale files syntax 5 个月前
sounds Turn sounds to mono 5 个月前
textures Make mirror look like hand mirror 4 年前
README.md v1.0.4 3 年前
init.lua Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev 3 个月前
mod.conf Remove legacy metadata format 5 个月前
screenshot.png Make mirror look like hand mirror 4 年前

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.