'== included in the AI scripts file =='
s.controller.vars.set("inert", 1)

'if damaged, start shooting vomit in that direction
If s.recent_damage_timer > 0
	For Local g:Gun = EachIn s.gunGroup[0]
		'make it continual
		g.burst = 15
		'make it a turret
		g.fixed = 3
	Next

	Local tx = s.x + Cos(s.recent_damage_theta+180) * 100
	Local ty = s.y + Sin(s.recent_damage_theta+180) * 100
	AI.fireAIWeapons(s, 0, tx,  ty)	
EndIf



