Make fire hurt the player
authorPilzAdam <adam-k@outlook.com>
Sun, 25 Nov 2012 13:20:09 +0000 (14:20 +0100)
committerPilzAdam <adam-k@outlook.com>
Sun, 25 Nov 2012 19:11:40 +0000 (20:11 +0100)
mods/fire/init.lua

index 3480fcb333774147e95c56a2fdadd270645e8970..c0d95a4339e0266d5676598fa51fc8770e1428a0 100644 (file)
@@ -12,6 +12,7 @@ minetest.register_node("fire:basic_flame", {
        groups = {igniter=2,dig_immediate=3},
        drop = '',
        walkable = false,
+       damage_per_second = 4,
 })
 
 local fire = {}