void iuse::mutagen(game *g, player *p, item *it, bool t)
{
if( it->has_flag("MUTAGEN_STRONG") )
{
p->mutate(g);
if (!one_in(3))
p->mutate(g);
if (one_in(2))
p->mutate(g);
}
else if( it->has_flag("MUTAGEN_PLANT") )
{
g->add_msg_if_player(p, "You feel much closer to nature.");
p->mutate_category(g, MUTCAT_PLANT);
}
else if( it->has_flag("MUTAGEN_INSECT") )
{
g->add_msg_if_player(p, "You hear buzzing and feel your body harden.");
p->mutate_category(g, MUTCAT_INSECT);
}
else if( it->has_flag("MUTAGEN_SPIDER") )
{
g->add_msg_if_player(p, "You feel insidious.");
p->mutate_category(g, MUTCAT_SPIDER);
}
else if( it->has_flag("MUTAGEN_SLIME") )
{
g->add_msg_if_player(p, "Your body looses all rigidity for a moment.");
p->mutate_category(g, MUTCAT_SLIME);
}
else if( it->has_flag("MUTAGEN_FISH") )
{
g->add_msg_if_player(p, "You are overcome by an overwhelming longing for the ocean.");
p->mutate_category(g, MUTCAT_FISH);
}
else if( it->has_flag("MUTAGEN_RAT") )
{
g->add_msg_if_player(p, "You feel a momentary nausea.");
p->mutate_category(g, MUTCAT_RAT);
}
else if( it->has_flag("MUTAGEN_BEAST") )
{
g->add_msg_if_player(p, "Your heart races and you see blood for a moment.");
p->mutate_category(g, MUTCAT_BEAST);
}
else if( it->has_flag("MUTAGEN_CATTLE") )
{
g->add_msg_if_player(p, "Your mind and body slows down. You feel peaceful.");
p->mutate_category(g, MUTCAT_CATTLE);
}
else if( it->has_flag("MUTAGEN_CEPHALOPOD") )
{
g->add_msg_if_player(p, "Your mind is overcome by images of eldritch horros for a moment.");
p->mutate_category(g, MUTCAT_CEPHALOPOD);
}
else if( it->has_flag("MUTAGEN_BIRD") )
{
g->add_msg_if_player(p, "Your body lightens and you long for the sky.");
p->mutate_category(g, MUTCAT_BIRD);
}
else if( it->has_flag("MUTAGEN_LIZARD") )
{
g->add_msg_if_player(p, "For a heartbeat your body cools down.");
p->mutate_category(g, MUTCAT_LIZARD);
}
else if( it->has_flag("MUTAGEN_TROGLOBITE") )
{
g->add_msg_if_player(p, "You feel more adapted for dark caves.");
p->mutate_category(g, MUTCAT_TROGLO);
}
else
{
if (!one_in(3))
{
p->mutate(g);
}
}
}
Are you sure you’re looking at the right version of the file? Because I’m seeing a bunch of messages like that.