Walking Light

Description:

A mod for Minetest that illuminates the area around a player when wielding a light-emitting item. Also supports equipped armor with 3d_armor.

screenshot

History:

Licensing:

Requirements:

 - Minetest minimum version: 5.0.0
 - Depends: none
 - Optional depends: default (for torch & megatorch)
 - Privileges: server (for using chat commands)

Usage:

Main methods:

 wlight.register_item(iname, radius)
 - Registers an item to emit light when wielded.
 - `iname`: Item technical name.
 - `radius`: Distance light will reach (max: 10).

 wlight.register_armor(iname, radius, litem)
 - Registers an item to emit light when equipped in armor inventory.
 - `iname`: Item technical name.
 - `radius`: Distance light will reach (max: 10).
 - `litem`: Whether or not this item should also be registered with `wlight.register_item` (default: true).

Settings:

 wlight.enable_megatorch
 - Enables wlight:megatorch item.
 - default: true

Links:

  • Forum

  • Git repo

  • API

  • Changelog

  • TODO

  • Echo's *walking_light*:

    - [Forum][forum.echo]
    - [v0.6 release](https://github.com/AntumMT/mod-wlight/releases/tag/v0.6)
    
  • petermaloney's *walking_light*:

    - [Git repo](https://github.com/petermaloney/walking_light)
    

    Alternative Mods:

  • wielded_light

generated by LDoc 1.4.6 Last updated 2021-06-26 13:20:35