A mod for Minetest :: Adds a wand that magically spawns a light node where ever the player pointed it.

vibes81 29b4c8c6c7 version 1.0.0 release 1 рік тому
.vscode 66493d5f08 the players wand now lvls up with larger burntime 3 роки тому
core e92d3cb994 cleanup 1 рік тому
docs 29b4c8c6c7 version 1.0.0 release 1 рік тому
sounds 89694633a0 first import of code 3 роки тому
textures 592cfefe66 new failed effect added used when casting light. 3 роки тому
.gitignore e92d3cb994 cleanup 1 рік тому
LICENSE 548cf09efe Initial commit 3 роки тому
README.md d596f9588c update readme and bump version 3 роки тому
config.lua 1eae9a31b3 improve config loading 3 роки тому
init.lua 29b4c8c6c7 version 1.0.0 release 1 рік тому
mod.conf 65b1f6e34c uneeded option depends 3 роки тому
nodes.lua e92d3cb994 cleanup 1 рік тому
screenshot.png 34cfccb0b0 updated screenshots and cleaned gui a little 3 роки тому
screenshot1.png 34cfccb0b0 updated screenshots and cleaned gui a little 3 роки тому
screenshot2.png 89694633a0 first import of code 3 роки тому
screenshot3.png f0762a0390 new screenshots 3 роки тому
screenshot4.png f0762a0390 new screenshots 3 роки тому
screenshot5.png 34cfccb0b0 updated screenshots and cleaned gui a little 3 роки тому
screenshot6.png 34cfccb0b0 updated screenshots and cleaned gui a little 3 роки тому
settingtypes.txt a961469322 fix setting name 3 роки тому
tools.lua f10777ebe0 bugfix to fuelslot allowing non burnable items 3 роки тому

README.md

VM Lighting Wand

A mod for Minetest

Adds a Wand that can spawn a light node both in water or air. But it is greedy, it requires been fed burnable items in order to place lights. The Wand provides a GUI interface by right clicking while holding a Wand. From here you can see details about the wand and a slot to feed it burnable items. As the wand is fed more items and builds up power it will level up, increasing the level grants it more range and decreases its usage cost. Levels can be fully configured to suit your needs within the provided config.lua file, a backup of this file can be found at core/config.dist.lua

To place a light on top of a liquid node hold shift while pointing at some liquid. A light will be removed if the node you are placing it already contains a light node. the wand sound and particles can be disabled within the games settings page under mods

feedback, suggestions and comments are all welcome.

features

  • works with all games
    • just needs burnable items
  • Easy setting of custom recipe
    • see config.lua
  • a command setting to manage all players stored power
    • disabled by default
    • requires privilege added by this mod
  • built in levelling system increasing placement range and reducing usage costs
  • creative players are placed in the last level automatically and can place light nodes for free
  • setting to give new players a wand for free when they join
    • disabled by default
  • sound and particle effects
    • sound is disabled by default
  • configure all levels
    • add/remove/alter/balance
  • overall efficiency multiplier setting for fast balancing to suit needs
  • fancy GUI to show wand status and fed its hunger!

website

https://forum.minetest.net/viewtopic.php?f=9&t=26113

license

sounds/vm_lighting_wand.ogg = (CC BY-NC 4.0) (see sounds/LICENSE.txt)

everything else is MIT (see LICENSE)