GithubHelp home page GithubHelp logo

dragonop / blink Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 0siribix/blink

0.0 0.0 0.0 1.45 MB

Blink Teleport mod for Minetest

License: GNU Affero General Public License v3.0

Lua 100.00%

blink's Introduction

Blink Teleport mod for Minetest

Dependencies

Minetest 5.0.0+

Description

Blink is a short distance teleport with a cooldown period, similar to a reuseable ender pearl. The further you blink, the longer the cooldown. You can also place a temporary marker that will display your destination if you were to blink. This will add a new dynamic to PvP and/or survival servers. If you blink into a player or a mob, you will find yourself directly behind them facing their back.

Right click or double tap to blink in the direction you are looking. Left click or tap and hold to show a glowing orb at the location you would blink to. If you do this twice in the same place, you will blink to that spot (see screenshots)

Blink Rune is limited uses (150 by default) and fairly easy to craft. Forever Rune is infinite uses and is more expensive to craft. Craft recipes vary depending on which game you are playing or which mods are installed.

Blink adds a few items for crafting purposes: Bone and Bone Shard. If Bonemeal is detected, that bone will be used instead. If Techpack is installed, a grinder recipe is added. If Bonemeal is not installed then there is a small chance of finding a bone when digging any type of soil.

Blink does not depend on MTG so it will work with any game including Mineclone.

Features

  • By default you cannot blink into or out of protected areas (configurable)
  • Ability to specify a protection owner to allow blinking (Useful for public areas)
  • Height check disallows blinking into a space too short for the player
  • If you blink into a player or mob, you will move directly behind them and face their back
  • currently compatible with all of Mobs Redo, NSSM, Creeper, and DMobs
  • Swoosh sound included (7 sounds played randomly)
  • Default max blink distance is 20 nodes (configurable)
  • Able to set static cooldown and/or dynamic cooldown (0.1s for each block travelled + the static cooldown)

Before Blink

After Blink

Configuration

Open the tab Settings -> All Settings -> Mods -> blink to get a list of all possible settings.

For server owners: Check settingtypes.txt and modify your minetest.conf according to the wanted setting changes.

TODO

  • Localize
  • Maybe switch to first weapon in hotbar when blinking behind players or mobs
  • Clean up and document code

License

Licensed under the GNU LGPL version 3 or later. See LICENSE.txt and http://www.gnu.org/licenses/lgpl-3.txt

blink's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.