9 Commits

Author SHA1 Message Date
cim
13b7c1afff Add station.allegiance (allegiance shipdata) property
Adjust AIs to avoid hostile stations
Adjust pirate AI to not rob the same target twice in a row
2013-08-16 21:44:27 +01:00
cim
b00b1bb550 First go at pirateFreighter/Fighter AIs
Fix bug with launching ships with escorts, tidy up functions
New: ship.notifyGroupOfWormhole()
Introduce AI template blocks to compact AI writing even further.
2013-08-09 13:09:54 +01:00
cim
14d4bb555a Adjust AIs
traderAI for courier and smuggler variants
bountyHunterAI to limit patrol length
2013-08-08 16:00:20 +01:00
cim
1bc115810a Adjust some odds usage 2013-08-05 15:42:26 +01:00
cim
cda41d73eb Redo JSAI comms methodology
Now much more possible for OXPs to add more comms messages.
Priority system to allow occasional messages on particular topics without overwhelming the comms with constant updates.

Also, fix my text editor using 2 tabs as the indent level for JS...
2013-08-01 22:40:23 +01:00
cim
a7eb0bf1bf JSAI: cleanup
Rename a couple of inconsistent methods
Make the AILib object use private and prototype functions for efficiency
Start reorganising the AILib file to make it easier to edit in future
2013-07-26 18:52:11 +01:00
cim
3e9f6741e7 Make a start on pirate AI (doesn't work yet) 2013-07-14 23:11:25 +01:00
cim
b8da00024b Allow trader AI to make distress calls
JS-sourced distress calls don't automatically dump cargo or flee
2013-07-14 21:28:19 +01:00
cim
34ce5ed934 Add trader AI, more updates to AI library
ship.dumpCargo can now take optional number of items to dump (not for player ship)
2013-07-14 19:02:16 +01:00