if HasArtefact("Brem", 23) and if HasArtefact("Brem", 28) and if HasArtefact("Brem", 68)
замени на
if HasArtefact("Brem", 23) and HasArtefact("Brem", 28) and HasArtefact("Brem", 68)
, т.к вся эта строка - одно условие и для него нужен только один блок if