anchor.diff:  					hpbar = new(src)
   					hpbar.alpha = 0
   
  -				hpbar.Set(perc)
  -
  +				var/s = round((maxhp - hp) / (maxhp / amount))
  +				if(s >= 1)
  +					amount -= s
  +
  +					var/px = rand(-2,2)
  +					var/py = rand(-2,0)
  +					if(px == 0 && py == 0) py = -1
  +					var/obj/items/wood_log/w = new(locate(x + px, y + py, z))
  +					w.stack = s
  +					w.UpdateDisplay()
  +					w.pixel_y = 64 - py*32
  +					w.pixel_x = -px*32
  +					w.transform = turn(matrix(), 90 * pick(1, -1))
  +					w.layer = 6
  +					animate(w, pixel_x = 0, pixel_y = 0, transform = null, time = 20, easing = BOUNCE_EASING)
  +					animate(layer = 3, time = 0)
   				if(hp <= 0)
   					layer = 2
   					var/obj/items/wood_log/w = new(loc)
  -					w.stack = rand(1,9)
  +					w.stack = amount + rand(3,6)
   					w.UpdateDisplay()
   					w.pixel_y = 64
   					w.transform = turn(matrix(), 90 * pick(1, -1))
  
positive.code: 					var/turf/t = locate(x, y, worldData.sandboxZ)
  
  					#if WINTER
  					if(t.icon_state == "snow")
  					#else
  					if(t.icon_state == "grass1")
  					#endif
  						loc = t
  						hpbar.loc = t
  
negative.code: 			animate(pixel_x = pixel_x, time = 1)
  
  	wall
  		var
  			tmp/regen = 0
  			rate = 500
  		opacity = 1
  		wood
  			icon = 'wood_wall.dmi'
  