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

Vibes81 7a31f812dd Merge branch 'master' into develop 3 年 前
.vscode 66493d5f08 the players wand now lvls up with larger burntime 3 年 前
core c31ed42288 move auto recipe to init, add mcl recipe 3 年 前
sounds 89694633a0 first import of code 4 年 前
textures 15939fc18f added image[] 3 年 前
.gitignore 9341d34a1e update git ignored list 4 年 前
LICENSE 548cf09efe Initial commit 4 年 前
README.md d7ae479613 update readme and set sound to off by default 3 年 前
config.lua c31ed42288 move auto recipe to init, add mcl recipe 3 年 前
init.lua e575b51936 version 0.0.5 3 年 前
mod.conf c31ed42288 move auto recipe to init, add mcl recipe 3 年 前
nodes.lua 0071fcd0b9 wand will now try to use default images first 3 年 前
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 4 年 前
screenshot3.png f0762a0390 new screenshots 4 年 前
screenshot4.png f0762a0390 new screenshots 4 年 前
screenshot5.png 34cfccb0b0 updated screenshots and cleaned gui a little 3 年 前
screenshot6.png 34cfccb0b0 updated screenshots and cleaned gui a little 3 年 前
settingtypes.txt d7ae479613 update readme and set sound to off by default 3 年 前
tools.lua 50985ad890 rename show_gui to open_gui 3 年 前

README.md

VM Lighting Wand

A mod for Minetest

Adds a Wand that can spawn a light node both in the air or water. But the is greedy, it requires been fed burnable items in order to place light nodes. 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. (todo: move to GUI) feedback, suggestions and comments are all welcome.

features

  • a command setting to alter players stored power (disabled by default)
  • built in leveling system increasing placment range and reducing 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
  • sound and particle effects (sound is disabled by default)
  • configure all levels (add/remove/alter)
  • overall efficiency multiplier setting for fast balancing to suit
  • 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)