["lightning_bolt", "Lightning Bolt", [("empty", 0), ("light_beam", ixmesh_flying_ammo), ("icon_lightning", ixmesh_inventory)], itp_type_thrown|itp_primary|itp_can_penetrate_shield|itp_crush_through|itp_extra_penetration, itcf_throw_stone, 23, weight(0.23)|difficulty(0)|spd_rtng(60)|shoot_speed(60)|thrust_damage(70, pierce)|max_ammo(100)|weapon_length(7, imodbits_thrown,
[(ti_on_weapon_attack, [
(play_sound,"snd_lightning"),
(get_player_agent_no,":agent"),
(try_begin),
(ge, "$mana", "$curcost"),
(agent_set_ammo, ":agent", "$curspell", 2),
(val_sub, "$mana", "$curcost"),
(else_try),
(agent_unequip_item,":agent","$curspell"),
(try_end),
])]],