share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua
changeset 12062 3d03e9294633
parent 12053 281a4f33b08f
child 12064 54f53cf14ae4
equal deleted inserted replaced
12061:5beaf30c1cef 12062:3d03e9294633
   287 
   287 
   288 	xOffset = 40
   288 	xOffset = 40
   289 
   289 
   290 	if i == 0 then
   290 	if i == 0 then
   291 		yOffset = 40
   291 		yOffset = 40
   292 		tCol = 0xffba00ff --0xffed09ff --0xffba00ff
   292 		tCol = 0xffee00ff
   293 		tValue = TimeLeft
   293 		tValue = TimeLeft
   294 	elseif i == 1 then
   294 	elseif i == 1 then
   295 		zoomL = 1.1
   295 		zoomL = 1.1
   296 		yOffset = 70
   296 		yOffset = 70
   297 		tCol = wepCol[0]
   297 		tCol = wepCol[0]
   384 
   384 
   385 	if (dist < 1600) and (GetGearType(gear) == gtCase) then
   385 	if (dist < 1600) and (GetGearType(gear) == gtCase) then
   386 
   386 
   387 		if band(GetGearPos(gear), 0x4) ~= 0 then
   387 		if band(GetGearPos(gear), 0x4) ~= 0 then
   388 
   388 
   389 			AddCaption(string.format(loc("+%d seconds!"), bonusTime), 0xffba00ff, capgrpMessage2 )
   389 			AddCaption(string.format(loc("+%d seconds!"), bonusTime), 0xffee00ff, capgrpMessage2 )
   390 
   390 
   391 			TimeLeft = TimeLeft + bonusTime
   391 			TimeLeft = TimeLeft + bonusTime
   392 			DrawTag(0)
   392 			DrawTag(0)
   393 			PlaySound(sndExtraTime)
   393 			PlaySound(sndExtraTime)
   394 		elseif band(GetGearPos(gear), 0x1) ~= 0 then
   394 		elseif band(GetGearPos(gear), 0x1) ~= 0 then