share/hedgewars/Data/Scripts/SimpleMission.lua
changeset 13059 2f21d92eae27
parent 13057 8b44518d1002
child 13061 8d2087c85b8d
equal deleted inserted replaced
13058:004f4f7dc9d4 13059:2f21d92eae27
   252 	end
   252 	end
   253 	if params.missionIcon == nil then
   253 	if params.missionIcon == nil then
   254 		params.missionIcon = 1 -- target icon
   254 		params.missionIcon = 1 -- target icon
   255 	end
   255 	end
   256 	if params.goalText == nil then
   256 	if params.goalText == nil then
   257 		params.goalText = loc("Defeat the enemy!")
   257 		params.goalText = loc("Eliminate the enemy.")
   258 	end
   258 	end
   259 	if params.customGoalCheck == nil and (params.customGoals ~= nil or params.customNonGoals ~= nil) then
   259 	if params.customGoalCheck == nil and (params.customGoals ~= nil or params.customNonGoals ~= nil) then
   260 		params.customGoalCheck = "instant"
   260 		params.customGoalCheck = "instant"
   261 	end
   261 	end
   262 
   262