pioneerspacesim/pioneer — Issue #1055: Move police to Lua
Author: Brianetta
Created: 2012-03-08 00:19:34+00:00
State: open
Labels: Feature request

Police function should be performed in Lua. Requires a few additional API calls:

1. Spawn and launch a ship
- even if the landing bays are all full. For orbitals, just spit the spawned ship out of the door. For surface stations, launch from somewhere other than a landing pad.
- #526 could be used in combination with a ship delete function to temporarily free up a bay for launches.
2. Land and delete a ship
- Again, even if all the bays are full. This would be handy for removing other ships from time to time, too.
3. An event handler for paying a fine (so that the police can be called off).
- Actually, fines and definition of crimes should all be under Lua control, and perhaps #770 could be used with the station as the target to pay fines. Then the station would call off the hounds.