["flamethrower_axes", "Flamethrower Axes", [("francisca",0)], itp_type_thrown |itp_merchandise|itp_primary ,itcf_throw_axe, 1 ,
weight(4)|difficulty(0)|spd_rtng(97) | shoot_speed(30) | thrust_damage(11 , blunt)|max_ammo(18)|weapon_length(8),imodbit_large_bag,
[(ti_on_weapon_attack,
[(play_sound,"snd_fire_woosh"),
(copy_position,pos3,pos1),
(particle_system_burst, "psys_torch_fire_sparks", pos1, 15),(particle_system_burst, "psys_torch_fire", pos1, 5),
(position_move_y, pos1,195),(position_move_z, pos1,57),(particle_system_burst, "psys_village_fire_big", pos1, 100),
(position_move_y,pos1,-260),(position_move_z,pos1,-90),(particle_system_burst, "psys_torch_fire_sparks", pos1, 20),
(position_move_z,pos1,-37),(particle_system_burst, "psys_torch_fire_sparks", pos1, 20), #begin trail of sparks
(position_move_z,pos1,-37),(particle_system_burst, "psys_torch_fire_sparks", pos1, 25),
(position_move_z,pos1,-37),(particle_system_burst, "psys_torch_fire_sparks", pos1, 30),
(position_move_z,pos1,-37),(particle_system_burst, "psys_torch_fire_sparks", pos1, 35),
(position_move_z,pos1,-37),(particle_system_burst, "psys_torch_fire_sparks", pos1, 40),
(position_move_z,pos1,-37),(particle_system_burst, "psys_torch_fire_sparks", pos1, 45),
#identify thrower --This is the segment in progress (just imagine it's not here if you have to)
(try_for_agents,":thrower"),
#had been trying various different parameters here.
(try_end),
(try_for_agents,":agent"),
(agent_get_position,pos2,":agent"),
(get_distance_between_positions,":dist",pos3,pos2),
(lt,":dist",325),
(neg|agent_has_item_equipped,":agent",434),
#delivering damage
(agent_set_hit_points,":agent",0,0), #change to real damage later
(agent_deliver_damage_to_agent,":thrower",":agent"),
(try_end)]),
]],
]