[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 end
-- Missions generic. -- Missions generic.
misn_type = "Rush" misn_type = "Cargo"
misn.setTitle("Rush Delivery to " .. planet) 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. -- More mission specifics.
carg_mass = rnd.int(10, 30) carg_mass = rnd.int(10, 30)