Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

New Luanti mod: firefighter

I wrote a new mod for Luanti! It is available on Internal ContentDB.

Description of mod firefighter

This mod is designed for three mainline Luanti games, and adds tools and commands for fighting fires.

The canonical scm repo is at https://bgstack15.ddns.net/cgit/luanti/firefighter, and an additional repo suitable for collaboration is at https://codeberg.org/bgstack15/firefighter.

Using

A fire extinguisher is crafted from black wool, iron block, compass (MCL/VL) or steel ingot, red dye, and a bucket of water. In Mineclonia/VoxeLibre, you can repair an extinguisher at an anvil using a bucket of water. You can use the extinguisher as a weak, blunt weapon against mobs, too!

A fire extinguisher is used by left-clicking/using a tool, and starts suppressing fires in a small area.

Chat commands

To use the chat commands, a user must have priv server.

  • suppress_fire [<radius>] [<max_delay>]. Around the player, a cube of radius radius, start suppressing fires. Max_delay is a nice effect for over time, with a default of 1.5 seconds, but set it to 0 to immediately stop fires.
  • call_firestorm. BURNINATE around the calling player for a medium radius. I hope you have fire resistance.

Screenshots

Recipe for Mineclonia/VoxeLibre

Recipe for Minetest Game

Settings

  • firefighter.particles Boolean. Show the particles of the foam and smoke of a fire being extinguished. Disabling this might improve performance. Default is true.
  • firefighter.extinguisher_uses Integer. Set how many uses an extinguisher has in survival mode. Default is 100.

Alternatives

Comments