mesecraft/mods/ENVIRONMENT/fire_plus
MeseCraft 56b1d787a5 fix more mod.conf's and update fireplus to support 3d_armor 2022-08-09 12:59:44 -05:00
..
LICENSE new mod folder layout inspired by mineclone2. new weather system (not working) 2021-01-30 23:07:24 -06:00
README.md new mod folder layout inspired by mineclone2. new weather system (not working) 2021-01-30 23:07:24 -06:00
api.lua fix more mod.conf's and update fireplus to support 3d_armor 2022-08-09 12:59:44 -05:00
depends.txt new mod folder layout inspired by mineclone2. new weather system (not working) 2021-01-30 23:07:24 -06:00
init.lua fix more mod.conf's and update fireplus to support 3d_armor 2022-08-09 12:59:44 -05:00
mod.conf fix more mod.conf's and update fireplus to support 3d_armor 2022-08-09 12:59:44 -05:00

README.md

fire_plus

API

  • fire_plus.burnplayer(player) Sets player on fire

    • player - player object
  • fire_plus.get_burn_dmg(player) Returns how much damage player should take from fire default is 1

    • player - player object
  • 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 player on fire. Example:

    • table.insert(fire_plus.ignition_nodes, "fire") All nodes with fire in their itemstring will set a player on fire
  • fire_plus.put_outs Nodes that put out burning players. Example:

    • table.insert(fire_plus.ignition_nodes, "water") All nodes with water in their itemstring will put out a burning player
  • Fire tools Allows modders to make tools set any players they hit on fire. Just set tool_capabilities.damage_groups.burn = 1