Skip to content

Dumpster-Studios/fire_plus

Repository files navigation

Fire Plus

Build status ContentDB GitHub

Allows players to be lit on fire by various fire-related things.

Visuals include HUD effect and fire particles around player. You can put yourself out by jumping into water/snow.

Screenshot

Credits

  • Thanks to TenPlus1 for 3d_armor support and some other things

API

  • fire_plus.burn_player(player, burns, damage)
    • Sets player on fire and burns them burns times with damage damage every second
  • fire_plus.tnt_explode_radius
    • How close to a TNT node a player has to be to detonate it
  • fire_plus.ignition_nodes
    • Nodes that set players on fire. See the init.lua for examples
  • fire_plus.extinguishers
    • Nodes that put out burning players. See the init.lua for examples
  • Fire tools
    • You can allow modders to make tools light punched players on fire
    • Just set tool_capabilities.damage_groups.burns = <How much damage to do each burn>
    • There's also tool_capabilities.damage_groups.burn_time = <How many times to burn the player>