Real Torch mod for Minetest

tenplus1 e3b8f86df7 few recipe changes, fix dupe bug 2 months ago
sounds 88e6924a2b sounds added by tacotexmex (thanks dude) 4 years ago
textures 7c86f24450 detects between 2d/3d torches for use 4 years ago
2d.lua 95f9afe1bd tweak code, use new "clip" for alpha textures, use on_flood feature 5 months ago
3d.lua 95f9afe1bd tweak code, use new "clip" for alpha textures, use on_flood feature 5 months ago
depends.txt 2879a08bd0 unlit torches can be relit with flint&steel or gunpowder, timer settings added 4 years ago
description.txt d56d32aa7e add some missing files 3 years ago
init.lua e3b8f86df7 few recipe changes, fix dupe bug 2 months ago
license.txt a06d2155f0 updated readme and added MIT license 5 years ago
mod.conf 2277ce17dd update mod.conf info 8 months ago
readme.md 95f9afe1bd tweak code, use new "clip" for alpha textures, use on_flood feature 5 months ago
screenshot.png 3988f7e5c1 rename screenshot png 3 years ago
settingtypes.txt 92612d2966 added settingtypes.txt 3 years ago

readme.md

Real Torch by TenPlus1

This mod changes minetest torches so that they have a life of 20-30 minutes which is configurable using the torch_min_duration and torch_max_duration settings.

  • 2x coal lumps can be crafted into 12x coal powder
  • coal powder and an unlit torch can be crafted into a lit torch again
  • punching an unlit torch with coal powder relights it
  • punching an unlit torch with flint & steel relights it
  • punching an unlit torch with gunpowder explodes and relights it
  • never punch a lit torch with gunpowder, ow!
  • water near torches make them drop as unlit torches
  • coal powder can also be used for fuel or crafted into black dye

https://forum.minetest.net/viewtopic.php?f=11&t=15721

Changelog:

  • 0.1 - Initial upload
  • 0.2 - Punching unlit torch with coal powder relights torch
  • 0.3 - Torches are 2D and override any that are 3D
  • 0.4 - Changed my mind, now detects old 2D or new 3D torches and works accordingly
  • 0.5 - 2x coal lumps give 10x coal dust, also fixed check for ethereal mod
  • 0.6 - Burnout and extinguish sounds added by tacotexmex :)
  • 0.7 - Torches can be re-lit using flint & steel and gunpowder, settings added
  • 0.8 - Updated to newer functions, requires Minetest 0.4.16 to run
  • 0.9 - Use on_flood from newer 5.x functions to drop torches
  • 1.0 - Tweak code and use use_texture_alpha = "clip" to stop warnings