40 Commits

Author SHA1 Message Date
cim
271b8b85c0 selfDestructAbandonedShip AI parameter should have _flag prefix 2013-12-31 18:29:51 +00:00
cim
22fca4c705 Allow a function to be passed as a comms parameter, for more advanced work 2013-12-31 17:42:31 +00:00
cim
65f3e2e197 Stop trying to scoop derelicts: closes #72 2013-12-23 23:13:10 +00:00
cim
cff7ee1dd0 Merge branch 'tutorial-scenario': lesson 6 2013-12-18 12:44:29 +00:00
cim
9d37b1ca14 Add tutorial lesson 6: combat practice.
Also tweak a few earlier stages very slightly, and add optional 'delay' parameter to priority setting in AIs.
2013-12-18 12:42:04 +00:00
cim
a570fbadfc Fix bug where stations would ignore attacks 2013-12-17 22:06:12 +00:00
cim
0d66f33809 Make attacks on cargo, buoys, etc. less likely 2013-12-12 20:56:39 +00:00
cim
609339826c Fix AI error 2013-12-12 20:17:58 +00:00
cim
91ff0c6647 Fix witchspace entry error for assassins 2013-12-01 12:36:32 +00:00
cim
3fd5ad89b1 Adjust combat odds calculation for bigger fights 2013-11-29 21:06:29 +00:00
cim
694268c95f Fix typo causing errors in comms sending 2013-11-29 18:46:45 +00:00
cim
c1c28ae749 Adjust comms messages to distinguish attack messages a bit 2013-11-28 21:54:00 +00:00
cim
1dd51a6adf Correctly unset wormhole record in ship AIs 2013-11-28 21:00:51 +00:00
cim
2fe4c4318c Fix some interstellar space bugs in AI 2013-11-18 18:04:12 +00:00
cim
1ac5406f07 Set allegiance for stations rather than relying on automatic calc.
Rock hermits allegiance varies (consistently per hermit) per system.
2013-11-03 13:36:23 +00:00
cim
42128d6ff2 Police lights now used in combat again 2013-10-24 21:09:57 +01:00
cim
90a2b906aa Correct speed test for carriers slow enough to take shuttles. 2013-10-14 21:08:55 +01:00
cim
1945574fb1 Police protection should extend to escape capsules 2013-10-06 17:01:15 +01:00
cim
91309ed90f Fix places where ship scanner_range not used.
Large scanner ranges will still have odd effects because of how checkScanner works, but it should be okay used sparingly.
2013-10-03 20:50:46 +01:00
cim
84d6e28541 Police reactions to suspicious characters
Fix a few bugs
2013-09-19 18:45:25 +01:00
cim
37a0644d1c Make assassins clean (so they can hang around stations)
...but make the behaviour of police when they spot a clean vs clean fight be a little more dependent on the reputation of the combatants.
2013-09-18 21:14:16 +01:00
cim
eb7c006230 Risk levels for passenger contracts 2013-09-17 21:24:23 +01:00
cim
f155222ee2 Add assassin-player role.
Adjust cargo demands for player pirate and NPC pirates a little.
A few other minor adjustments.
2013-09-16 21:27:13 +01:00
cim
c19476ac8e Various adjustments and bugfixes to assassination, parcel contracts 2013-09-15 16:00:26 +01:00
cim
4c733916f2 Variable risk parcel contracts; fix a few bugs elsewhere
Pricing, assassin effects, availability, etc. will need rebalancing
2013-09-14 22:41:27 +01:00
cim
661af5d9ef Basic comms message for assassins 2013-09-14 17:39:37 +01:00
cim
86505d4356 Initial implementation of assassin NPCs 2013-09-14 13:50:49 +01:00
cim
4c6f352736 Allow autospread for missiles (but not the default missiles) 2013-09-13 18:54:14 +01:00
cim
218253d7b0 Some more friendly fire considerations 2013-09-11 18:29:08 +01:00
cim
f51d9a0dac Fix bugs in trader[-smuggler] player role assignment, and tidy up a bit 2013-09-09 20:55:48 +01:00
cim
a3acea0ab3 Now roles are working, pirates can just check if ship can carry cargo, not if it does. 2013-09-08 21:23:00 +01:00
cim
f97bdb7667 Use roles for pirate victims, pirate enemies, friendly fire checks 2013-09-08 17:20:28 +01:00
cim
1bcee4b7b7 Police ships anti-theft mechanism; traders have slightly better combat response 2013-09-05 20:12:41 +01:00
cim
35da08ae64 ship.damageAssessment() to check damage levels (will do more when NPCs can be damaged)
Also: adjust independent pirate role odds to be more towards small ships, and adjust missile loads of ships to reflect prior action or high value
2013-09-04 22:25:54 +01:00
cim
59a906b992 Improve trader response to piracy. 2013-09-02 22:23:06 +01:00
cim
a2334ba5f4 Add basic aegis raiders, some bug fixes in station/defense ship AI 2013-09-01 19:25:45 +01:00
cim
ce8c9b5b10 Remove debug lines 2013-08-31 21:16:25 +01:00
cim
a710d2f746 End patrols when supplies are low. Pirate interceptors will avoid fights then. 2013-08-31 19:33:56 +01:00
cim
fd5fcfeeb3 Search for wormholes if insufficient fuel to leave a bad system 2013-08-31 18:07:17 +01:00
cim
90cab901ee As suggested, give AI object a more accurate name 2013-08-31 16:21:07 +01:00