From 940600a5fde564cdda8fd6d3186a265a46c28d73 Mon Sep 17 00:00:00 2001 From: AriosJentu Date: Mon, 26 Aug 2019 02:20:44 +1000 Subject: [PATCH] Replace yoda achievement name --- qcsrc/common/achievements.qc | 6 +++--- qcsrc/common/achievements.qh | 2 +- qcsrc/common/weapons/weapon/vaporizer.qc | 2 +- qcsrc/common/weapons/weapon/vortex.qc | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qcsrc/common/achievements.qc b/qcsrc/common/achievements.qc index 4c499dc72..e9f3abacf 100644 --- a/qcsrc/common/achievements.qc +++ b/qcsrc/common/achievements.qc @@ -30,7 +30,7 @@ void Achievements_set_achievement_value(entity this, string achieve, int value) if (achieve == "botlike") this.botlike = value; if (achieve == "electrobitch") this.electrobitch = value; if (achieve == "impressive") this.impressive = value; - if (achieve == "flyingyoda") this.flyingyoda = value; + if (achieve == "likeyoda") this.likeyoda = value; if (achieve == "multirailed") this.multirailed = value; if (achieve == "pointblank") this.pointblank = value; @@ -57,7 +57,7 @@ int Achievements_get_achievement_value(entity this, string achieve) { if (achieve == "botlike") return this.botlike; if (achieve == "electrobitch") return this.electrobitch; if (achieve == "impressive") return this.impressive; - if (achieve == "flyingyoda") return this.flyingyoda; + if (achieve == "likeyoda") return this.likeyoda; if (achieve == "multirailed") return this.multirailed; if (achieve == "pointblank") return this.pointblank; @@ -84,7 +84,7 @@ string Achievements_get_achievement_title(string achieve) { if (achieve == "botlike") return "Botlike!"; if (achieve == "electrobitch") return "Electro-BITCH!"; if (achieve == "impressive") return "Impressive!"; - if (achieve == "flyingyoda") return "Yoda!"; + if (achieve == "likeyoda") return "Like Yoda!"; if (achieve == "multirailed") return "Multi Railed!"; if (achieve == "pointblank") return "Point Blank!"; diff --git a/qcsrc/common/achievements.qh b/qcsrc/common/achievements.qh index c198b21b1..87f158815 100644 --- a/qcsrc/common/achievements.qh +++ b/qcsrc/common/achievements.qh @@ -23,7 +23,7 @@ CLASS(Achievements, Object) ATTRIB(Achievements, botlike, int, 0); ATTRIB(Achievements, electrobitch, int, 0); ATTRIB(Achievements, impressive, int, 0); - ATTRIB(Achievements, flyingyoda, int, 0); //In Yoda maybe incorrect conditions + ATTRIB(Achievements, likeyoda, int, 0); //New achievements ATTRIB(Achievements, multirailed, int, 0); diff --git a/qcsrc/common/weapons/weapon/vaporizer.qc b/qcsrc/common/weapons/weapon/vaporizer.qc index 91927a6a8..5e8292161 100644 --- a/qcsrc/common/weapons/weapon/vaporizer.qc +++ b/qcsrc/common/weapons/weapon/vaporizer.qc @@ -139,7 +139,7 @@ void W_Vaporizer_Attack(Weapon thiswep, entity actor, .entity weaponentity) if(yoda && flying) { Send_Notification(NOTIF_ONE, actor, MSG_ANNCE, ANNCE_ACHIEVEMENT_YODA); - achs.inc_achievement(achs, "flyingyoda"); + achs.inc_achievement(achs, "likeyoda"); } if(damage_goodhits && actor.vaporizer_lasthit) diff --git a/qcsrc/common/weapons/weapon/vortex.qc b/qcsrc/common/weapons/weapon/vortex.qc index dc5792170..10e4e20d6 100644 --- a/qcsrc/common/weapons/weapon/vortex.qc +++ b/qcsrc/common/weapons/weapon/vortex.qc @@ -150,7 +150,7 @@ void W_Vortex_Attack(Weapon thiswep, entity actor, .entity weaponentity, float i if(yoda && flying) { Send_Notification(NOTIF_ONE, actor, MSG_ANNCE, ANNCE_ACHIEVEMENT_YODA); - achs.inc_achievement(achs, "flyingyoda"); + achs.inc_achievement(achs, "likeyoda"); } if(damage_goodhits && actor.vortex_lasthit) -- 2.39.2