Added preliminary piracy support

Untested.  By default, piracy is created in period 100.