share/hedgewars/Data/Scripts/Multiplayer/TechRacer.lua
changeset 12394 605a7c85a798
parent 12393 0eb1457f7b94
child 12429 b9cc405541c1
equal deleted inserted replaced
12393:0eb1457f7b94 12394:605a7c85a798
   700 		end
   700 		end
   701 
   701 
   702 		activationStage = 200
   702 		activationStage = 200
   703 		--runOnHogs(RestoreHog)
   703 		--runOnHogs(RestoreHog)
   704 
   704 
       
   705 		if ufoFuel == 2000 then
       
   706 			SetAmmoDescriptionAppendix(amJetpack, loc("On this map you get infinite fuel."))
       
   707 		elseif ufoFuel ~= nil and ufoFuel ~= 0 then
       
   708 			SetAmmoDescriptionAppendix(amJetpack, string.format(loc("On this map you get %d%% fuel."), div(ufoFuel, 20)))
       
   709 		end
       
   710 
   705 	end
   711 	end
   706 
   712 
   707 end
   713 end
   708 
   714 
   709 function TryRepositionHogs()
   715 function TryRepositionHogs()