--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua Tue Jul 17 16:45:34 2018 +0200
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua Tue Jul 17 18:38:44 2018 +0200
@@ -12,6 +12,7 @@
]]
HedgewarsScriptLoad("/Scripts/Locale.lua")
+HedgewarsScriptLoad("/Scripts/Achievements.lua")
local hog -- Hog gear
local weaponSelected = false -- Player has selected the weapon
@@ -190,6 +191,9 @@
AddAmmo(CurrentHedgehog, amBazooka, 0)
if shotsFired > maxTargets then
flawless = false
+ else
+ -- For 100% accuracy
+ awardAchievement(loc("Bazooka Master"))
end
if flawless then
PlaySound(sndFlawless, hog)