# HG changeset patch # User Wuzzy # Date 1493746701 -7200 # Node ID 605a7c85a798329ea744c5ecaef1888fa29f3d93 # Parent 0eb1457f7b9439b32152e9a6aec6726046918927 Mention overwritten fuel in ammo description of UFO in TechRacer diff -r 0eb1457f7b94 -r 605a7c85a798 share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua Mon May 01 00:04:28 2017 +0200 +++ b/share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua Tue May 02 19:38:21 2017 +0200 @@ -702,6 +702,12 @@ activationStage = 200 --runOnHogs(RestoreHog) + if ufoFuel == 2000 then + SetAmmoDescriptionAppendix(amJetpack, loc("On this map you get infinite fuel.")) + elseif ufoFuel ~= nil and ufoFuel ~= 0 then + SetAmmoDescriptionAppendix(amJetpack, string.format(loc("On this map you get %d%% fuel."), div(ufoFuel, 20))) + end + end end