[Change] Randomised mission names a bit.

This commit is contained in:
Allanis 2013-04-06 14:58:15 +01:00
parent 91cce3c8c6
commit 9cebbe7f7a

View File

@ -12,8 +12,17 @@ function create()
end
-- Missions generic.
misn_type = "Rush"
misn.setTitle("Rush Delivery to " .. planet)
misn_type = "Cargo"
i = rnd.int(0, 3)
if i == 0 then
misn.setTitle("Cargo Delivery to " .. planet)
elseif i == 1 then
misn.setTitle("Freight delivery to " .. planet)
elseif i == 2 then
misn.setTitle("Transport to " .. planet)
elseif i == 3 then
misn.setTitle("Delivery to " .. planet)
end
-- More mission specifics.
carg_mass = rnd.int(10, 30)