Ticket #75 (closed enhancement: fixed)
|Reported by:||knowknowledge||Owned by:|
The player should be able to accept missions from the planets that they land on.
The Missions should be implemented at least partially in Lua. They would need at least some C inspection capabilities so that unfinished missions could be saved and restored at a later date.
Example missions could include:
1) Transport this cargo to planet A.
2) Find and rescue ship B.
3) Protect ship C on it's way to planet D.
4) Find and destroy ship E.
I suggest modeling the Missions similarly to the AI StateMachines?. That is, one Lua Table per mission type and C++ objects that store strings describing which Lua Mission Table to use. Unlike the AI StateMachines?, the particulars of the Mission would need to be stored on the C++ side, rather than Lua global values.