надо хотя бы добавить:
Код: Выделить всё
} elsif ($type == MAKEITEM_AM_SUCCESS_EFFECT) {
message TF("%s successfully creation a potions!\n", $name), "refine";
} elsif ($type == MAKEITEM_AM_FAIL_EFFECT) {
message TF("%s failed to creation a potions!\n", $name), "refine";