if (achieve == "telefrag") this.telefrag = value;
if (achieve == "surprise") this.surprise = value;
if (achieve == "bitchslap") this.bitchslap = value;
+ if (achieve == "threwaway") this.threwaway = value;
return;
}
if (achieve == "telefrag") return this.telefrag;
if (achieve == "surprise") return this.surprise;
if (achieve == "bitchslap") return this.bitchslap;
+ if (achieve == "threwaway") return this.threwaway;
return 0;
}
if (achieve == "telefrag") return "Unexpected Kill!";
if (achieve == "surprise") return "Surprise!";
if (achieve == "bitchslap") return "Bitch Slap!";
+ if (achieve == "threwaway") return "Threw Away!";
+
return "";
}
ATTRIB(Achievements, telefrag, int, 0);
ATTRIB(Achievements, surprise, int, 0);
ATTRIB(Achievements, bitchslap, int, 0);
+ ATTRIB(Achievements, threwaway, int, 0);
//Getters and setters for achievements
);
}
+ if (deathtype == DEATH_HURTTRIGGER.m_id || deathtype == DEATH_LAVA.m_id) {
+ entity achv = attacker.achievements;
+ achv.inc_achievement(achv, "threwaway");
+ achv.announce(achv, attacker, "threwaway");
+ }
+
int f3 = 0;
if(deathtype == DEATH_BUFF.m_id)
f3 = buff_FirstFromFlags(STAT(BUFFS, attacker)).m_id;