Visuals include HUD effect and fire particles around player. You can put yourself out by jumping into water/snow.
Credits 🔗
- Thanks to TenPlus1 for 3d_armor support and some other things
API 🔗
fire_plus.burn_player(player, burns, damage)- Sets
playeron fire and burns themburnstimes withdamagedamage every second
- Sets
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>
Cool.
I kinda wished the fire had an animation, but this is cool as it is...
Cool
Cool mod, still not so laggy, all works. (Good api too)