share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
changeset 12031 0b0578c25470
parent 12030 0d8c4e4ead8a
child 12032 7339122bad35
equal deleted inserted replaced
12030:0d8c4e4ead8a 12031:0b0578c25470
  2981 			-- update display selection criteria
  2981 			-- update display selection criteria
  2982 			if (curWep == amGirder) or (curWep == amRubber) or (curWep == amAirAttack) then
  2982 			if (curWep == amGirder) or (curWep == amRubber) or (curWep == amAirAttack) then
  2983 				AddCaption(cat[cIndex],0xffba00ff,capgrpMessage)
  2983 				AddCaption(cat[cIndex],0xffba00ff,capgrpMessage)
  2984 				showSecondaryMessage()
  2984 				showSecondaryMessage()
  2985 				if superDelete == true then
  2985 				if superDelete == true then
  2986 					AddCaption(loc("Warning: Deletition Mode Active"),0xffba00ff,capgrpAmmoinfo)
  2986 					AddCaption(loc("Deletition Mode"),0xffba00ff,capgrpAmmoinfo)
  2987 				end
  2987 				end
  2988 			end
  2988 			end
  2989 
  2989 
  2990 
  2990 
  2991 			if sSprite ~= nil then
  2991 			if sSprite ~= nil then
  3201 			end
  3201 			end
  3202 		end
  3202 		end
  3203 
  3203 
  3204 	elseif (cat[cIndex] == loc("Sprite Placement Mode")) or (cat[cIndex] == loc("Girder Placement Mode")) or (cat[cIndex] == loc("Rubber Placement Mode")) or (cat[cIndex] == loc("Sprite Modification Mode")) then
  3204 	elseif (cat[cIndex] == loc("Sprite Placement Mode")) or (cat[cIndex] == loc("Girder Placement Mode")) or (cat[cIndex] == loc("Rubber Placement Mode")) or (cat[cIndex] == loc("Sprite Modification Mode")) then
  3205 
  3205 
  3206 		if (cat[cIndex] == loc("Rubber Placement Mode")) and (s ~= 5) then
  3206 		if (cat[cIndex] == loc("Rubber Placement Mode")) then
  3207 			landType = lfBouncy
  3207 			if s == 1 then
  3208 			AddCaption(loc("Bouncy Land"),0xffba00ff,capgrpAmmoinfo)
  3208 				landType = lfBouncy
       
  3209 				AddCaption(loc("Bouncy Land"),0xffba00ff,capgrpAmmoinfo)
       
  3210 			elseif s == 5 then
       
  3211 				superDelete = true
       
  3212 			end
  3209 		elseif s == 1 then
  3213 		elseif s == 1 then
  3210 			landType = 0
  3214 			landType = 0
  3211 			AddCaption(loc("Normal Land"),0xffba00ff,capgrpAmmoinfo)
  3215 			AddCaption(loc("Normal Land"),0xffba00ff,capgrpAmmoinfo)
  3212 		elseif s == 2 then
  3216 		elseif s == 2 then
  3213 			landType = lfIndestructible
  3217 			landType = lfIndestructible