WEAPONS
struct id id_weapons[WEAPONS] = {
obj->which_kind = get_rand(0, (WEAPONS - 1));
max = WEAPONS - 1;
for (i = 0; i < WEAPONS; i++) {